Home
last modified time | relevance | path

Searched refs:consumer (Results 1 – 5 of 5) sorted by relevance

/hardware/libhardware/tests/camera2/
DCameraMultiStreamTests.cpp186 sp<IGraphicBufferConsumer> consumer; in CameraStream() local
187 BufferQueue::createBufferQueue(&producer, &consumer); in CameraStream()
188 mCpuConsumer = new CpuConsumer(consumer, param.mHeapCount); in CameraStream()
368 sp<CpuConsumer> consumer = stream->GetConsumer(); in CaptureBurst() local
418 ASSERT_EQ(OK, consumer->lockNextBuffer(&imgBuffer)); in CaptureBurst()
429 ASSERT_EQ(OK, consumer->unlockBuffer(imgBuffer)); in CaptureBurst()
DCameraStreamFixture.h248 sp<IGraphicBufferConsumer> consumer; in CreateStream() local
249 BufferQueue::createBufferQueue(&producer, &consumer); in CreateStream()
250 mCpuConsumer = new CpuConsumer(consumer, p.mHeapCount); in CreateStream()
Dcamera2_utils.h169 StreamAdapter(sp<IGraphicBufferProducer> consumer);
Dcamera2_utils.cpp319 StreamAdapter::StreamAdapter(sp<IGraphicBufferProducer> consumer): in StreamAdapter() argument
324 mConsumerInterface = new Surface(consumer); in StreamAdapter()
Dcamera2.cpp218 void setUpStream(sp<IGraphicBufferProducer> consumer, in setUpStream() argument
222 StreamAdapter* stream = new StreamAdapter(consumer); in setUpStream()