Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/audio_encoder/
H A Dffmpeg_au_enc_config.cpp36 const T* FindTagInMap(Tag tag, const std::map<Tag, ValueType>& tagStore) in FindTagInMap() function
49 … ASSIGN_IF_NOT_NULL(FindTagInMap<uint32_t>(Tag::AUDIO_CHANNELS, tagStore), codecContext.channels); in ConfigAudioCommonAttr()
50 …ASSIGN_IF_NOT_NULL(FindTagInMap<uint32_t>(Tag::AUDIO_SAMPLE_RATE, tagStore), codecContext.sample_r… in ConfigAudioCommonAttr()
51 ASSIGN_IF_NOT_NULL(FindTagInMap<int64_t>(Tag::MEDIA_BITRATE, tagStore), codecContext.bit_rate); in ConfigAudioCommonAttr()
52 auto audioSampleFmtPtr = FindTagInMap<AudioSampleFormat>(Tag::AUDIO_SAMPLE_FORMAT, tagStore); in ConfigAudioCommonAttr()
59 auto layoutPtr = FindTagInMap<AudioChannelLayout>(Tag::AUDIO_CHANNEL_LAYOUT, tagStore); in ConfigAudioCommonAttr()
68 ASSIGN_IF_NOT_NULL(FindTagInMap<uint32_t>(Tag::AUDIO_AAC_LEVEL, tagStore), codecContext.level); in ConfigAacCodec()
72 auto profilePtr = FindTagInMap<AudioAacProfile>(Tag::AUDIO_AAC_PROFILE, tagStore); in ConfigAacCodec()
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/video_encoder/
H A Dffmpeg_vid_enc_config.cpp44 const T* FindTagInMap(Tag tag, const std::map<Tag, ValueType>& tagStore) in FindTagInMap() function
59 ASSIGN_IF_NOT_NULL(FindTagInMap<uint32_t>(Tag::VIDEO_WIDTH, tagStore), width); in SetVideoResolution()
60 ASSIGN_IF_NOT_NULL(FindTagInMap<uint32_t>(Tag::VIDEO_HEIGHT, tagStore), height); in SetVideoResolution()
73 ASSIGN_IF_NOT_NULL(FindTagInMap<uint32_t>(Tag::VIDEO_FRAME_RATE, tagStore), frameRate); in SetVideoFrameRateAndTimeBase()
90 …ASSIGN_IF_NOT_NULL(FindTagInMap<VideoPixelFormat>(Tag::VIDEO_PIXEL_FORMAT, tagStore), pixelFormat); in SetVideoPixelFormat()
147 ASSIGN_IF_NOT_NULL(FindTagInMap<int64_t>(Tag::MEDIA_BITRATE, tagStore), bitRate); in SetDefaultEncodeParams()
167 ASSIGN_IF_NOT_NULL(FindTagInMap<uint32_t>(Tag::VIDEO_H264_LEVEL, tagStore), codecContext.level); in ConfigH264Codec()
171 auto profilePtr = FindTagInMap<VideoH264Profile>(Tag::VIDEO_H264_PROFILE, tagStore); in ConfigH264Codec()