Lines Matching refs:c2buffer

140     std::shared_ptr<C2Buffer> c2buffer;  in cloneAndReleaseBuffer()  local
141 if (!releaseBuffer(buffer, &c2buffer, true)) { in cloneAndReleaseBuffer()
144 if (!copy->canCopy(c2buffer)) { in cloneAndReleaseBuffer()
147 if (!copy->copy(c2buffer)) { in cloneAndReleaseBuffer()
683 std::shared_ptr<C2Buffer> *c2buffer, in releaseSlot() argument
707 if (c2buffer) { in releaseSlot()
708 *c2buffer = result; in releaseSlot()
713 bool FlexBuffersImpl::expireComponentBuffer(const std::shared_ptr<C2Buffer> &c2buffer) { in expireComponentBuffer() argument
717 if (!compBuffer || compBuffer != c2buffer) { in expireComponentBuffer()
798 std::shared_ptr<C2Buffer> *c2buffer, in returnBuffer() argument
827 if (c2buffer) { in returnBuffer()
828 *c2buffer = result; in returnBuffer()
833 bool BuffersArrayImpl::expireComponentBuffer(const std::shared_ptr<C2Buffer> &c2buffer) { in expireComponentBuffer() argument
840 if (c2buffer == compBuffer) { in expireComponentBuffer()
924 std::shared_ptr<C2Buffer> *c2buffer, in releaseBuffer() argument
926 return mImpl.returnBuffer(buffer, c2buffer, release); in releaseBuffer()
930 const std::shared_ptr<C2Buffer> &c2buffer) { in expireComponentBuffer() argument
931 return mImpl.expireComponentBuffer(c2buffer); in expireComponentBuffer()
957 std::shared_ptr<C2Buffer> *c2buffer, in releaseBuffer() argument
959 return mImpl.releaseSlot(buffer, c2buffer, release); in releaseBuffer()
963 const std::shared_ptr<C2Buffer> &c2buffer) { in expireComponentBuffer() argument
964 return mImpl.expireComponentBuffer(c2buffer); in expireComponentBuffer()
998 std::shared_ptr<C2Buffer> *c2buffer, in releaseBuffer() argument
1000 return mImpl.releaseSlot(buffer, c2buffer, release); in releaseBuffer()
1004 const std::shared_ptr<C2Buffer> &c2buffer) { in expireComponentBuffer() argument
1005 return mImpl.expireComponentBuffer(c2buffer); in expireComponentBuffer()
1175 std::shared_ptr<C2Buffer> *c2buffer, in releaseBuffer() argument
1177 return mImpl.releaseSlot(buffer, c2buffer, release); in releaseBuffer()
1181 const std::shared_ptr<C2Buffer> &c2buffer) { in expireComponentBuffer() argument
1182 return mImpl.expireComponentBuffer(c2buffer); in expireComponentBuffer()
1245 std::shared_ptr<C2Buffer> *c2buffer, in releaseBuffer() argument
1247 return mImpl.releaseSlot(buffer, c2buffer, release); in releaseBuffer()
1251 const std::shared_ptr<C2Buffer> &c2buffer) { in expireComponentBuffer() argument
1252 return mImpl.expireComponentBuffer(c2buffer); in expireComponentBuffer()
1380 const sp<MediaCodecBuffer> &buffer, std::shared_ptr<C2Buffer> *c2buffer) { in releaseBuffer() argument
1381 return mImpl.returnBuffer(buffer, c2buffer, true); in releaseBuffer()
1400 void OutputBuffersArray::realloc(const std::shared_ptr<C2Buffer> &c2buffer) { in realloc() argument
1401 switch (c2buffer->data().type()) { in realloc()
1404 const std::vector<C2ConstLinearBlock> &linear_blocks = c2buffer->data().linearBlocks(); in realloc()
1437 ALOGD("Unsupported type: %d", (int)c2buffer->data().type()); in realloc()
1492 std::shared_ptr<C2Buffer> *c2buffer) { in releaseBuffer() argument
1493 return mImpl.releaseSlot(buffer, c2buffer, true); in releaseBuffer()