Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/audio_encoder/
H A Daudio_ffmpeg_encoder_plugin.cpp31 std::map<std::string, std::shared_ptr<const AVCodec>> codecMap; variable
61codecMap[definition.name] = std::shared_ptr<AVCodec>(const_cast<AVCodec*>(codec), [](void* ptr) {}… in RegisterAudioEncoderPlugins()
71 codecMap.clear(); in UnRegisterAudioEncoderPlugin()
137 auto ite = codecMap.find(pluginName_); in Init()
138 if (ite == codecMap.end()) { in Init()
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/audio_decoder/
H A Daudio_ffmpeg_decoder_plugin.cpp33 std::map<std::string, std::shared_ptr<const AVCodec>> codecMap; variable
82codecMap[definition.name] = std::shared_ptr<AVCodec>(const_cast<AVCodec*>(codec), [](void* ptr) {}… in RegisterAudioDecoderPlugins()
92 codecMap.clear(); in UnRegisterAudioDecoderPlugin()
196 auto ite = codecMap.find(pluginName_); in Init()
197 if (ite == codecMap.end()) { in Init()
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/video_encoder/
H A Dvideo_ffmpeg_encoder_plugin.cpp36 std::map<std::string, std::shared_ptr<const AVCodec>> codecMap; variable
69codecMap[definition.name] = std::shared_ptr<AVCodec>(const_cast<AVCodec*>(codec), [](void* ptr) {}… in RegisterVideoEncoderPlugins()
79 codecMap.clear(); in UnRegisterVideoEncoderPlugins()
136 auto iter = codecMap.find(pluginName_); in Init()
137 FALSE_RETURN_V_MSG_E(iter != codecMap.end(), Status::ERROR_UNSUPPORTED_FORMAT, in Init()
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/video_decoder/
H A Dvideo_ffmpeg_decoder_plugin.cpp34 std::map<std::string, std::shared_ptr<const AVCodec>> codecMap; variable
67codecMap[definition.name] = std::shared_ptr<AVCodec>(const_cast<AVCodec*>(codec), [](void* ptr) {}… in RegisterVideoDecoderPlugins()
78 codecMap.clear(); in UnRegisterVideoDecoderPlugins()
142 auto iter = codecMap.find(pluginName_); in Init()
143 if (iter == codecMap.end()) { in Init()