Searched refs:MemoryBlock (Results 1 – 11 of 11) sorted by relevance
98 struct MemoryBlock : public C2MemoryBlock<uint8_t> { struct103 return const_cast<uint8_t*>(const_cast<const MemoryBlock*>(this)->data()); in data() argument107 static MemoryBlock Allocate(size_t);110 MemoryBlock();113 MemoryBlock(std::shared_ptr<Impl> impl);114 virtual ~MemoryBlock();129 MemoryBlock fetch(size_t size);
345 struct MemoryBlock::Impl {368 MemoryBlock MemoryBlockPool::fetch(size_t size) { in fetch()370 return MemoryBlock(std::make_shared<MemoryBlock::Impl>( in fetch()378 MemoryBlock::MemoryBlock(std::shared_ptr<MemoryBlock::Impl> impl) in MemoryBlock() function in android::MemoryBlock382 MemoryBlock::MemoryBlock() = default;384 MemoryBlock::~MemoryBlock() = default;386 const uint8_t* MemoryBlock::data() const { in data()390 size_t MemoryBlock::size() const { in size()394 MemoryBlock MemoryBlock::Allocate(size_t size) { in Allocate()
20 import android.hidl.memory.block@1.0::MemoryBlock;25 haveSomeMemoryBlock(MemoryBlock blk) generates(MemoryBlock blk);
41 using ::android::hidl::memory::block::V1_0::MemoryBlock;50 Return<void> haveSomeMemoryBlock(const MemoryBlock& blk,
64 Return<void> Memory::haveSomeMemoryBlock(const MemoryBlock& blk, haveSomeMemoryBlock_cb _hidl_cb) { in haveSomeMemoryBlock()
69 std::map<void *, MemoryBlock> mConversionBuffersInUse;
414 MemoryBlock conversionBuffer = mConversionBuffers.fetch(yPlaneSize * 3 / 2); in process()439 MemoryBlock conversionBuffer = mConversionBuffers.fetch(yPlaneSize * 3 / 2); in process()
217 MemoryBlock mConversionBuffer;
302 mConversionBuffer = MemoryBlock::Allocate(stride * vstride * 3 / 2); in initEncoder()
212 std::map<const void *, MemoryBlock> mConversionBuffersInUse;
955 MemoryBlock conversionBuffer = mConversionBuffers.fetch(yPlaneSize * 3 / 2); in setEncodeArgs()981 MemoryBlock conversionBuffer = mConversionBuffers.fetch(yPlaneSize * 3 / 2); in setEncodeArgs()