Home
last modified time | relevance | path

Searched refs:bufferProducer (Results 1 – 25 of 66) sorted by relevance

123

/frameworks/av/media/libstagefright/include/media/stagefright/
DBufferProducerWrapper.h32 const sp<IGraphicBufferProducer>& bufferProducer) : in BufferProducerWrapper()
33 mBufferProducer(bufferProducer) { } in BufferProducerWrapper()
DPersistentSurface.h32 const sp<IGraphicBufferProducer>& bufferProducer, in PersistentSurface()
34 mBufferProducer(bufferProducer), in PersistentSurface()
/frameworks/base/media/jni/
Dandroid_media_MediaSync.cpp64 status_t JMediaSync::setSurface(const sp<IGraphicBufferProducer> &bufferProducer) { in setSurface() argument
65 return mSync->setSurface(bufferProducer); in setSurface()
73 sp<IGraphicBufferProducer>* bufferProducer) { in createInputSurface() argument
74 return mSync->createInputSurface(bufferProducer); in createInputSurface()
180 sp<IGraphicBufferProducer> bufferProducer; in android_media_MediaSync_native_setSurface() local
184 bufferProducer = surface->getIGraphicBufferProducer(); in android_media_MediaSync_native_setSurface()
191 status_t err = sync->setSurface(bufferProducer); in android_media_MediaSync_native_setSurface()
245 sp<IGraphicBufferProducer> bufferProducer; in android_media_MediaSync_createInputSurface() local
246 status_t err = sync->createInputSurface(&bufferProducer); in android_media_MediaSync_createInputSurface()
254 bufferProducer); in android_media_MediaSync_createInputSurface()
Dandroid_media_MediaSync.h36 status_t setSurface(const sp<IGraphicBufferProducer> &bufferProducer);
39 status_t createInputSurface(sp<IGraphicBufferProducer>* bufferProducer);
Dandroid_media_MediaCodec.cpp274 const sp<IGraphicBufferProducer> &bufferProducer, in configure() argument
279 if (bufferProducer != NULL) { in configure()
281 new Surface(bufferProducer, true /* controlledByApp */); in configure()
291 const sp<IGraphicBufferProducer> &bufferProducer) { in setSurface() argument
293 if (bufferProducer != NULL) { in setSurface()
294 client = new Surface(bufferProducer, true /* controlledByApp */); in setSurface()
304 sp<IGraphicBufferProducer>* bufferProducer) { in createInputSurface() argument
305 return mCodec->createInputSurface(bufferProducer); in createInputSurface()
993 sp<IGraphicBufferProducer> bufferProducer; in android_media_MediaCodec_native_configure() local
997 bufferProducer = surface->getIGraphicBufferProducer(); in android_media_MediaCodec_native_configure()
[all …]
Dandroid_media_MediaCodec.h63 const sp<IGraphicBufferProducer> &bufferProducer,
71 status_t createInputSurface(sp<IGraphicBufferProducer>* bufferProducer);
/frameworks/av/media/libmedia/omx/1.0/
DWOmx.cpp72 sp<::android::IGraphicBufferProducer>* bufferProducer, in createInputSurface() argument
76 [&fnStatus, bufferProducer, bufferSource] ( in createInputSurface()
81 *bufferProducer = new H2BGraphicBufferProducer(tProducer); in createInputSurface()
/frameworks/av/camera/
DCamera.cpp160 status_t Camera::setPreviewTarget(const sp<IGraphicBufferProducer>& bufferProducer) in setPreviewTarget() argument
162 ALOGV("setPreviewTarget(%p)", bufferProducer.get()); in setPreviewTarget()
165 ALOGD_IF(bufferProducer == 0, "app passed NULL surface"); in setPreviewTarget()
166 return c->setPreviewTarget(bufferProducer); in setPreviewTarget()
169 status_t Camera::setVideoTarget(const sp<IGraphicBufferProducer>& bufferProducer) in setVideoTarget() argument
171 ALOGV("setVideoTarget(%p)", bufferProducer.get()); in setVideoTarget()
174 ALOGD_IF(bufferProducer == 0, "app passed NULL video surface"); in setVideoTarget()
175 return c->setVideoTarget(bufferProducer); in setVideoTarget()
DICamera.cpp81 status_t setPreviewTarget(const sp<IGraphicBufferProducer>& bufferProducer) in setPreviewTarget() argument
86 sp<IBinder> b(IInterface::asBinder(bufferProducer)); in setPreviewTarget()
312 status_t setVideoTarget(const sp<IGraphicBufferProducer>& bufferProducer) in setVideoTarget() argument
317 sp<IBinder> b(IInterface::asBinder(bufferProducer)); in setVideoTarget()
/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp189 sp<IGraphicBufferProducer> bufferProducer; in prepareEncoder() local
190 err = codec->createInputSurface(&bufferProducer); in prepareEncoder()
208 *pBufferProducer = bufferProducer; in prepareEncoder()
293 const sp<IGraphicBufferProducer>& bufferProducer, in prepareVirtualDisplay() argument
299 SurfaceComposerClient::setDisplaySurface(dpy, bufferProducer); in prepareVirtualDisplay()
612 sp<IGraphicBufferProducer> bufferProducer; in recordScreen() local
617 err = overlay->start(encoderInputSurface, &bufferProducer); in recordScreen()
627 bufferProducer = encoderInputSurface; in recordScreen()
632 err = prepareVirtualDisplay(mainDpyInfo, bufferProducer, &dpy); in recordScreen()
/frameworks/av/media/libstagefright/omx/
DOMX.cpp177 sp<IGraphicBufferProducer> *bufferProducer, in createInputSurface() argument
179 if (bufferProducer == NULL || bufferSource == NULL) { in createInputSurface()
192 *bufferProducer = graphicBufferSource->getIGraphicBufferProducer(); in createInputSurface()
/frameworks/base/core/jni/
Dandroid_media_RemoteDisplay.cpp64 virtual void onDisplayConnected(const sp<IGraphicBufferProducer>& bufferProducer, in onDisplayConnected() argument
68 … jobject surfaceObj = android_view_Surface_createFromIGraphicBufferProducer(env, bufferProducer); in onDisplayConnected()
71 bufferProducer.get()); in onDisplayConnected()
/frameworks/av/camera/include/camera/android/hardware/
DICamera.h66 const sp<IGraphicBufferProducer>& bufferProducer) = 0;
142 const sp<IGraphicBufferProducer>& bufferProducer) = 0;
/frameworks/av/media/libstagefright/omx/1.0/
DOmx.cpp149 sp<::android::IGraphicBufferProducer> bufferProducer; in createInputSurface() local
160 bufferProducer = graphicBufferSource->getIGraphicBufferProducer(); in createInputSurface()
163 new TWGraphicBufferProducer(bufferProducer), in createInputSurface()
/frameworks/av/media/libmedia/
DIRemoteDisplayClient.cpp40 void onDisplayConnected(const sp<IGraphicBufferProducer>& bufferProducer, in onDisplayConnected() argument
45 data.writeStrongBinder(IInterface::asBinder(bufferProducer)); in onDisplayConnected()
/frameworks/wilhelm/src/android/
Dandroid_GenericMediaPlayer.cpp302 void GenericMediaPlayer::setVideoSurfaceTexture(const sp<IGraphicBufferProducer> &bufferProducer) { in setVideoSurfaceTexture() argument
305 if (mVideoSurfaceTexture.get() == bufferProducer.get()) { in setVideoSurfaceTexture()
309 mPlayer->setVideoSurfaceTexture(bufferProducer); in setVideoSurfaceTexture()
311 mVideoSurfaceTexture = bufferProducer; in setVideoSurfaceTexture()
/frameworks/av/media/libmedia/include/media/
DIRemoteDisplayClient.h51 virtual void onDisplayConnected(const sp<IGraphicBufferProducer>& bufferProducer,
/frameworks/av/include/media/
DIRemoteDisplayClient.h51 virtual void onDisplayConnected(const sp<IGraphicBufferProducer>& bufferProducer,
/frameworks/av/services/camera/libcameraservice/api1/
DCameraClient.h40 virtual status_t setPreviewTarget(const sp<IGraphicBufferProducer>& bufferProducer);
61 virtual status_t setVideoTarget(const sp<IGraphicBufferProducer>& bufferProducer);
DCameraClient.cpp328 const sp<IGraphicBufferProducer>& bufferProducer) { in setPreviewTarget() argument
329 LOG1("setPreviewTarget(%p) (pid %d)", bufferProducer.get(), in setPreviewTarget()
334 if (bufferProducer != 0) { in setPreviewTarget()
335 binder = IInterface::asBinder(bufferProducer); in setPreviewTarget()
339 window = new Surface(bufferProducer, /*controlledByApp*/ true); in setPreviewTarget()
1172 status_t CameraClient::setVideoTarget(const sp<IGraphicBufferProducer>& bufferProducer) { in setVideoTarget() argument
1173 (void)bufferProducer; in setVideoTarget()
DCamera2Client.h61 const sp<IGraphicBufferProducer>& bufferProducer);
85 virtual status_t setVideoTarget(const sp<IGraphicBufferProducer>& bufferProducer);
/frameworks/av/camera/include/camera/
DCamera.h98 status_t setPreviewTarget(const sp<IGraphicBufferProducer>& bufferProducer);
154 status_t setVideoTarget(const sp<IGraphicBufferProducer>& bufferProducer);
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/
DOMX.h44 sp<IGraphicBufferProducer> *bufferProducer,
/frameworks/base/core/jni/include/android_runtime/
Dandroid_view_Surface.h79 const sp<IGraphicBufferProducer>& bufferProducer);
/frameworks/native/libs/gui/
DISurfaceComposer.cpp126 const sp<IGraphicBufferProducer>& bufferProducer) const in authenticateSurfaceTexture()
137 err = data.writeStrongBinder(IInterface::asBinder(bufferProducer)); in authenticateSurfaceTexture()
494 sp<IGraphicBufferProducer> bufferProducer = in onTransact() local
496 sp<IBinder> b = IInterface::asBinder(createScopedConnection(bufferProducer)); in onTransact()
563 sp<IGraphicBufferProducer> bufferProducer = in onTransact() local
565 int32_t result = authenticateSurfaceTexture(bufferProducer) ? 1 : 0; in onTransact()

123