/frameworks/native/libs/gui/tests/ |
D | Surface_test.cpp | 95 sp<IGraphicBufferConsumer> consumer; in TEST_F() local 96 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F() 97 sp<CpuConsumer> cpuConsumer = new CpuConsumer(consumer, 1); in TEST_F() 145 sp<IGraphicBufferConsumer> consumer; in TEST_F() local 146 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F() 147 sp<BufferItemConsumer> c = new BufferItemConsumer(consumer, in TEST_F() 163 sp<IGraphicBufferConsumer> consumer; in TEST_F() local 164 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F() 165 sp<CpuConsumer> cpuConsumer = new CpuConsumer(consumer, 1); in TEST_F() 184 sp<IGraphicBufferConsumer> consumer; in TEST_F() local [all …]
|
D | MultiTextureConsumer_test.cpp | 38 sp<IGraphicBufferConsumer> consumer; in SetUp() local 39 BufferQueue::createBufferQueue(&producer, &consumer); in SetUp() 40 mGlConsumer = new GLConsumer(consumer, TEX_ID, in SetUp()
|
/frameworks/av/services/camera/libcameraservice/gui/ |
D | RingBufferConsumer.h | 65 RingBufferConsumer(const sp<IGraphicBufferConsumer>& consumer, uint32_t consumerUsage, 122 PinnedBufferItem(wp<RingBufferConsumer> consumer, in PinnedBufferItem() 124 mConsumer(consumer), in PinnedBufferItem() 129 sp<RingBufferConsumer> consumer = mConsumer.promote(); in ~PinnedBufferItem() local 130 if (consumer != NULL) { in ~PinnedBufferItem() 131 consumer->unpinBuffer(mBufferItem); in ~PinnedBufferItem()
|
/frameworks/base/core/java/android/view/ |
D | SurfaceControl.java | 43 private static native void nativeScreenshot(IBinder displayToken, Surface consumer, in nativeScreenshot() argument 655 public static void screenshot(IBinder display, Surface consumer, in screenshot() argument 658 screenshot(display, consumer, new Rect(), width, height, minLayer, maxLayer, in screenshot() 672 public static void screenshot(IBinder display, Surface consumer, in screenshot() argument 674 screenshot(display, consumer, new Rect(), width, height, 0, 0, true, false); in screenshot() 683 public static void screenshot(IBinder display, Surface consumer) { in screenshot() argument 684 screenshot(display, consumer, new Rect(), 0, 0, 0, 0, true, false); in screenshot() 747 private static void screenshot(IBinder display, Surface consumer, Rect sourceCrop, in screenshot() argument 753 if (consumer == null) { in screenshot() 756 nativeScreenshot(display, consumer, sourceCrop, width, height, in screenshot()
|
/frameworks/native/libs/gui/ |
D | BufferQueue.cpp | 80 sp<IGraphicBufferConsumer> consumer(new BufferQueueConsumer(core)); in createBufferQueue() local 81 LOG_ALWAYS_FATAL_IF(consumer == NULL, in createBufferQueue() 85 *outConsumer = consumer; in createBufferQueue()
|
D | BufferItemConsumer.cpp | 34 const sp<IGraphicBufferConsumer>& consumer, uint32_t consumerUsage, in BufferItemConsumer() argument 36 ConsumerBase(consumer, controlledByApp) in BufferItemConsumer()
|
/frameworks/base/media/jni/ |
D | android_media_ImageReader.cpp | 98 void setCpuConsumer(const sp<CpuConsumer>& consumer) { mConsumer = consumer; } in setCpuConsumer() argument 101 void setOpaqueConsumer(const sp<BufferItemConsumer>& consumer) { mOpaqueConsumer = consumer; } in setOpaqueConsumer() argument 814 sp<ConsumerBase> consumer; in ImageReader_init() local 832 consumer = opaqueConsumer; in ImageReader_init() 842 consumer = cpuConsumer; in ImageReader_init() 846 consumer->setFrameAvailableListener(ctx); in ImageReader_init() 902 ConsumerBase* consumer = NULL; in ImageReader_close() local 904 consumer = ImageReader_getOpaqueConsumer(env, thiz); in ImageReader_close() 906 consumer = ImageReader_getCpuConsumer(env, thiz); in ImageReader_close() 909 if (consumer != NULL) { in ImageReader_close() [all …]
|
/frameworks/base/core/jni/android/graphics/ |
D | SurfaceTexture.cpp | 240 sp<IGraphicBufferConsumer> consumer; in SurfaceTexture_init() local 241 BufferQueue::createBufferQueue(&producer, &consumer); in SurfaceTexture_init() 244 consumer->disableAsyncBuffer(); in SurfaceTexture_init() 245 consumer->setDefaultMaxBufferCount(1); in SurfaceTexture_init() 250 surfaceTexture = new GLConsumer(consumer, GL_TEXTURE_EXTERNAL_OES, in SurfaceTexture_init() 253 surfaceTexture = new GLConsumer(consumer, texName, in SurfaceTexture_init()
|
/frameworks/av/media/libstagefright/omx/ |
D | GraphicBufferSource.cpp | 43 const wp<IGraphicBufferConsumer> &consumer, in PersistentProxyListener() argument 46 mConsumer(consumer) {} in PersistentProxyListener() 56 sp<IGraphicBufferConsumer> consumer(mConsumer.promote()); in onFrameAvailable() local 57 if (consumer == NULL) { in onFrameAvailable() 61 status_t err = consumer->acquireBuffer(&bi, 0); in onFrameAvailable() 67 err = consumer->detachBuffer(bi.mBuf); in onFrameAvailable() 73 err = consumer->attachBuffer(&bi.mBuf, bi.mGraphicBuffer); in onFrameAvailable() 79 err = consumer->releaseBuffer(bi.mBuf, 0, in onFrameAvailable() 115 const sp<IGraphicBufferConsumer> &consumer) : in GraphicBufferSource() argument 121 mConsumer(consumer), in GraphicBufferSource()
|
D | GraphicBufferSource.h | 59 const sp<IGraphicBufferConsumer> &consumer = NULL 174 const wp<IGraphicBufferConsumer> &consumer,
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlingerConsumer.h | 37 SurfaceFlingerConsumer(const sp<IGraphicBufferConsumer>& consumer, in SurfaceFlingerConsumer() argument 39 : GLConsumer(consumer, tex, GLConsumer::TEXTURE_EXTERNAL, false, false), in SurfaceFlingerConsumer()
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3OutputStream.h | 41 Camera3OutputStream(int id, sp<Surface> consumer, 49 Camera3OutputStream(int id, sp<Surface> consumer,
|
D | Camera3InputStream.cpp | 225 sp<IGraphicBufferConsumer> consumer; in configureQueueLocked() local 226 BufferQueue::createBufferQueue(&producer, &consumer); in configureQueueLocked() 256 mConsumer = new BufferItemConsumer(consumer, camera3_stream::usage, in configureQueueLocked()
|
D | Camera3OutputStream.cpp | 35 sp<Surface> consumer, in Camera3OutputStream() argument 40 mConsumer(consumer), in Camera3OutputStream() 51 sp<Surface> consumer, in Camera3OutputStream() argument 56 mConsumer(consumer), in Camera3OutputStream()
|
D | Camera3ZslStream.cpp | 122 sp<IGraphicBufferConsumer> consumer; in Camera3ZslStream() local 123 BufferQueue::createBufferQueue(&producer, &consumer); in Camera3ZslStream() 124 mProducer = new RingBufferConsumer(consumer, GRALLOC_USAGE_HW_CAMERA_ZSL, bufferCount); in Camera3ZslStream()
|
/frameworks/native/opengl/tests/EGLTest/ |
D | EGL_test.cpp | 111 sp<IGraphicBufferConsumer> consumer; in TEST_F() local 112 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F() 113 consumer->consumerConnect(new DummyConsumer, false); in TEST_F()
|
/frameworks/av/cmds/screenrecord/ |
D | FrameOutput.cpp | 71 sp<IGraphicBufferConsumer> consumer; in createInputSurface() local 72 BufferQueue::createBufferQueue(&producer, &consumer); in createInputSurface() 73 mGlConsumer = new GLConsumer(consumer, mExtTextureName, in createInputSurface()
|
D | Overlay.cpp | 173 sp<IGraphicBufferConsumer> consumer; in setup_l() local 174 BufferQueue::createBufferQueue(&mProducer, &consumer); in setup_l() 175 mGlConsumer = new GLConsumer(consumer, mExtTextureName, in setup_l()
|
/frameworks/native/include/gui/ |
D | BufferQueueConsumer.h | 164 virtual status_t consumerConnect(const sp<IConsumerListener>& consumer, in consumerConnect() argument 166 return connect(consumer, controlledByApp); in consumerConnect()
|
D | BufferItemConsumer.h | 55 BufferItemConsumer(const sp<IGraphicBufferConsumer>& consumer,
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | FramebufferSurface.cpp | 55 const sp<IGraphicBufferConsumer>& consumer) : in FramebufferSurface() argument 56 ConsumerBase(consumer), in FramebufferSurface()
|
/frameworks/av/include/media/stagefright/ |
D | MediaCodecSource.h | 45 const sp<IGraphicBufferConsumer> &consumer = NULL, 84 const sp<IGraphicBufferConsumer> &consumer,
|
/frameworks/native/services/surfaceflinger/tests/ |
D | Transaction_test.cpp | 59 sp<IGraphicBufferConsumer> consumer; in captureScreen() local 60 BufferQueue::createBufferQueue(&producer, &consumer); in captureScreen() 62 sp<CpuConsumer> cpuConsumer = new CpuConsumer(consumer, 1); in captureScreen()
|
/frameworks/base/media/mca/filterfw/native/core/ |
D | gl_env.cpp | 166 sp<IGraphicBufferConsumer> consumer; in InitWithNewContext() local 167 BufferQueue::createBufferQueue(&producer, &consumer); in InitWithNewContext() 168 surfaceTexture_ = new GLConsumer(consumer, 0, GLConsumer::TEXTURE_EXTERNAL, in InitWithNewContext()
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | JpegProcessor.cpp | 86 sp<IGraphicBufferConsumer> consumer; in updateStream() local 87 BufferQueue::createBufferQueue(&producer, &consumer); in updateStream() 88 mCaptureConsumer = new CpuConsumer(consumer, 1); in updateStream()
|