Lines Matching refs:c2buffer

125     std::shared_ptr<C2Buffer> c2buffer;  in cloneAndReleaseBuffer()  local
126 if (!releaseBuffer(buffer, &c2buffer, true)) { in cloneAndReleaseBuffer()
129 if (!copy->canCopy(c2buffer)) { in cloneAndReleaseBuffer()
132 if (!copy->copy(c2buffer)) { in cloneAndReleaseBuffer()
438 std::shared_ptr<C2Buffer> *c2buffer, in releaseSlot() argument
462 if (c2buffer) { in releaseSlot()
463 *c2buffer = result; in releaseSlot()
468 bool FlexBuffersImpl::expireComponentBuffer(const std::shared_ptr<C2Buffer> &c2buffer) { in expireComponentBuffer() argument
472 if (!compBuffer || compBuffer != c2buffer) { in expireComponentBuffer()
553 std::shared_ptr<C2Buffer> *c2buffer, in returnBuffer() argument
582 if (c2buffer) { in returnBuffer()
583 *c2buffer = result; in returnBuffer()
588 bool BuffersArrayImpl::expireComponentBuffer(const std::shared_ptr<C2Buffer> &c2buffer) { in expireComponentBuffer() argument
595 if (c2buffer == compBuffer) { in expireComponentBuffer()
679 std::shared_ptr<C2Buffer> *c2buffer, in releaseBuffer() argument
681 return mImpl.returnBuffer(buffer, c2buffer, release); in releaseBuffer()
685 const std::shared_ptr<C2Buffer> &c2buffer) { in expireComponentBuffer() argument
686 return mImpl.expireComponentBuffer(c2buffer); in expireComponentBuffer()
712 std::shared_ptr<C2Buffer> *c2buffer, in releaseBuffer() argument
714 return mImpl.releaseSlot(buffer, c2buffer, release); in releaseBuffer()
718 const std::shared_ptr<C2Buffer> &c2buffer) { in expireComponentBuffer() argument
719 return mImpl.expireComponentBuffer(c2buffer); in expireComponentBuffer()
753 std::shared_ptr<C2Buffer> *c2buffer, in releaseBuffer() argument
755 return mImpl.releaseSlot(buffer, c2buffer, release); in releaseBuffer()
759 const std::shared_ptr<C2Buffer> &c2buffer) { in expireComponentBuffer() argument
760 return mImpl.expireComponentBuffer(c2buffer); in expireComponentBuffer()
926 std::shared_ptr<C2Buffer> *c2buffer, in releaseBuffer() argument
928 return mImpl.releaseSlot(buffer, c2buffer, release); in releaseBuffer()
932 const std::shared_ptr<C2Buffer> &c2buffer) { in expireComponentBuffer() argument
933 return mImpl.expireComponentBuffer(c2buffer); in expireComponentBuffer()
995 std::shared_ptr<C2Buffer> *c2buffer, in releaseBuffer() argument
997 return mImpl.releaseSlot(buffer, c2buffer, release); in releaseBuffer()
1001 const std::shared_ptr<C2Buffer> &c2buffer) { in expireComponentBuffer() argument
1002 return mImpl.expireComponentBuffer(c2buffer); in expireComponentBuffer()
1115 const sp<MediaCodecBuffer> &buffer, std::shared_ptr<C2Buffer> *c2buffer) { in releaseBuffer() argument
1116 return mImpl.returnBuffer(buffer, c2buffer, true); in releaseBuffer()
1135 void OutputBuffersArray::realloc(const std::shared_ptr<C2Buffer> &c2buffer) { in realloc() argument
1136 switch (c2buffer->data().type()) { in realloc()
1139 const std::vector<C2ConstLinearBlock> &linear_blocks = c2buffer->data().linearBlocks(); in realloc()
1172 ALOGD("Unsupported type: %d", (int)c2buffer->data().type()); in realloc()
1222 std::shared_ptr<C2Buffer> *c2buffer) { in releaseBuffer() argument
1223 return mImpl.releaseSlot(buffer, c2buffer, true); in releaseBuffer()