Searched defs:bufferProducer (Results 1 - 25 of 36) sorted by relevance

12

/frameworks/av/include/media/stagefright/
H A DBufferProducerWrapper.h31 const sp<IGraphicBufferProducer>& bufferProducer) :
32 mBufferProducer(bufferProducer) { }
30 BufferProducerWrapper( const sp<IGraphicBufferProducer>& bufferProducer) argument
/frameworks/av/media/libmedia/
H A DIRemoteDisplayClient.cpp40 void onDisplayConnected(const sp<IGraphicBufferProducer>& bufferProducer, argument
45 data.writeStrongBinder(bufferProducer->asBinder());
H A DIMediaPlayer.cpp124 status_t setVideoSurfaceTexture(const sp<IGraphicBufferProducer>& bufferProducer) argument
128 sp<IBinder> b(bufferProducer->asBinder());
401 sp<IGraphicBufferProducer> bufferProducer = local
403 reply->writeInt32(setVideoSurfaceTexture(bufferProducer));
H A DIOMX.cpp306 sp<IGraphicBufferProducer> *bufferProducer) {
323 *bufferProducer = IGraphicBufferProducer::asInterface(
771 sp<IGraphicBufferProducer> bufferProducer; local
773 &bufferProducer);
778 reply->writeStrongBinder(bufferProducer->asBinder());
304 createInputSurface( node_id node, OMX_U32 port_index, sp<IGraphicBufferProducer> *bufferProducer) argument
H A Dmediaplayer.cpp232 const sp<IGraphicBufferProducer>& bufferProducer)
237 return mPlayer->setVideoSurfaceTexture(bufferProducer);
231 setVideoSurfaceTexture( const sp<IGraphicBufferProducer>& bufferProducer) argument
/frameworks/av/camera/
H A DCamera.cpp129 status_t Camera::setPreviewTarget(const sp<IGraphicBufferProducer>& bufferProducer) argument
131 ALOGV("setPreviewTarget(%p)", bufferProducer.get());
134 ALOGD_IF(bufferProducer == 0, "app passed NULL surface");
135 return c->setPreviewTarget(bufferProducer);
H A DIProCameraUser.cpp143 const sp<IGraphicBufferProducer>& bufferProducer,
153 sp<IBinder> b(bufferProducer->asBinder());
142 createStream(int width, int height, int format, const sp<IGraphicBufferProducer>& bufferProducer, int* streamId) argument
H A DProCamera.cpp202 const sp<IGraphicBufferProducer>& bufferProducer,
210 if (bufferProducer == 0) {
215 status_t stat = c->createStream(width, height, format, bufferProducer,
201 createStream(int width, int height, int format, const sp<IGraphicBufferProducer>& bufferProducer, int* streamId) argument
H A DICamera.cpp73 status_t setPreviewTarget(const sp<IGraphicBufferProducer>& bufferProducer) argument
78 sp<IBinder> b(bufferProducer->asBinder());
/frameworks/av/camera/camera2/
H A DICameraDeviceUser.cpp212 const sp<IGraphicBufferProducer>& bufferProducer)
220 data.writeInt32(1); // marker that bufferProducer is not null
222 sp<IBinder> b(bufferProducer->asBinder());
211 createStream(int width, int height, int format, const sp<IGraphicBufferProducer>& bufferProducer) argument
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp68 status_t SimplePlayer::setSurface(const sp<IGraphicBufferProducer> &bufferProducer) { argument
72 if (bufferProducer != NULL) {
73 surface = new Surface(bufferProducer);
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightPlayer.cpp75 const sp<IGraphicBufferProducer> &bufferProducer) {
78 return mPlayer->setSurfaceTexture(bufferProducer);
74 setVideoSurfaceTexture( const sp<IGraphicBufferProducer> &bufferProducer) argument
/frameworks/av/services/camera/libcameraservice/api_pro/
H A DProCamera2Client.cpp258 const sp<IGraphicBufferProducer>& bufferProducer,
278 if (bufferProducer != 0) {
279 binder = bufferProducer->asBinder();
280 window = new Surface(bufferProducer);
257 createStream(int width, int height, int format, const sp<IGraphicBufferProducer>& bufferProducer, int* streamId) argument
/frameworks/base/core/jni/
H A Dandroid_media_RemoteDisplay.cpp64 virtual void onDisplayConnected(const sp<IGraphicBufferProducer>& bufferProducer, argument
68 jobject surfaceObj = android_view_Surface_createFromIGraphicBufferProducer(env, bufferProducer);
71 bufferProducer.get());
H A Dandroid_view_Surface.cpp108 const sp<IGraphicBufferProducer>& bufferProducer) {
109 if (bufferProducer == NULL) {
113 sp<Surface> surface(new Surface(bufferProducer, true));
107 android_view_Surface_createFromIGraphicBufferProducer(JNIEnv* env, const sp<IGraphicBufferProducer>& bufferProducer) argument
/frameworks/base/media/tests/players/
H A Dinvoke_mock_media_player.cpp74 const sp<IGraphicBufferProducer>& bufferProducer) {return OK;}
73 setVideoSurfaceTexture( const sp<IGraphicBufferProducer>& bufferProducer) argument
/frameworks/native/libs/gui/
H A DISurfaceComposer.cpp129 const sp<IGraphicBufferProducer>& bufferProducer) const
140 err = data.writeStrongBinder(bufferProducer->asBinder());
372 sp<IGraphicBufferProducer> bufferProducer = local
374 int32_t result = authenticateSurfaceTexture(bufferProducer) ? 1 : 0;
/frameworks/wilhelm/src/android/
H A Dandroid_GenericMediaPlayer.cpp299 void GenericMediaPlayer::setVideoSurfaceTexture(const sp<IGraphicBufferProducer> &bufferProducer) { argument
302 if (mVideoSurfaceTexture.get() == bufferProducer.get()) {
306 mPlayer->setVideoSurfaceTexture(bufferProducer);
308 mVideoSurfaceTexture = bufferProducer;
H A Dandroid_GenericPlayer.h81 virtual void setVideoSurfaceTexture(const sp<IGraphicBufferProducer> &bufferProducer) {} argument
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDriver.cpp139 const sp<IGraphicBufferProducer> &bufferProducer) {
158 mPlayer->setVideoSurfaceTextureAsync(bufferProducer);
138 setVideoSurfaceTexture( const sp<IGraphicBufferProducer> &bufferProducer) argument
/frameworks/av/media/libstagefright/
H A DOMXClient.cpp105 sp<IGraphicBufferProducer> *bufferProducer);
337 sp<IGraphicBufferProducer> *bufferProducer) {
339 node, port_index, bufferProducer);
335 createInputSurface( node_id node, OMX_U32 port_index, sp<IGraphicBufferProducer> *bufferProducer) argument
/frameworks/base/media/jni/
H A Dandroid_media_MediaRecorder.cpp360 sp<IGraphicBufferProducer> bufferProducer = mr->querySurfaceMediaSourceFromMediaServer(); local
361 if (bufferProducer == NULL) {
371 bufferProducer);
/frameworks/av/cmds/screenrecord/
H A Dscreenrecord.cpp184 sp<IGraphicBufferProducer> bufferProducer; local
185 err = codec->createInputSurface(&bufferProducer);
203 *pBufferProducer = bufferProducer;
289 const sp<IGraphicBufferProducer>& bufferProducer,
295 SurfaceComposerClient::setDisplaySurface(dpy, bufferProducer);
608 sp<IGraphicBufferProducer> bufferProducer; local
613 err = overlay->start(encoderInputSurface, &bufferProducer);
623 bufferProducer = encoderInputSurface;
628 err = prepareVirtualDisplay(mainDpyInfo, bufferProducer, &dpy);
288 prepareVirtualDisplay(const DisplayInfo& mainDpyInfo, const sp<IGraphicBufferProducer>& bufferProducer, sp<IBinder>* pDisplayHandle) argument
/frameworks/av/media/libstagefright/omx/
H A DOMX.cpp375 sp<IGraphicBufferProducer> *bufferProducer) {
377 port_index, bufferProducer);
373 createInputSurface( node_id node, OMX_U32 port_index, sp<IGraphicBufferProducer> *bufferProducer) argument
/frameworks/av/services/camera/libcameraservice/api1/
H A DCameraClient.cpp324 const sp<IGraphicBufferProducer>& bufferProducer) {
325 LOG1("setPreviewTarget(%p) (pid %d)", bufferProducer.get(),
330 if (bufferProducer != 0) {
331 binder = bufferProducer->asBinder();
335 window = new Surface(bufferProducer, /*controlledByApp*/ true);
323 setPreviewTarget( const sp<IGraphicBufferProducer>& bufferProducer) argument

Completed in 2227 milliseconds

12