Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/codec_adapter/
H A Dcodec_cmd_executor.cpp117 auto tempPair = AnyCast<std::pair<Result, Result>>(resultMap_[cmd]); in WaitCmdResult() local
120 resultMap_[cmd] = std::pair<Result, Result>{Result::FAIL, tempPair.second}; in WaitCmdResult()
122 resultMap_[cmd] = std::pair<Result, Result>{tempPair.second, Result::FAIL}; in WaitCmdResult()
128 if (tempPair.first != Result::INVALID) { in WaitCmdResult()
129 … resultMap_[cmd] = std::pair<Result, Result>{Result::INVALID, tempPair.second}; in WaitCmdResult()
131 return tempPair.first == Result::SUCCESS; in WaitCmdResult()
133 if (tempPair.second != Result::INVALID) { in WaitCmdResult()
136 return tempPair.second == Result::SUCCESS; in WaitCmdResult()
164 auto tempPair = AnyCast<std::pair<Result, Result>>(resultMap_[cmd]); in HandleEventCmdComplete() local
166 resultMap_[cmd] = std::pair<Result, Result>{Result::SUCCESS, tempPair.second}; in HandleEventCmdComplete()
[all …]