Searched refs:ASSIGN_IF_NOT_NULL (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/audio_encoder/ |
H A D | ffmpeg_au_enc_config.cpp | 25 #define ASSIGN_IF_NOT_NULL(exec, target) \ macro 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() 68 ASSIGN_IF_NOT_NULL(FindTagInMap<uint32_t>(Tag::AUDIO_AAC_LEVEL, tagStore), codecContext.level); in ConfigAacCodec()
|
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/video_encoder/ |
H A D | ffmpeg_vid_enc_config.cpp | 27 #define ASSIGN_IF_NOT_NULL(exec, target) \ macro 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()
|