Home
last modified time | relevance | path

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

123

/frameworks/native/libs/bufferqueueconverter/
DBufferQueueConverter.cpp49 sp<IGraphicBufferProducer> bufferProducer = new H2BGraphicBufferProducer(token); in getSurfaceFromHGBP() local
50 if (bufferProducer == nullptr) { in getSurfaceFromHGBP()
55 sp<Surface> newSurface(new Surface(bufferProducer, true)); in getSurfaceFromHGBP()
/frameworks/av/media/libstagefright/include/media/stagefright/
DBufferProducerWrapper.h32 const sp<IGraphicBufferProducer>& bufferProducer) : in BufferProducerWrapper()
33 mBufferProducer(bufferProducer) { } in BufferProducerWrapper()
DPersistentSurface.h34 const sp<IGraphicBufferProducer>& bufferProducer, in PersistentSurface()
36 mBufferProducer(bufferProducer), in PersistentSurface()
/frameworks/av/camera/
DCamera.cpp104 status_t Camera::setPreviewTarget(const sp<IGraphicBufferProducer>& bufferProducer) in setPreviewTarget() argument
106 ALOGV("setPreviewTarget(%p)", bufferProducer.get()); in setPreviewTarget()
109 ALOGD_IF(bufferProducer == 0, "app passed NULL surface"); in setPreviewTarget()
110 return c->setPreviewTarget(bufferProducer); in setPreviewTarget()
113 status_t Camera::setVideoTarget(const sp<IGraphicBufferProducer>& bufferProducer) in setVideoTarget() argument
115 ALOGV("setVideoTarget(%p)", bufferProducer.get()); in setVideoTarget()
118 ALOGD_IF(bufferProducer == 0, "app passed NULL video surface"); in setVideoTarget()
119 return c->setVideoTarget(bufferProducer); in setVideoTarget()
DICamera.cpp83 status_t setPreviewTarget(const sp<IGraphicBufferProducer>& bufferProducer) in setPreviewTarget() argument
88 sp<IBinder> b(IInterface::asBinder(bufferProducer)); in setPreviewTarget()
329 status_t setVideoTarget(const sp<IGraphicBufferProducer>& bufferProducer) in setVideoTarget() argument
334 sp<IBinder> b(IInterface::asBinder(bufferProducer)); in setVideoTarget()
/frameworks/av/media/libmedia/omx/1.0/
DWOmx.cpp71 sp<::android::IGraphicBufferProducer>* bufferProducer, in createInputSurface() argument
75 [&fnStatus, bufferProducer, bufferSource] ( in createInputSurface()
80 *bufferProducer = new H2BGraphicBufferProducer(tProducer); in createInputSurface()
/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.h74 const sp<IGraphicBufferProducer> &bufferProducer,
82 status_t createInputSurface(sp<IGraphicBufferProducer>* bufferProducer);
/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()
Dandroid_view_Surface.cpp130 const sp<IGraphicBufferProducer>& bufferProducer) { in android_view_Surface_createFromIGraphicBufferProducer() argument
131 if (bufferProducer == NULL) { in android_view_Surface_createFromIGraphicBufferProducer()
135 sp<Surface> surface(new Surface(bufferProducer, true)); in android_view_Surface_createFromIGraphicBufferProducer()
308 const sp<IGraphicBufferProducer>& bufferProducer = queue->getIGraphicBufferProducer(); in nativeGetFromBlastBufferQueue() local
312 IInterface::asBinder(bufferProducer)) { in nativeGetFromBlastBufferQueue()
/frameworks/av/camera/include/camera/android/hardware/
DICamera.h66 const sp<IGraphicBufferProducer>& bufferProducer) = 0;
142 const sp<IGraphicBufferProducer>& bufferProducer) = 0;
/frameworks/av/media/libmedia/
DIRemoteDisplayClient.cpp40 void onDisplayConnected(const sp<IGraphicBufferProducer>& bufferProducer, in onDisplayConnected() argument
45 data.writeStrongBinder(IInterface::asBinder(bufferProducer)); in onDisplayConnected()
/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp239 sp<IGraphicBufferProducer> bufferProducer; in prepareEncoder() local
242 bufferProducer = surface->getBufferProducer(); in prepareEncoder()
245 err = codec->createInputSurface(&bufferProducer); in prepareEncoder()
266 *pBufferProducer = bufferProducer; in prepareEncoder()
343 const sp<IGraphicBufferProducer>& bufferProducer, in prepareVirtualDisplay() argument
348 t.setDisplaySurface(dpy, bufferProducer); in prepareVirtualDisplay()
842 sp<IGraphicBufferProducer> bufferProducer; in recordScreen() local
847 err = overlay->start(encoderInputSurface, &bufferProducer); in recordScreen()
858 bufferProducer = encoderInputSurface; in recordScreen()
863 err = prepareVirtualDisplay(displayState, bufferProducer, &dpy); in recordScreen()
/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()
Dandroid_GenericMediaPlayer.h92 virtual void setVideoSurfaceTexture(const sp<IGraphicBufferProducer> &bufferProducer);
Dandroid_GenericPlayer.h81 virtual void setVideoSurfaceTexture(const sp<IGraphicBufferProducer> &bufferProducer __unused) in setVideoSurfaceTexture()
/frameworks/base/core/jni/include/android_runtime/
Dandroid_view_Surface.h46 const sp<IGraphicBufferProducer>& bufferProducer);
/frameworks/av/media/libmedia/include/media/
DIRemoteDisplayClient.h51 virtual void onDisplayConnected(const sp<IGraphicBufferProducer>& bufferProducer,
/frameworks/native/libs/nativewindow/tests/
DANativeWindowTest.cpp34 explicit TestableSurface(const sp<IGraphicBufferProducer>& bufferProducer) in TestableSurface() argument
35 : Surface(bufferProducer) {} in TestableSurface()
/frameworks/av/camera/include/camera/
DCamera.h94 status_t setPreviewTarget(const sp<IGraphicBufferProducer>& bufferProducer);
150 status_t setVideoTarget(const sp<IGraphicBufferProducer>& bufferProducer);
/frameworks/base/libs/hostgraphics/gui/
DSurface.h29 explicit Surface(const sp<IGraphicBufferProducer>& bufferProducer,
/frameworks/av/media/libmedia/include/media/omx/1.0/
DWOmx.h69 sp<::android::IGraphicBufferProducer>* bufferProducer,
/frameworks/av/services/camera/libcameraservice/api1/
DCamera2Client.h61 const sp<IGraphicBufferProducer>& bufferProducer);
85 virtual status_t setVideoTarget(const sp<IGraphicBufferProducer>& bufferProducer);
/frameworks/av/cmds/stagefright/
DSimplePlayer.h36 status_t setSurface(const sp<IGraphicBufferProducer> &bufferProducer);

123