Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/hal/hidl/1.2/utils/
DComponent.cpp474 std::shared_ptr<C2BlockPool> blockPool; in createBlockPool() local
479 &blockPool); in createBlockPool()
484 &blockPool); in createBlockPool()
487 blockPool = nullptr; in createBlockPool()
489 if (blockPool) { in createBlockPool()
494 mBlockPools.emplace(blockPool->getLocalId(), blockPool); in createBlockPool()
500 blockPool.reset(); in createBlockPool()
508 blockPool ? blockPool->getLocalId() : 0, in createBlockPool()
510 std::make_unique<BlockPoolIntf>(blockPool))); in createBlockPool()
/frameworks/av/media/codec2/hal/hidl/1.0/utils/
DComponent.cpp472 std::shared_ptr<C2BlockPool> blockPool; in createBlockPool() local
477 &blockPool); in createBlockPool()
482 &blockPool); in createBlockPool()
485 blockPool = nullptr; in createBlockPool()
487 if (blockPool) { in createBlockPool()
492 mBlockPools.emplace(blockPool->getLocalId(), blockPool); in createBlockPool()
498 blockPool.reset(); in createBlockPool()
506 blockPool ? blockPool->getLocalId() : 0, in createBlockPool()
508 std::make_unique<BlockPoolIntf>(blockPool))); in createBlockPool()
/frameworks/av/media/codec2/hal/hidl/1.1/utils/
DComponent.cpp478 std::shared_ptr<C2BlockPool> blockPool; in createBlockPool() local
483 &blockPool); in createBlockPool()
488 &blockPool); in createBlockPool()
491 blockPool = nullptr; in createBlockPool()
493 if (blockPool) { in createBlockPool()
498 mBlockPools.emplace(blockPool->getLocalId(), blockPool); in createBlockPool()
504 blockPool.reset(); in createBlockPool()
512 blockPool ? blockPool->getLocalId() : 0, in createBlockPool()
514 std::make_unique<BlockPoolIntf>(blockPool))); in createBlockPool()
/frameworks/av/media/codec2/hal/aidl/include/codec2/aidl/
DComponent.h70 IComponent::BlockPool *blockPool) override;
/frameworks/av/media/codec2/hal/aidl/
DComponent.cpp356 IComponent::BlockPool *blockPool) { in createBlockPool() argument
394 blockPool->blockPoolId = c2BlockPool ? c2BlockPool->getLocalId() : 0; in createBlockPool()
395 blockPool->configurable = SharedRefBase::make<CachedConfigurable>( in createBlockPool()
/frameworks/av/media/codec2/components/base/
DSimpleC2Component.cpp1095 std::shared_ptr<C2BlockPool> blockPool; in processQueue() local
1096 err = GetCodec2BlockPool(poolId, shared_from_this(), &blockPool); in processQueue()
1100 blockPool ? blockPool->getLocalId() : 111000111), in processQueue()
1103 mOutputBlockPool = std::make_shared<BlockingBlockPool>(blockPool); in processQueue()
/frameworks/av/media/codec2/tests/vndk/
DC2BufferTest.cpp376 std::shared_ptr<C2BlockPool> blockPool(makeLinearBlockPool()); in TEST_F() local
379 ASSERT_EQ(C2_OK, blockPool->fetchLinearBlock( in TEST_F()
515 std::shared_ptr<C2BlockPool> blockPool(makeGraphicBlockPool()); in TEST_F() local
518 ASSERT_EQ(C2_OK, blockPool->fetchGraphicBlock( in TEST_F()