Searched refs:bufferConsumer (Results 1 – 2 of 2) sorted by relevance
359 sp<BufferItemConsumer> bufferConsumer; in ImageReader_init() local381 bufferConsumer = new BufferItemConsumer(gbConsumer, consumerUsage, maxImages, in ImageReader_init()383 if (bufferConsumer == nullptr) { in ImageReader_init()389 ctx->setBufferConsumer(bufferConsumer); in ImageReader_init()390 bufferConsumer->setName(consumerName); in ImageReader_init()393 bufferConsumer->setFrameAvailableListener(ctx); in ImageReader_init()401 res = bufferConsumer->setDefaultBufferSize(width, height); in ImageReader_init()408 res = bufferConsumer->setDefaultBufferFormat(nativeFormat); in ImageReader_init()413 res = bufferConsumer->setDefaultBufferDataSpace(nativeDataspace); in ImageReader_init()482 BufferItemConsumer* bufferConsumer = ctx->getBufferConsumer(); in ImageReader_imageRelease() local[all …]
207 sp<IGraphicBufferConsumer> bufferConsumer; in createInputSurface() local208 BufferQueue::createBufferQueue(&bufferProducer, &bufferConsumer); in createInputSurface()211 IInterface::asBinder(bufferConsumer)->linkToDeath(listener); in createInputSurface()213 bufferConsumer->consumerConnect(listener, false /* controlledByApp */); in createInputSurface()215 bufferConsumer->setConsumerName(String8("MediaSync")); in createInputSurface()219 bufferConsumer->setConsumerUsageBits(mUsageFlagsFromOutput); in createInputSurface()221 mInput = bufferConsumer; in createInputSurface()227 bufferConsumer->setMaxAcquiredBufferCount(mMaxAcquiredBufferCount); in createInputSurface()