Home
last modified time | relevance | path

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

/frameworks/av/camera/tests/
DCameraBinderTests.cpp486 sp<IGraphicBufferConsumer> gbConsumer; in TEST_F() local
487 BufferQueue::createBufferQueue(&gbProducer, &gbConsumer); in TEST_F()
488 sp<BufferItemConsumer> opaqueConsumer = new BufferItemConsumer(gbConsumer, in TEST_F()
494 EXPECT_EQ(OK, gbConsumer->setDefaultBufferSize(640, 480)); in TEST_F()
495 EXPECT_EQ(OK, gbConsumer->setDefaultBufferFormat(HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED)); in TEST_F()
635 sp<IGraphicBufferConsumer> gbConsumer; in TEST_F() local
636 BufferQueue::createBufferQueue(&gbProducer, &gbConsumer); in TEST_F()
/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp376 sp<IGraphicBufferConsumer> gbConsumer; in ImageReader_init() local
377 BufferQueue::createBufferQueue(&gbProducer, &gbConsumer); in ImageReader_init()
385 bufferConsumer = new BufferItemConsumer(gbConsumer, consumerUsage, maxImages, in ImageReader_init()
395 gbConsumer->setConsumerIsProtected(true); in ImageReader_init()
/frameworks/av/media/ndk/
DNdkImageReader.cpp288 sp<IGraphicBufferConsumer> gbConsumer; in init() local
289 BufferQueue::createBufferQueue(&gbProducer, &gbConsumer); in init()
296 new BufferItemConsumer(gbConsumer, mHalUsage, mMaxImages, /*controlledByApp*/ true); in init()
324 gbConsumer->setConsumerIsProtected(true); in init()