/frameworks/av/services/camera/libcameraservice/gui/ |
D | RingBufferConsumer.h | 66 RingBufferConsumer(const sp<IGraphicBufferConsumer>& consumer, uint32_t consumerUsage, 123 PinnedBufferItem(wp<RingBufferConsumer> consumer, in PinnedBufferItem() 125 mConsumer(consumer), in PinnedBufferItem() 130 sp<RingBufferConsumer> consumer = mConsumer.promote(); in ~PinnedBufferItem() local 131 if (consumer != NULL) { in ~PinnedBufferItem() 132 consumer->unpinBuffer(mBufferItem); in ~PinnedBufferItem()
|
/frameworks/av/camera/tests/ |
D | ProCameraTests.cpp | 265 const sp<CpuConsumer>& consumer) { in onFrameAvailable() argument 274 if (OK == (ret = consumer->lockNextBuffer(&buf))) { in onFrameAvailable() 280 EXPECT_OK(consumer->unlockBuffer(buf)); in onFrameAvailable() 755 sp<CpuConsumer> consumer; in TEST_F() local 757 TEST_FORMAT_DEPTH, TEST_CPU_HEAP_COUNT, &consumer, &streamId)); in TEST_F() 822 sp<CpuConsumer> consumer; in TEST_F() local 824 TEST_FORMAT_MAIN, TEST_CPU_HEAP_COUNT, &consumer, &streamId)); in TEST_F() 829 TEST_FORMAT_DEPTH, TEST_CPU_HEAP_COUNT, &consumer, &depthStreamId)); in TEST_F() 903 sp<CpuConsumer> consumer; in TEST_F() local 905 TEST_FORMAT_MAIN, TEST_CPU_HEAP_COUNT, &consumer, &streamId)); in TEST_F() [all …]
|
/frameworks/native/libs/gui/tests/ |
D | Surface_test.cpp | 93 sp<IGraphicBufferConsumer> consumer; in TEST_F() local 94 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F() 95 sp<CpuConsumer> cpuConsumer = new CpuConsumer(consumer, 1); in TEST_F() 143 sp<IGraphicBufferConsumer> consumer; in TEST_F() local 144 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F() 145 sp<BufferItemConsumer> c = new BufferItemConsumer(consumer, in TEST_F()
|
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()
|
D | SRGB_test.cpp | 72 sp<IGraphicBufferConsumer> consumer; in SetUp() local 73 BufferQueue::createBufferQueue(&producer, &consumer); in SetUp() 74 ASSERT_EQ(NO_ERROR, consumer->setDefaultBufferSize( in SetUp() 76 mCpuConsumer = new CpuConsumer(consumer, 1); in SetUp()
|
/frameworks/native/libs/gui/ |
D | BufferQueue.cpp | 71 sp<IGraphicBufferConsumer> consumer(new BufferQueueConsumer(core)); in createBufferQueue() local 72 LOG_ALWAYS_FATAL_IF(consumer == NULL, in createBufferQueue() 76 *outConsumer = consumer; in createBufferQueue()
|
D | BufferItemConsumer.cpp | 33 const sp<IGraphicBufferConsumer>& consumer, uint32_t consumerUsage, in BufferItemConsumer() argument 35 ConsumerBase(consumer, controlledByApp) in BufferItemConsumer()
|
/frameworks/base/core/java/android/view/ |
D | SurfaceControl.java | 43 private static native void nativeScreenshot(IBinder displayToken, Surface consumer, in nativeScreenshot() argument 638 public static void screenshot(IBinder display, Surface consumer, in screenshot() argument 641 screenshot(display, consumer, new Rect(), width, height, minLayer, maxLayer, in screenshot() 655 public static void screenshot(IBinder display, Surface consumer, in screenshot() argument 657 screenshot(display, consumer, new Rect(), width, height, 0, 0, true, false); in screenshot() 666 public static void screenshot(IBinder display, Surface consumer) { in screenshot() argument 667 screenshot(display, consumer, new Rect(), 0, 0, 0, 0, true, false); in screenshot() 730 private static void screenshot(IBinder display, Surface consumer, Rect sourceCrop, in screenshot() argument 736 if (consumer == null) { in screenshot() 739 nativeScreenshot(display, consumer, sourceCrop, width, height, in screenshot()
|
/frameworks/base/media/jni/ |
D | android_media_ImageReader.cpp | 89 void setCpuConsumer(const sp<CpuConsumer>& consumer) { mConsumer = consumer; } in setCpuConsumer() argument 674 sp<CpuConsumer> consumer = new CpuConsumer(gbConsumer, maxImages, in ImageReader_init() local 677 if (consumer == NULL) { in ImageReader_init() 688 ctx->setCpuConsumer(consumer); in ImageReader_init() 690 consumer->setFrameAvailableListener(ctx); in ImageReader_init() 697 res = consumer->setDefaultBufferSize(width, height); in ImageReader_init() 703 res = consumer->setDefaultBufferFormat(nativeFormat); in ImageReader_init() 720 CpuConsumer* consumer = ImageReader_getCpuConsumer(env, thiz); in ImageReader_close() local 721 if (consumer != NULL) { in ImageReader_close() 722 consumer->abandon(); in ImageReader_close() [all …]
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlingerConsumer.h | 35 SurfaceFlingerConsumer(const sp<IGraphicBufferConsumer>& consumer, in SurfaceFlingerConsumer() argument 37 : GLConsumer(consumer, tex, GLConsumer::TEXTURE_EXTERNAL, false, false), in SurfaceFlingerConsumer()
|
/frameworks/base/core/jni/android/graphics/ |
D | SurfaceTexture.cpp | 234 sp<IGraphicBufferConsumer> consumer; in SurfaceTexture_init() local 235 BufferQueue::createBufferQueue(&producer, &consumer); in SurfaceTexture_init() 238 consumer->disableAsyncBuffer(); in SurfaceTexture_init() 239 consumer->setDefaultMaxBufferCount(1); in SurfaceTexture_init() 244 surfaceTexture = new GLConsumer(consumer, GL_TEXTURE_EXTERNAL_OES, in SurfaceTexture_init() 247 surfaceTexture = new GLConsumer(consumer, texName, in SurfaceTexture_init()
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3OutputStream.h | 41 Camera3OutputStream(int id, sp<ANativeWindow> consumer, 48 Camera3OutputStream(int id, sp<ANativeWindow> consumer,
|
D | Camera3InputStream.cpp | 207 sp<IGraphicBufferConsumer> consumer; in configureQueueLocked() local 208 BufferQueue::createBufferQueue(&producer, &consumer); in configureQueueLocked() 231 mConsumer = new BufferItemConsumer(consumer, camera3_stream::usage, in configureQueueLocked()
|
D | Camera3OutputStream.cpp | 35 sp<ANativeWindow> consumer, in Camera3OutputStream() argument 39 mConsumer(consumer), in Camera3OutputStream() 50 sp<ANativeWindow> consumer, in Camera3OutputStream() argument 54 mConsumer(consumer), in Camera3OutputStream()
|
D | Camera3ZslStream.cpp | 121 sp<IGraphicBufferConsumer> consumer; in Camera3ZslStream() local 122 BufferQueue::createBufferQueue(&producer, &consumer); in Camera3ZslStream() 123 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 | 158 virtual status_t consumerConnect(const sp<IConsumerListener>& consumer, in consumerConnect() argument 160 return connect(consumer, controlledByApp); in consumerConnect()
|
D | BufferItemConsumer.h | 57 BufferItemConsumer(const sp<IGraphicBufferConsumer>& consumer,
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | FramebufferSurface.cpp | 54 const sp<IGraphicBufferConsumer>& consumer) : in FramebufferSurface() argument 55 ConsumerBase(consumer), in FramebufferSurface()
|
D | FramebufferSurface.h | 40 FramebufferSurface(HWComposer& hwc, int disp, const sp<IGraphicBufferConsumer>& consumer);
|
/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()
|
/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/camera/ |
D | ProCamera.cpp | 253 sp<IGraphicBufferConsumer> consumer; in createStreamCpu() local 254 BufferQueue::createBufferQueue(&producer, &consumer); in createStreamCpu() 255 sp<CpuConsumer> cc = new CpuConsumer(consumer, heapCount in createStreamCpu()
|