Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/sfplugin/utils/
DCodec2BufferUtils.cpp413 struct MemoryBlockPoolBlock { struct
414 MemoryBlockPoolBlock(size_t size) in MemoryBlockPoolBlock() argument
417 ~MemoryBlockPoolBlock() { in ~MemoryBlockPoolBlock() argument
429 C2_DO_NOT_COPY(MemoryBlockPoolBlock);
440 void release(std::list<MemoryBlockPoolBlock>::const_iterator block) { in release()
450 std::list<MemoryBlockPoolBlock>::const_iterator fetch(size_t size) { in fetch()
452 mFreeBlocks.remove_if([size](const MemoryBlockPoolBlock &block) -> bool { in fetch()
470 std::list<MemoryBlockPoolBlock> mFreeBlocks;
471 std::list<MemoryBlockPoolBlock> mBlocksInUse;
481 Impl(std::list<MemoryBlockPoolBlock>::const_iterator block, in Impl()
[all …]