Home
last modified time | relevance | path

Searched refs:CodecFactory (Results 1 - 8 of 8) sorted by relevance

/foundation/multimedia/av_codec/services/services/codec/server/
H A Dcodec_factory.cpp35 constexpr OHOS::HiviewDFX::HiLogLabel LABEL = {LOG_CORE, LOG_DOMAIN_FRAMEWORK, "CodecFactory"};
40 CodecFactory &CodecFactory::Instance() in Instance()
42 static CodecFactory inst; in Instance()
46 CodecFactory::~CodecFactory() {} in ~CodecFactory()
48 std::vector<std::string> CodecFactory::GetCodecNameArrayByMime(const std::string &mime, const bool isEncoder) in GetCodecNameArrayByMime()
59 std::shared_ptr<CodecBase> CodecFactory::CreateCodecByName(const std::string &name, API_VERSION apiVersion) in CreateCodecByName()
H A Dcodec_factory.h25 class CodecFactory { class
27 static CodecFactory &Instance();
32 CodecFactory() = default;
33 ~CodecFactory();
/foundation/CastEngine/castengine_wifi_display/services/codec/src/
H A Dcodec_factory.cpp24 std::shared_ptr<AudioEncoder> CodecFactory::CreateAudioEncoder(CodecId format) in CreateAudioEncoder()
50 std::shared_ptr<AudioDecoder> CodecFactory::CreateAudioDecoder(CodecId format) in CreateAudioDecoder()
72 std::shared_ptr<VideoEncoder> CodecFactory::CreateVideoEncoder(CodecId format) in CreateVideoEncoder()
91 std::shared_ptr<VideoDecoder> CodecFactory::CreateVideoDecoder(CodecId format) in CreateVideoDecoder()
/foundation/CastEngine/castengine_wifi_display/tests/demo/codec/
H A Dcodec_demo.cpp93 std::shared_ptr<AudioDecoder> decoder = CodecFactory::CreateAudioDecoder(CODEC_G711A); in DecodeG711()
117 std::shared_ptr<AudioDecoder> decoder = CodecFactory::CreateAudioDecoder(OHOS::Sharing::CODEC_AAC); in DecodeAAC()
141 std::shared_ptr<AudioEncoder> encoder = CodecFactory::CreateAudioEncoder(CODEC_G711A); in EncodeG711()
/foundation/CastEngine/castengine_wifi_display/services/codec/include/
H A Dcodec_factory.h28 class CodecFactory { class
/foundation/CastEngine/castengine_wifi_display/tests/demo/player/
H A Dplayer_demo.cpp118 std::shared_ptr<AudioDecoder> decoder = CodecFactory::CreateAudioDecoder(CODEC_G711A); in DecodeG711ByTime()
223 std::shared_ptr<AudioDecoder> decoder = CodecFactory::CreateAudioDecoder(CODEC_G711A); in main()
/foundation/CastEngine/castengine_wifi_display/services/mediaplayer/src/
H A Daudio_player.cpp38 audioDecoder_ = CodecFactory::CreateAudioDecoder(audioCodecId_); in Init()
/foundation/CastEngine/castengine_wifi_display/services/impl/screen_capture/
H A Dscreen_capture_consumer.cpp346 audioEncoder_ = CodecFactory::CreateAudioEncoder(audioTrack_.codecId); in InitAudioEncoder()

Completed in 3 milliseconds