Home
last modified time | relevance | path

Searched refs:mOutBlock (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Dec.cpp300 if (mOutBlock) { in onRelease()
301 mOutBlock.reset(); in onRelease()
367 std::shared_ptr<C2Buffer> buffer = createGraphicBuffer(std::move(mOutBlock), in finishWork()
369 mOutBlock = nullptr; in finishWork()
405 if (mOutBlock && in ensureDecoderState()
406 (mOutBlock->width() != align(mWidth, 16) || mOutBlock->height() != mHeight)) { in ensureDecoderState()
407 mOutBlock.reset(); in ensureDecoderState()
409 if (!mOutBlock) { in ensureDecoderState()
412 … c2_status_t err = pool->fetchGraphicBlock(align(mWidth, 16), mHeight, format, usage, &mOutBlock); in ensureDecoderState()
418 mOutBlock->width(), mOutBlock->height(), mWidth, mHeight); in ensureDecoderState()
[all …]
DC2SoftMpeg4Dec.h58 std::shared_ptr<C2GraphicBlock> mOutBlock; member
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcDec.cpp369 if (mOutBlock) { in onRelease()
370 mOutBlock.reset(); in onRelease()
688 std::shared_ptr<C2Buffer> buffer = createGraphicBuffer(std::move(mOutBlock), in finishWork()
690 mOutBlock = nullptr; in finishWork()
759 if (mOutBlock && in ensureDecoderState()
760 (mOutBlock->width() != mStride || mOutBlock->height() != mHeight)) { in ensureDecoderState()
761 mOutBlock.reset(); in ensureDecoderState()
763 if (!mOutBlock) { in ensureDecoderState()
766 c2_status_t err = pool->fetchGraphicBlock(mStride, mHeight, format, usage, &mOutBlock); in ensureDecoderState()
772 mOutBlock->width(), mOutBlock->height(), mStride, mHeight); in ensureDecoderState()
[all …]
DC2SoftAvcEnc.cpp442 mOutBlock(nullptr), in C2SoftAvcEnc()
469 if (mOutBlock) { in onReset()
470 mOutBlock.reset(); in onReset()
477 if (mOutBlock) { in onRelease()
478 mOutBlock.reset(); in onRelease()
1377 createLinearBuffer(mOutBlock, 0, ps_encode_op->s_out_buf.u4_bytes); in finishWork()
1383 mOutBlock = nullptr; in finishWork()
1541 if (!mOutBlock) { in process()
1546 pool->fetchLinearBlock(mOutBufferSize, usage, &mOutBlock); in process()
1554 C2WriteView wView = mOutBlock->map().get(); in process()
[all …]
DC2SoftAvcDec.h155 std::shared_ptr<C2GraphicBlock> mOutBlock; variable
DC2SoftAvcEnc.h186 std::shared_ptr<C2LinearBlock> mOutBlock; member
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcDec.cpp361 if (mOutBlock) { in onRelease()
362 mOutBlock.reset(); in onRelease()
684 std::shared_ptr<C2Buffer> buffer = createGraphicBuffer(std::move(mOutBlock), in finishWork()
686 mOutBlock = nullptr; in finishWork()
755 if (mOutBlock && in ensureDecoderState()
756 (mOutBlock->width() != mStride || mOutBlock->height() != mHeight)) { in ensureDecoderState()
757 mOutBlock.reset(); in ensureDecoderState()
759 if (!mOutBlock) { in ensureDecoderState()
762 c2_status_t err = pool->fetchGraphicBlock(mStride, mHeight, format, usage, &mOutBlock); in ensureDecoderState()
768 mOutBlock->width(), mOutBlock->height(), mStride, mHeight); in ensureDecoderState()
[all …]
DC2SoftHevcDec.h113 std::shared_ptr<C2GraphicBlock> mOutBlock; member
/frameworks/av/media/codec2/components/mpeg2/
DC2SoftMpeg2Dec.cpp350 if (mOutBlock) { in onRelease()
351 mOutBlock.reset(); in onRelease()
762 std::shared_ptr<C2Buffer> buffer = createGraphicBuffer(std::move(mOutBlock), in finishWork()
764 mOutBlock = nullptr; in finishWork()
833 if (mOutBlock && in ensureDecoderState()
834 (mOutBlock->width() != mStride || mOutBlock->height() != mHeight)) { in ensureDecoderState()
835 mOutBlock.reset(); in ensureDecoderState()
837 if (!mOutBlock) { in ensureDecoderState()
840 c2_status_t err = pool->fetchGraphicBlock(mStride, mHeight, format, usage, &mOutBlock); in ensureDecoderState()
846 mOutBlock->width(), mOutBlock->height(), mStride, mHeight); in ensureDecoderState()
[all …]
DC2SoftMpeg2Dec.h154 std::shared_ptr<C2GraphicBlock> mOutBlock; member