Home
last modified time | relevance | path

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

/aosp12/frameworks/av/media/codec2/sfplugin/utils/
H A DCodec2BufferUtils.cpp602 struct MemoryBlockPoolBlock { struct
603 MemoryBlockPoolBlock(size_t size) in MemoryBlockPoolBlock() argument
606 ~MemoryBlockPoolBlock() { in ~MemoryBlockPoolBlock() argument
618 C2_DO_NOT_COPY(MemoryBlockPoolBlock);
629 void release(std::list<MemoryBlockPoolBlock>::const_iterator block) { in release()
639 std::list<MemoryBlockPoolBlock>::const_iterator fetch(size_t size) { in fetch()
641 mFreeBlocks.remove_if([size](const MemoryBlockPoolBlock &block) -> bool { in fetch()
659 std::list<MemoryBlockPoolBlock> mFreeBlocks;
660 std::list<MemoryBlockPoolBlock> mBlocksInUse;
670 Impl(std::list<MemoryBlockPoolBlock>::const_iterator block, in Impl()
[all …]