Home
last modified time | relevance | path

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

/frameworks/av/camera/tests/
DCameraBinderTests.cpp475 sp<IGraphicBufferConsumer> gbConsumer; in TEST_F() local
476 BufferQueue::createBufferQueue(&gbProducer, &gbConsumer); in TEST_F()
477 sp<BufferItemConsumer> opaqueConsumer = new BufferItemConsumer(gbConsumer, in TEST_F()
483 EXPECT_EQ(OK, gbConsumer->setDefaultBufferSize(640, 480)); in TEST_F()
484 EXPECT_EQ(OK, gbConsumer->setDefaultBufferFormat(HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED)); in TEST_F()
624 sp<IGraphicBufferConsumer> gbConsumer; in TEST_F() local
625 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.cpp283 sp<IGraphicBufferConsumer> gbConsumer; in init() local
284 BufferQueue::createBufferQueue(&gbProducer, &gbConsumer); in init()
291 new BufferItemConsumer(gbConsumer, mHalUsage, mMaxImages, /*controlledByApp*/ true); in init()
319 gbConsumer->setConsumerIsProtected(true); in init()