Home
last modified time | relevance | path

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

/frameworks/av/camera/tests/
DCameraBinderTests.cpp457 sp<IGraphicBufferConsumer> gbConsumer; in TEST_F() local
458 BufferQueue::createBufferQueue(&gbProducer, &gbConsumer); in TEST_F()
459 sp<BufferItemConsumer> opaqueConsumer = new BufferItemConsumer(gbConsumer, in TEST_F()
465 EXPECT_EQ(OK, gbConsumer->setDefaultBufferSize(640, 480)); in TEST_F()
466 EXPECT_EQ(OK, gbConsumer->setDefaultBufferFormat(HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED)); in TEST_F()
/frameworks/av/media/ndk/
DNdkImageReader.cpp269 sp<IGraphicBufferConsumer> gbConsumer; in init() local
270 BufferQueue::createBufferQueue(&gbProducer, &gbConsumer); in init()
277 new BufferItemConsumer(gbConsumer, mHalUsage, mMaxImages, /*controlledByApp*/ true); in init()
/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp357 sp<IGraphicBufferConsumer> gbConsumer; in ImageReader_init() local
358 BufferQueue::createBufferQueue(&gbProducer, &gbConsumer); in ImageReader_init()
381 bufferConsumer = new BufferItemConsumer(gbConsumer, consumerUsage, maxImages, in ImageReader_init()