/foundation/multimedia/av_codec/test/moduletest/audio_encoder/InnerAPI/ |
D | InnerFunctionTest.cpp | 63 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, SAMPLE_RATE_128000); in runEncode() 66 format.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT, MONO); in runEncode() 73 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, SAMPLE_RATE_112000); in runEncode() 76 format.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT, STEREO); in runEncode() 106 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, SAMPLE_RATE_128000); 109 format.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT, MONO); 143 format.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT, MONO); 146 format.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT, STEREO); 149 format.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT, CH_7POINT1); 152 format.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT, UNKNOWN_CHANNEL_LAYOUT); [all …]
|
D | InnerStablityTest.cpp | 111 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 112000); 114 format.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT, MONO); 144 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 112000); 147 format.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT, MONO); 181 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 112000); 184 format.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT, MONO); 220 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 112000); 223 format.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT, MONO); 257 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 112000); 260 format.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT, MONO); [all …]
|
D | InnerParamCheckTest.cpp | 111 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, SAMPLE_RATE_112000); 114 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT, MONO); 131 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, -1); 171 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, SAMPLE_RATE_112000); 174 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT, MONO); 191 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_BITS_PER_CODED_SAMPLE, 0); 229 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, SAMPLE_RATE_112000); 232 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT, MONO); 249 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT, 0); 286 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, SAMPLE_RATE_112000); [all …]
|
D | InnerFuzzTest.cpp | 180 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, bitRate); 183 format.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT, audioChannelLayout); 210 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 112000); 213 format.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT, MONO); 242 generalFormat.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, bitRate); 245 generalFormat.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT, audioChannelLayout); 267 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 112000); 270 format.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT, MONO); 334 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 112000); 337 format.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT, MONO); [all …]
|
/foundation/multimedia/av_codec/test/moduletest/audio_decoder/InnerAPI/ |
D | InnerFunctionTest.cpp | 86 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, BITS_RATE); in runDecode() 96 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, BITS_RATE); in runDecode() 106 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, BITS_RATE); in runDecode() 116 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, BITS_RATE); in runDecode() 145 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 128000); 177 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 40000); 208 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 45000); 239 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 199000); 270 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 128000); 302 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 320000); [all …]
|
D | InnerStablityTest.cpp | 116 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 320000); 149 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 320000); 183 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 320000); 217 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 320000); 250 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 320000); 283 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 320000); 316 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 320000); 353 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 128000); 386 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 128000); 416 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 128000); [all …]
|
D | InnerParamCheckTest.cpp | 122 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 320000); 130 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, -1); 176 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 320000); 194 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 0); 230 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 320000); 248 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 0); 288 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 320000); 334 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 320000); 383 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 320000); 431 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 320000);
|
D | InnerFuzzTest.cpp | 185 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, bitRate); 216 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 320000); 244 generalFormat.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, bitRate); 268 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 169000); 331 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 169000); 385 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 169000);
|
/foundation/multimedia/av_codec/test/unittest/audio_test/ |
D | audio_decoder_codecbase_unit_test.cpp | 187 format_.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, DEFAULT_BITRATE); in ProceMp3Func() 201 format_.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, DEFAULT_BITRATE); in ProceFlacFunc() 215 format_.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, DEFAULT_BITRATE); in ProceAacFunc() 241 format_.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, DEFAULT_BITRATE); 252 format_.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, DEFAULT_BITRATE); 273 format_.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, DEFAULT_BITRATE); 330 format_.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, DEFAULT_BITRATE); 365 format_.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, DEFAULT_BITRATE); 391 format_.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, DEFAULT_BITRATE); 418 format_.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, DEFAULT_BITRATE); [all …]
|
D | audio_decoder_inner_unit_test.cpp | 197 format_.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, DEFAULT_BITRATE); in ProceMp3Func() 211 format_.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, DEFAULT_BITRATE); in ProceFlacFunc() 225 format_.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, DEFAULT_BITRATE); in ProceAacFunc() 250 format_.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, DEFAULT_BITRATE); 261 format_.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, DEFAULT_BITRATE); 282 format_.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, DEFAULT_BITRATE); 339 format_.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, DEFAULT_BITRATE); 374 format_.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, DEFAULT_BITRATE); 400 format_.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, DEFAULT_BITRATE); 419 format_.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, DEFAULT_BITRATE); [all …]
|
/foundation/multimedia/player_framework/test/unittest/avcodec_test/native/avformat/ |
D | avformat_native_mock.cpp | 55 bool AVFormatNativeMock::PutLongValue(const std::string_view &key, int64_t value) in PutLongValue() function in OHOS::Media::AVFormatNativeMock 57 return format_.PutLongValue(key, value); in PutLongValue()
|
D | avformat_native_mock.h | 33 bool PutLongValue(const std::string_view &key, int64_t value) override;
|
/foundation/multimedia/av_codec/test/moduletest/muxer/NativeAPI/ |
D | InnerAVMuxerDemo.cpp | 75 trackFormat.PutLongValue(OH_AV_KEY_BIT_RATE, BIT_RATE); in AddTrack() 80 trackFormat.PutLongValue(OH_AV_KEY_AUDIO_CHANNEL_MASK, A_CH_MASK_STEREO); in AddTrack()
|
D | FFmpegAVMuxerDemo.cpp | 84 trackFormat.PutLongValue(OH_AV_KEY_BIT_RATE, BIT_RATE); in AddTrack() 89 trackFormat.PutLongValue(OH_AV_KEY_AUDIO_CHANNEL_MASK, A_CH_MASK_STEREO); in AddTrack()
|
/foundation/multimedia/av_codec/test/unittest/format_test/inner/ |
D | avformat_inner_mock.cpp | 56 bool AVFormatInnerMock::PutLongValue(const std::string_view &key, int64_t value) in PutLongValue() function in OHOS::MediaAVCodec::AVFormatInnerMock 58 return format_.PutLongValue(key, value); in PutLongValue()
|
D | avformat_inner_mock.h | 33 bool PutLongValue(const std::string_view &key, int64_t value) override;
|
/foundation/multimedia/av_codec/test/moduletest/muxer/InnerAPI/ |
D | InnerAVMuxerFuzzTest.cpp | 145 mediaParams.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, bitRate); 182 mediaParams.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 320000); 254 mediaParams->PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, bitRate); in HwTest_AddTrack()
|
/foundation/multimedia/av_codec/test/moduletest/muxer/FFmpegAPI/ |
D | FFmpegAVMuxerFuzzTest.cpp | 146 mediaParams.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, bitRate); 182 mediaParams.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 320000);
|
D | FFmpegAVMuxerParamCheckTest.cpp | 152 trackDesc.PutLongValue(MediaDescriptionKey::MD_KEY_CODEC_MIME, 0); 205 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, 0); 257 trackDesc.PutLongValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 0); 326 trackDesc.PutLongValue(MediaDescriptionKey::MD_KEY_CODEC_MIME, 0); 380 trackDesc.PutLongValue(MediaDescriptionKey::MD_KEY_WIDTH, 0); 432 trackDesc.PutLongValue(MediaDescriptionKey::MD_KEY_HEIGHT, 0);
|
/foundation/multimedia/av_codec/test/unittest/format_test/capi/ |
D | avformat_capi_mock.h | 34 bool PutLongValue(const std::string_view &key, int64_t value) override;
|
/foundation/multimedia/av_codec/interfaces/inner_api/native/ |
D | format.h | 85 bool PutLongValue(const std::string_view &key, int64_t value);
|
/foundation/multimedia/media_utils_lite/interfaces/kits/ |
D | format.h | 250 bool PutLongValue(const std::string &key, int64_t value);
|
/foundation/multimedia/av_codec/test/unittest/hcodec_test/unittest/ |
D | hencoder_unit_test.cpp | 211 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 3000000); // 3000000 bit rate 250 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 3000000); // 3000000 bit rate 268 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 3000000); // 3000000 bit rate 366 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 3000000); // 3000000 bit rate 383 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 3000000); // 3000000 bit rate 416 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 0); // invalid bit rate 483 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 3000000); // 3000000 bit rate 516 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 3000000); // 3000000 bit rate 575 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 3000000); // 3000000 bit rate in ConfigureAvcEncoder() 591 format.PutLongValue(MediaDescriptionKey::MD_KEY_BITRATE, 3000000); // 3000000 bit rate in ConfigureHevcEncoder()
|
/foundation/multimedia/av_codec/test/unittest/format_test/ |
D | avformat_mock.h | 36 virtual bool PutLongValue(const std::string_view &key, int64_t value) = 0;
|
/foundation/multimedia/av_codec/services/services/sa_avcodec/ipc/ |
D | avcodec_parcel.cpp | 73 (void)format.PutLongValue(key, parcel.ReadInt64()); in Unmarshalling()
|