Searched refs:gbConsumer (Results 1 – 4 of 4) sorted by relevance
/frameworks/av/camera/tests/ |
D | CameraBinderTests.cpp | 495 sp<IGraphicBufferConsumer> gbConsumer; in TEST_F() local 496 BufferQueue::createBufferQueue(&gbProducer, &gbConsumer); in TEST_F() 497 sp<BufferItemConsumer> opaqueConsumer = new BufferItemConsumer(gbConsumer, in TEST_F() 503 EXPECT_EQ(OK, gbConsumer->setDefaultBufferSize(640, 480)); in TEST_F() 504 EXPECT_EQ(OK, gbConsumer->setDefaultBufferFormat(HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED)); in TEST_F() 647 sp<IGraphicBufferConsumer> gbConsumer; in TEST_F() local 648 BufferQueue::createBufferQueue(&gbProducer, &gbConsumer); in TEST_F()
|
/frameworks/av/services/camera/libcameraservice/libcameraservice_fuzzer/ |
D | camera_service_fuzzer.cpp | 537 sp<IGraphicBufferConsumer> gbConsumer; in process() local 538 BufferQueue::createBufferQueue(&gbProducer, &gbConsumer); in process() 539 sp<BufferItemConsumer> opaqueConsumer = new BufferItemConsumer(gbConsumer, in process() 544 gbConsumer->setDefaultBufferSize(640, 480); in process() 545 gbConsumer->setDefaultBufferFormat(HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED); in process()
|
/frameworks/av/media/ndk/ |
D | NdkImageReader.cpp | 289 sp<IGraphicBufferConsumer> gbConsumer; in init() local 290 BufferQueue::createBufferQueue(&gbProducer, &gbConsumer); in init() 297 new BufferItemConsumer(gbConsumer, mHalUsage, mMaxImages, /*controlledByApp*/ true); in init() 325 gbConsumer->setConsumerIsProtected(true); in init()
|
/frameworks/base/media/jni/ |
D | android_media_ImageReader.cpp | 391 sp<IGraphicBufferConsumer> gbConsumer; in ImageReader_init() local 392 BufferQueue::createBufferQueue(&gbProducer, &gbConsumer); in ImageReader_init() 400 bufferConsumer = new BufferItemConsumer(gbConsumer, consumerUsage, maxImages, in ImageReader_init() 410 gbConsumer->setConsumerIsProtected(true); in ImageReader_init()
|