Lines Matching refs:blockPool
989 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()
1346 std::static_pointer_cast<C2VdaBqBlockPool>(blockPool); in onSurfaceChanged()
1394 static_cast<uint32_t>(mOutputFormat.mPixelFormat), std::move(blockPool), in onSurfaceChanged()
1683 std::shared_ptr<C2BlockPool> blockPool, in startDequeueThread() argument
1696 size, pixelFormat, std::move(blockPool))); in startDequeueThread()
1708 std::shared_ptr<C2BlockPool> blockPool) { in dequeueThreadLoop() argument
1720 auto err = blockPool->fetchGraphicBlock(size.width(), size.height(), pixelFormat, usage, in dequeueThreadLoop()
1738 if (blockPool->getAllocatorId() == C2PlatformAllocatorStore::BUFFERQUEUE) { in dequeueThreadLoop()