Home
last modified time | relevance | path

Searched refs:c2buffer (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/codec2/sfplugin/
DCCodecBuffers.cpp108 std::shared_ptr<C2Buffer> c2buffer; in cloneAndReleaseBuffer() local
109 if (!releaseBuffer(buffer, &c2buffer, true)) { in cloneAndReleaseBuffer()
112 if (!copy->canCopy(c2buffer)) { in cloneAndReleaseBuffer()
115 if (!copy->copy(c2buffer)) { in cloneAndReleaseBuffer()
236 std::shared_ptr<C2Buffer> *c2buffer, in releaseSlot() argument
259 if (c2buffer) { in releaseSlot()
260 *c2buffer = result; in releaseSlot()
265 bool FlexBuffersImpl::expireComponentBuffer(const std::shared_ptr<C2Buffer> &c2buffer) { in expireComponentBuffer() argument
269 if (!compBuffer || compBuffer != c2buffer) { in expireComponentBuffer()
349 std::shared_ptr<C2Buffer> *c2buffer, in returnBuffer() argument
[all …]
DCCodecBuffers.h114 std::shared_ptr<C2Buffer> *c2buffer,
122 const std::shared_ptr<C2Buffer> &c2buffer) = 0;
187 const sp<MediaCodecBuffer> &buffer, std::shared_ptr<C2Buffer> *c2buffer) = 0;
336 std::shared_ptr<C2Buffer> *c2buffer,
347 bool expireComponentBuffer(const std::shared_ptr<C2Buffer> &c2buffer);
433 std::shared_ptr<C2Buffer> *c2buffer,
444 bool expireComponentBuffer(const std::shared_ptr<C2Buffer> &c2buffer);
531 std::shared_ptr<C2Buffer> *c2buffer,
535 const std::shared_ptr<C2Buffer> &c2buffer) override;
560 std::shared_ptr<C2Buffer> *c2buffer,
[all …]
DCCodecBufferChannel.cpp308 std::shared_ptr<C2Buffer> c2buffer; in queueInputBufferInternal() local
309 if (!input->buffers->releaseBuffer(buffer, &c2buffer, false)) { in queueInputBufferInternal()
317 if (!input->extraBuffers.releaseSlot(copy, &c2buffer, false)) { in queueInputBufferInternal()
329 work->input.buffers.push_back(c2buffer); in queueInputBufferInternal()
330 queuedBuffers.push_back(c2buffer); in queueInputBufferInternal()