Lines Matching refs:consumer
43 const wp<IGraphicBufferConsumer> &consumer,
46 mConsumer(consumer) {}
56 sp<IGraphicBufferConsumer> consumer(mConsumer.promote());
57 if (consumer == NULL) {
61 status_t err = consumer->acquireBuffer(&bi, 0);
67 err = consumer->detachBuffer(bi.mBuf);
73 err = consumer->attachBuffer(&bi.mBuf, bi.mGraphicBuffer);
79 err = consumer->releaseBuffer(bi.mBuf, 0,
115 const sp<IGraphicBufferConsumer> &consumer) :
121 mConsumer(consumer),
158 // use consumer usage bits queried from encoder, but always add HW_VIDEO_ENCODER
830 * Releases an acquired buffer back to the consumer for either persistent