Home | History | Annotate | Download | only in jni

Lines Matching full:consumer

86     void setCpuConsumer(const sp<CpuConsumer>& consumer) { mConsumer = consumer; }
617 sp<CpuConsumer> consumer = new CpuConsumer(bq, maxImages,
620 if (consumer == NULL) {
631 ctx->setCpuConsumer(consumer);
633 consumer->setFrameAvailableListener(ctx);
640 res = consumer->setDefaultBufferSize(width, height);
646 res = consumer->setDefaultBufferFormat(nativeFormat);
663 CpuConsumer* consumer = ImageReader_getCpuConsumer(env, thiz);
664 if (consumer != NULL) {
665 consumer->abandon();
666 consumer->setFrameAvailableListener(NULL);
680 CpuConsumer* consumer = ctx->getCpuConsumer();
686 consumer->unlockBuffer(*buffer);
701 CpuConsumer* consumer = ctx->getCpuConsumer();
708 status_t res = consumer->lockNextBuffer(buffer);
770 consumer->unlockBuffer(*buffer);