Searched refs:blockPool (Results 1 – 3 of 3) sorted by relevance
/external/v4l2_codec2/components/ |
D | VideoFramePool.cpp | 29 std::optional<uint32_t> VideoFramePool::getBufferIdFromGraphicBlock(const C2BlockPool& blockPool, in getBufferIdFromGraphicBlock() argument 31 ALOGV("%s() blockPool.getAllocatorId() = %u", __func__, blockPool.getAllocatorId()); in getBufferIdFromGraphicBlock() 33 if (blockPool.getAllocatorId() == android::V4L2AllocatorId::V4L2_BUFFERPOOL) { in getBufferIdFromGraphicBlock() 35 } else if (blockPool.getAllocatorId() == C2PlatformAllocatorStore::BUFFERQUEUE) { in getBufferIdFromGraphicBlock() 39 ALOGE("%s(): unknown allocator ID: %u", __func__, blockPool.getAllocatorId()); in getBufferIdFromGraphicBlock() 44 c2_status_t VideoFramePool::requestNewBufferSet(C2BlockPool& blockPool, int32_t bufferCount) { in requestNewBufferSet() argument 45 ALOGV("%s() blockPool.getAllocatorId() = %u", __func__, blockPool.getAllocatorId()); in requestNewBufferSet() 47 if (blockPool.getAllocatorId() == android::V4L2AllocatorId::V4L2_BUFFERPOOL) { in requestNewBufferSet() 48 C2VdaPooledBlockPool* bpPool = static_cast<C2VdaPooledBlockPool*>(&blockPool); in requestNewBufferSet() 50 } else if (blockPool.getAllocatorId() == C2PlatformAllocatorStore::BUFFERQUEUE) { in requestNewBufferSet() [all …]
|
D | V4L2DecodeComponent.cpp | 267 std::shared_ptr<C2BlockPool> blockPool; in getVideoFramePool() local 268 auto status = GetCodec2BlockPool(poolId, shared_from_this(), &blockPool); in getVideoFramePool() 276 *pool = VideoFramePool::Create(std::move(blockPool), numBuffers, size, pixelFormat, mIsSecure, in getVideoFramePool()
|
/external/v4l2_codec2/components/include/v4l2_codec2/components/ |
D | VideoFramePool.h | 34 std::shared_ptr<C2BlockPool> blockPool, const size_t numBuffers, 51 VideoFramePool(std::shared_ptr<C2BlockPool> blockPool, const media::Size& size, 64 static std::optional<uint32_t> getBufferIdFromGraphicBlock(const C2BlockPool& blockPool, 69 static c2_status_t requestNewBufferSet(C2BlockPool& blockPool, int32_t bufferCount); 73 static bool setNotifyBlockAvailableCb(C2BlockPool& blockPool, ::base::OnceClosure cb);
|