Home
last modified time | relevance | path

Searched refs:gbConsumer (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/camera/tests/
DCameraBinderTests.cpp495 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/
Dcamera_service_fuzzer.cpp537 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/
DNdkImageReader.cpp289 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/
Dandroid_media_ImageReader.cpp391 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()