• Home
  • Raw
  • Download

Lines Matching refs:bufferConsumer

393     sp<BufferItemConsumer> bufferConsumer;  in ImageReader_init()  local
400 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
516 bufferConsumer->releaseBuffer(*buffer, releaseFence); in ImageReader_imageRelease()
531 BufferItemConsumer* bufferConsumer = ctx->getBufferConsumer(); in ImageReader_imageSetup() local
539 status_t res = bufferConsumer->acquireBuffer(buffer, 0); in ImageReader_imageSetup()
600 bufferConsumer->releaseBuffer(*buffer); in ImageReader_imageSetup()
642 BufferItemConsumer* bufferConsumer = ctx->getBufferConsumer(); in ImageReader_detachImage() local
654 res = bufferConsumer->detachBuffer(buffer->mSlot); in ImageReader_detachImage()
672 BufferItemConsumer* bufferConsumer = ctx->getBufferConsumer(); in ImageReader_discardFreeBuffers() local
673 status_t res = bufferConsumer->discardFreeBuffers(); in ImageReader_discardFreeBuffers()