Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/sfplugin/utils/
DCodec2BufferUtils.h123 struct MemoryBlock : public C2MemoryBlock<uint8_t> { struct
128 return const_cast<uint8_t*>(const_cast<const MemoryBlock*>(this)->data()); in data() argument
132 static MemoryBlock Allocate(size_t);
135 MemoryBlock();
138 MemoryBlock(std::shared_ptr<Impl> impl);
139 virtual ~MemoryBlock();
154 MemoryBlock fetch(size_t size);
DCodec2BufferUtils.cpp480 struct MemoryBlock::Impl {
503 MemoryBlock MemoryBlockPool::fetch(size_t size) { in fetch()
505 return MemoryBlock(std::make_shared<MemoryBlock::Impl>( in fetch()
513 MemoryBlock::MemoryBlock(std::shared_ptr<MemoryBlock::Impl> impl) in MemoryBlock() function in android::MemoryBlock
517 MemoryBlock::MemoryBlock() = default;
519 MemoryBlock::~MemoryBlock() = default;
521 const uint8_t* MemoryBlock::data() const { in data()
525 size_t MemoryBlock::size() const { in size()
529 MemoryBlock MemoryBlock::Allocate(size_t size) { in Allocate()
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Enc.h73 std::map<void *, MemoryBlock> mConversionBuffersInUse;
DC2SoftMpeg4Enc.cpp500 MemoryBlock conversionBuffer = mConversionBuffers.fetch(yPlaneSize * 3 / 2); in process()
527 MemoryBlock conversionBuffer = mConversionBuffers.fetch(yPlaneSize * 3 / 2); in process()
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcEnc.h79 std::map<void*, MemoryBlock> mConversionBuffersInUse;
DC2SoftHevcEnc.cpp602 MemoryBlock conversionBuffer = in setEncodeArgs()
632 MemoryBlock conversionBuffer = in setEncodeArgs()
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcEnc.h208 std::map<const void *, MemoryBlock> mConversionBuffersInUse;
DC2SoftAvcEnc.cpp1269 MemoryBlock conversionBuffer = mConversionBuffers.fetch(yPlaneSize * 3 / 2); in setEncodeArgs()
1297 MemoryBlock conversionBuffer = mConversionBuffers.fetch(yPlaneSize * 3 / 2); in setEncodeArgs()
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxEnc.h205 MemoryBlock mConversionBuffer;
DC2SoftVpxEnc.cpp322 mConversionBuffer = MemoryBlock::Allocate(stride * vstride * 3 / 2); in initEncoder()