Searched refs:bufferConsumer (Results 1 – 2 of 2) sorted by relevance
393 sp<BufferItemConsumer> bufferConsumer; in ImageReader_init() local400 bufferConsumer = new BufferItemConsumer(gbConsumer, consumerUsage, maxImages, in ImageReader_init()402 if (bufferConsumer == nullptr) { in ImageReader_init()413 ctx->setBufferConsumer(bufferConsumer); in ImageReader_init()414 bufferConsumer->setName(consumerName); in ImageReader_init()417 bufferConsumer->setFrameAvailableListener(ctx); in ImageReader_init()425 res = bufferConsumer->setDefaultBufferSize(width, height); in ImageReader_init()432 res = bufferConsumer->setDefaultBufferFormat(nativeFormat); in ImageReader_init()438 res = bufferConsumer->setDefaultBufferDataSpace(nativeDataspace); in ImageReader_init()508 BufferItemConsumer* bufferConsumer = ctx->getBufferConsumer(); in ImageReader_imageRelease() local[all …]
208 sp<IGraphicBufferConsumer> bufferConsumer; in createInputSurface() local209 BufferQueue::createBufferQueue(&bufferProducer, &bufferConsumer); in createInputSurface()212 IInterface::asBinder(bufferConsumer)->linkToDeath(listener); in createInputSurface()214 bufferConsumer->consumerConnect(listener, false /* controlledByApp */); in createInputSurface()216 bufferConsumer->setConsumerName(String8("MediaSync")); in createInputSurface()220 bufferConsumer->setConsumerUsageBits(mUsageFlagsFromOutput); in createInputSurface()222 mInput = bufferConsumer; in createInputSurface()228 bufferConsumer->setMaxAcquiredBufferCount(mMaxAcquiredBufferCount); in createInputSurface()