Home
last modified time | relevance | path

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

/external/v4l2_codec2/
DC2VDAComponent.cpp989 std::shared_ptr<C2BlockPool> blockPool; in allocateBuffersFromBlockAllocator() local
992 auto err = GetCodec2BlockPool(poolId, shared_from_this(), &blockPool); in allocateBuffersFromBlockAllocator()
1001 bool useBufferQueue = blockPool->getAllocatorId() == C2PlatformAllocatorStore::BUFFERQUEUE; in allocateBuffersFromBlockAllocator()
1007 std::static_pointer_cast<C2VdaBqBlockPool>(blockPool); in allocateBuffersFromBlockAllocator()
1030 std::static_pointer_cast<C2VdaPooledBlockPool>(blockPool); in allocateBuffersFromBlockAllocator()
1057 err = blockPool->fetchGraphicBlock(size.width(), size.height(), pixelFormat, usage, in allocateBuffersFromBlockAllocator()
1090 if (!startDequeueThread(size, pixelFormat, std::move(blockPool), in allocateBuffersFromBlockAllocator()
1330 std::shared_ptr<C2BlockPool> blockPool; in onSurfaceChanged() local
1333 auto err = GetCodec2BlockPool(blockPoolId, shared_from_this(), &blockPool); in onSurfaceChanged()
1339 if (blockPool->getAllocatorId() != C2PlatformAllocatorStore::BUFFERQUEUE) { in onSurfaceChanged()
[all …]
/external/v4l2_codec2/include/
DC2VDAComponent.h291 std::shared_ptr<C2BlockPool> blockPool, bool resetBuffersInClient);
296 std::shared_ptr<C2BlockPool> blockPool);