Searched refs:bufferConsumer (Results 1 – 2 of 2) sorted by relevance
378 sp<BufferItemConsumer> bufferConsumer; in ImageReader_init() local385 bufferConsumer = new BufferItemConsumer(gbConsumer, consumerUsage, maxImages, in ImageReader_init()387 if (bufferConsumer == nullptr) { in ImageReader_init()398 ctx->setBufferConsumer(bufferConsumer); in ImageReader_init()399 bufferConsumer->setName(consumerName); in ImageReader_init()402 bufferConsumer->setFrameAvailableListener(ctx); in ImageReader_init()410 res = bufferConsumer->setDefaultBufferSize(width, height); in ImageReader_init()417 res = bufferConsumer->setDefaultBufferFormat(nativeFormat); in ImageReader_init()422 res = bufferConsumer->setDefaultBufferDataSpace(nativeDataspace); in ImageReader_init()491 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()