Home
last modified time | relevance | path

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

/frameworks/av/camera/tests/
DCameraBinderTests.cpp443 sp<IGraphicBufferConsumer> gbConsumer; in TEST_F() local
444 BufferQueue::createBufferQueue(&gbProducer, &gbConsumer); in TEST_F()
445 sp<BufferItemConsumer> opaqueConsumer = new BufferItemConsumer(gbConsumer, in TEST_F()
451 EXPECT_EQ(OK, gbConsumer->setDefaultBufferSize(640, 480)); in TEST_F()
452 EXPECT_EQ(OK, gbConsumer->setDefaultBufferFormat(HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED)); in TEST_F()
/frameworks/av/media/ndk/
DNdkImageReader.cpp155 sp<IGraphicBufferConsumer> gbConsumer; in init() local
156 BufferQueue::createBufferQueue(&gbProducer, &gbConsumer); in init()
163 cpuConsumer = new CpuConsumer(gbConsumer, mMaxImages, /*controlledByApp*/true); in init()
/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp353 sp<IGraphicBufferConsumer> gbConsumer; in ImageReader_init() local
354 BufferQueue::createBufferQueue(&gbProducer, &gbConsumer); in ImageReader_init()
366 bufferConsumer = new BufferItemConsumer(gbConsumer, consumerUsage, maxImages, in ImageReader_init()