Home
last modified time | relevance | path

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

/frameworks/av/camera/tests/
DCameraBinderTests.cpp455 sp<IGraphicBufferConsumer> gbConsumer; in TEST_F() local
456 BufferQueue::createBufferQueue(&gbProducer, &gbConsumer); in TEST_F()
457 sp<BufferItemConsumer> opaqueConsumer = new BufferItemConsumer(gbConsumer, in TEST_F()
463 EXPECT_EQ(OK, gbConsumer->setDefaultBufferSize(640, 480)); in TEST_F()
464 EXPECT_EQ(OK, gbConsumer->setDefaultBufferFormat(HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED)); in TEST_F()
/frameworks/av/media/ndk/
DNdkImageReader.cpp260 sp<IGraphicBufferConsumer> gbConsumer; in init() local
261 BufferQueue::createBufferQueue(&gbProducer, &gbConsumer); in init()
268 new BufferItemConsumer(gbConsumer, mHalUsage, mMaxImages, /*controlledByApp*/ true); in init()
/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp358 sp<IGraphicBufferConsumer> gbConsumer; in ImageReader_init() local
359 BufferQueue::createBufferQueue(&gbProducer, &gbConsumer); in ImageReader_init()
382 bufferConsumer = new BufferItemConsumer(gbConsumer, consumerUsage, maxImages, in ImageReader_init()