Home
last modified time | relevance | path

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

/external/v4l2_codec2/include/
DC2VDAComponent.h182 struct GraphicBlockInfo { struct
246 void sendOutputBufferToAccelerator(GraphicBlockInfo* info, bool passToAccelerator);
250 GraphicBlockInfo* getGraphicBlockById(int32_t blockId);
252 GraphicBlockInfo* getGraphicBlockByPoolId(uint32_t poolId);
333 std::vector<GraphicBlockInfo> mGraphicBlocks;
/external/v4l2_codec2/
DC2VDAComponent.cpp602 GraphicBlockInfo* info = getGraphicBlockByPoolId(poolId); in onOutputBufferReturned()
607 CHECK_EQ(info->mState, GraphicBlockInfo::State::OWNED_BY_CLIENT); in onOutputBufferReturned()
609 info->mState = GraphicBlockInfo::State::OWNED_BY_COMPONENT; in onOutputBufferReturned()
630 GraphicBlockInfo* info = getGraphicBlockById(pictureBufferId); in onOutputBufferDone()
636 if (info->mState == GraphicBlockInfo::State::OWNED_BY_ACCELERATOR) { in onOutputBufferDone()
637 info->mState = GraphicBlockInfo::State::OWNED_BY_COMPONENT; in onOutputBufferDone()
648 GraphicBlockInfo* info = getGraphicBlockById(nextBuffer.mBlockId); in sendOutputBufferToWorkIfAny()
649 CHECK_NE(info->mState, GraphicBlockInfo::State::OWNED_BY_ACCELERATOR); in sendOutputBufferToWorkIfAny()
657 if (info->mState == GraphicBlockInfo::State::OWNED_BY_CLIENT) { in sendOutputBufferToWorkIfAny()
671 info->mState = GraphicBlockInfo::State::OWNED_BY_CLIENT; in sendOutputBufferToWorkIfAny()
[all …]