Lines Matching refs:c2buffer
132 std::shared_ptr<C2Buffer> *c2buffer,
140 const std::shared_ptr<C2Buffer> &c2buffer) = 0;
194 const sp<MediaCodecBuffer> &buffer, std::shared_ptr<C2Buffer> *c2buffer) = 0;
466 std::shared_ptr<C2Buffer> *c2buffer, in releaseSlot() argument
489 if (c2buffer) { in releaseSlot()
490 *c2buffer = result; in releaseSlot()
495 bool expireComponentBuffer(const std::shared_ptr<C2Buffer> &c2buffer) { in expireComponentBuffer() argument
499 if (!compBuffer || compBuffer != c2buffer) { in expireComponentBuffer()
616 std::shared_ptr<C2Buffer> *c2buffer, in returnBuffer() argument
643 if (c2buffer) { in returnBuffer()
644 *c2buffer = result; in returnBuffer()
649 bool expireComponentBuffer(const std::shared_ptr<C2Buffer> &c2buffer) { in expireComponentBuffer() argument
656 if (c2buffer == compBuffer) { in expireComponentBuffer()
749 std::shared_ptr<C2Buffer> *c2buffer, in releaseBuffer() argument
751 return mImpl.returnBuffer(buffer, c2buffer, release); in releaseBuffer()
755 const std::shared_ptr<C2Buffer> &c2buffer) override { in expireComponentBuffer() argument
756 return mImpl.expireComponentBuffer(c2buffer); in expireComponentBuffer()
793 std::shared_ptr<C2Buffer> *c2buffer, in releaseBuffer() argument
795 return mImpl.releaseSlot(buffer, c2buffer, release); in releaseBuffer()
799 const std::shared_ptr<C2Buffer> &c2buffer) override { in expireComponentBuffer() argument
800 return mImpl.expireComponentBuffer(c2buffer); in expireComponentBuffer()
938 std::shared_ptr<C2Buffer> *c2buffer, in releaseBuffer() argument
940 return mImpl.releaseSlot(buffer, c2buffer, release); in releaseBuffer()
944 const std::shared_ptr<C2Buffer> &c2buffer) override { in expireComponentBuffer() argument
945 return mImpl.expireComponentBuffer(c2buffer); in expireComponentBuffer()
1003 std::shared_ptr<C2Buffer> *c2buffer, in releaseBuffer() argument
1005 return mImpl.releaseSlot(buffer, c2buffer, release); in releaseBuffer()
1009 const std::shared_ptr<C2Buffer> &c2buffer) override { in expireComponentBuffer() argument
1010 return mImpl.expireComponentBuffer(c2buffer); in expireComponentBuffer()
1144 const sp<MediaCodecBuffer> &buffer, std::shared_ptr<C2Buffer> *c2buffer) override { in releaseBuffer() argument
1145 return mImpl.returnBuffer(buffer, c2buffer, true); in releaseBuffer()
1160 void realloc(const std::shared_ptr<C2Buffer> &c2buffer) { in realloc() argument
1162 switch (c2buffer->data().type()) { in realloc()
1165 const size_t blockSize = c2buffer->data().linearBlocks().front().size(); in realloc()
1184 ALOGD("Unsupported type: %d", (int)c2buffer->data().type()); in realloc()
1225 std::shared_ptr<C2Buffer> *c2buffer) override { in releaseBuffer() argument
1226 return mImpl.releaseSlot(buffer, c2buffer, true); in releaseBuffer()
1332 sp<Codec2Buffer> c2buffer = ConstGraphicBlockBuffer::AllocateEmpty( in wrap() local
1337 c2buffer->setRange(0, 0); in wrap()
1338 return c2buffer; in wrap()
1646 std::shared_ptr<C2Buffer> c2buffer; in queueInputBufferInternal() local
1647 if (!(*buffers)->releaseBuffer(buffer, &c2buffer, false)) { in queueInputBufferInternal()
1650 work->input.buffers.push_back(c2buffer); in queueInputBufferInternal()