/ohos5.0/foundation/multimedia/av_codec/test/moduletest/audio_decoder/InnerAPI/ |
H A D | InnerFunctionTest.cpp | 269 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 44100); 301 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 44100); 332 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 48000); 546 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 16000); 577 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 44100); 602 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 8000); 628 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 8000); 649 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 16000); 679 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 44100); 705 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 44100); [all …]
|
H A D | InnerStablityTest.cpp | 119 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 48000); 152 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 48000); 186 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 48000); 220 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 48000); 253 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 48000); 286 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 48000); 319 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 48000); 356 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 16000); 386 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 16000); 419 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 16000); [all …]
|
H A D | InnerParamCheckTest.cpp | 148 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 48000); 202 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 48000); 256 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 48000); 262 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, -1); 272 audioParams.PutLongValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 0); 277 audioParams.PutFloatValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 0.1); 282 audioParams.PutDoubleValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 0.1); 288 audioParams.PutBuffer(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, b, 100); 314 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 48000); 360 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 48000); [all …]
|
H A D | InnerFuzzTest.cpp | 183 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, audioSampleRate); 218 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 48000); 242 generalFormat.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, audioSampleRate); 267 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 44100); 330 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 44100); 384 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 44100);
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/audio_test/ |
H A D | audio_decoder_codecbase_unit_test.cpp | 244 format_.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, DEFAULT_SAMPLE_RATE); in ProceMp3Func() 258 format_.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, DEFAULT_SAMPLE_RATE); in ProceFlacFunc() 272 format_.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, DEFAULT_SAMPLE_RATE); in ProceAacFunc() 287 format_.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, DEFAULT_SAMPLE_RATE); in ProceOpusFunc() 311 format_.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, DEFAULT_SAMPLE_RATE); 322 format_.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, DEFAULT_SAMPLE_RATE); 333 format_.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, DEFAULT_SAMPLE_RATE); 343 format_.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, INVALID_SAMPLE_RATE); 404 format_.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, DEFAULT_SAMPLE_RATE); 440 format_.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, DEFAULT_SAMPLE_RATE); [all …]
|
H A D | audio_decoder_inner_unit_test.cpp | 218 format_.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, DEFAULT_SAMPLE_RATE); in ProceMp3Func() 232 format_.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, DEFAULT_SAMPLE_RATE); in ProceFlacFunc() 246 format_.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, DEFAULT_SAMPLE_RATE); in ProceOpusFunc() 259 format_.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, DEFAULT_SAMPLE_RATE); in ProceAacFunc() 295 format_.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, DEFAULT_SAMPLE_RATE); 306 format_.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, DEFAULT_SAMPLE_RATE); 317 format_.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, DEFAULT_SAMPLE_RATE); 327 format_.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, INVALID_SAMPLE_RATE); 384 format_.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, DEFAULT_SAMPLE_RATE); 419 format_.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, DEFAULT_SAMPLE_RATE); [all …]
|
H A D | audio_encoder_avbuffer_capi_unit_test.cpp | 545 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); 571 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); 651 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); 665 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); 686 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); 713 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); 746 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); 763 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); 780 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); 798 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); [all …]
|
H A D | audio_encoder_capi_unit_test.cpp | 710 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), 12345); 1060 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); 1075 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); 1091 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); 1135 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); 1150 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); 1164 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); 1178 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); 1192 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); 1206 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); [all …]
|
H A D | audio_decoder_avbuffer_capi_unit_test.cpp | 518 OH_AVFormat_SetIntValue(format_, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), sampleRate); in Configure() 584 …OH_AVFormat_SetIntValue(format_, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), DEFAULT_SAMPLE_RA… 621 …OH_AVFormat_SetIntValue(format_, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), DEFAULT_SAMPLE_RA… 637 …OH_AVFormat_SetIntValue(format_, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), DEFAULT_SAMPLE_RA… 1858 …OH_AVFormat_SetIntValue(format_, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), AMRWB_SAMPLE_RATE… 1887 …OH_AVFormat_SetIntValue(format_, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), AMRWB_SAMPLE_RATE… 1900 …OH_AVFormat_SetIntValue(format_, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), AMRWB_SAMPLE_RATE… 2128 …OH_AVFormat_SetIntValue(format_, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), AMRNB_SAMPLE_RATE… 2778 OH_AVFormat_SetIntValue(format_, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), 16000); 2790 OH_AVFormat_SetIntValue(format_, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), 0); [all …]
|
H A D | audio_decoder_ability_unit_test.cpp | 514 OH_AVFormat_SetIntValue(format_, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), 551 OH_AVFormat_SetIntValue(format_, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), 586 OH_AVFormat_SetIntValue(format_, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), 620 OH_AVFormat_SetIntValue(format_, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), 656 OH_AVFormat_SetIntValue(format_, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), 693 OH_AVFormat_SetIntValue(format_, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), 726 OH_AVFormat_SetIntValue(format_, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), 763 OH_AVFormat_SetIntValue(format_, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), 796 OH_AVFormat_SetIntValue(format_, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(),
|
H A D | audio_decoder_capi_unit_test.cpp | 486 …OH_AVFormat_SetIntValue(format_, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), DEFAULT_SAMPLE_RA… in Configure() 768 …OH_AVFormat_SetIntValue(format_, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), DEFAULT_SAMPLE_RA… 780 …OH_AVFormat_SetIntValue(format_, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), DEFAULT_SAMPLE_RA… 856 …OH_AVFormat_SetIntValue(format_, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), DEFAULT_SAMPLE_RA… 1071 …OH_AVFormat_SetIntValue(format_, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), DEFAULT_SAMPLE_RA… 1085 …OH_AVFormat_SetIntValue(format_, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), DEFAULT_SAMPLE_RA… 1163 …OH_AVFormat_SetIntValue(format_, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), AMRNB_SAMPLE_RATE… 1904 …OH_AVFormat_SetIntValue(format_, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), AMRWB_SAMPLE_RATE… 1915 …OH_AVFormat_SetIntValue(format_, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), AMRWB_SAMPLE_RATE… 2151 …OH_AVFormat_SetIntValue(format_, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), AMRNB_SAMPLE_RATE… [all …]
|
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/audio_encoder/InnerAPI/ |
H A D | InnerParamCheckTest.cpp | 110 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, SAMPLE_RATE_44100); 160 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, SAMPLE_RATE_44100); 218 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, SAMPLE_RATE_44100); 275 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, SAMPLE_RATE_44100); 327 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, SAMPLE_RATE_44100); 389 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, -1); 393 audioParams.PutStringValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, "aaaaaa"); 397 audioParams.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 0); 401 audioParams.PutFloatValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 0.1); 405 audioParams.PutDoubleValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 0.1); [all …]
|
H A D | InnerFunctionTest.cpp | 62 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, SAMPLE_RATE_16000); in runEncode() 105 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, sample_rate); 157 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, SAMPLE_RATE_16000); 192 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, SAMPLE_RATE_16000); 227 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, sample_rate); 269 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 48000); 321 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 48000); 354 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 44100); 385 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 44100); 417 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 44100); [all …]
|
H A D | InnerStablityTest.cpp | 110 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 44100); 143 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 44100); 180 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 44100); 219 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 44100); 256 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 44100); 292 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 44100); 328 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 44100); 371 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 44100); 405 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 44100);
|
H A D | InnerFuzzTest.cpp | 179 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, audioSampleRate); 209 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 44100); 241 generalFormat.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, audioSampleRate); 266 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 44100); 333 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 44100); 391 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, 44100);
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/avsource_test/ |
H A D | avsource_audio_vivid_unit_test.cpp | 79 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 123 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 167 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 211 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 255 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 299 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 343 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 387 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 431 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate));
|
H A D | avsource_format_unit_test.cpp | 117 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 166 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 215 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 262 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 391 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 438 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 487 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 534 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 583 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 630 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); [all …]
|
H A D | avsource_hevc_unit_test.cpp | 319 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 360 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 405 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 451 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 493 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 534 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 636 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 697 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 758 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 819 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); [all …]
|
H A D | avsource_uri_unit_test.cpp | 244 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 313 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 369 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 463 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 504 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 587 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 674 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 757 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 804 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 876 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); [all …]
|
H A D | avsource_unit_test.cpp | 666 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 741 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 798 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 896 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 939 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 1025 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 1116 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 1203 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 1252 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); 1328 … ASSERT_TRUE(format_->GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, formatVal_.sampleRate)); [all …]
|
/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/audio/decoder/ |
H A D | audio_opus_decoder_plugin.cpp | 100 format.GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, sampleRate); in Init() 104 format_.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, sampleRate); in Init()
|
/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/audio/encoder/ |
H A D | audio_g711mu_encoder_plugin.cpp | 82 !format.ContainKey(MediaDescriptionKey::MD_KEY_SAMPLE_RATE) || in CheckFormat() 93 format.GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, sampleRate_); in CheckFormat()
|
H A D | audio_opus_encoder_plugin.cpp | 119 format.GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, sampleRate); in Init() 126 format_.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, sampleRate); in Init()
|
/ohos5.0/foundation/multimedia/player_framework/interfaces/inner_api/native/ |
H A D | media_description.h | 107 static constexpr std::string_view MD_KEY_SAMPLE_RATE = "sample_rate"; variable
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/audio_vivid_test/ |
H A D | audio_decoder_capi_avbuffer_vivid_unit_test.cpp | 361 …OH_AVFormat_SetIntValue(format_, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), DEFAULT_SAMPLE_RA… in Configure() 378 …OH_AVFormat_SetIntValue(format_, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), DEFAULT_SAMPLE_RA… in Configure24Bit() 413 …OH_AVFormat_SetIntValue(format_, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), DEFAULT_SAMPLE_RA… 424 …OH_AVFormat_SetIntValue(format_, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), DEFAULT_SAMPLE_RA… 513 …OH_AVFormat_SetIntValue(format_, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), DEFAULT_SAMPLE_RA…
|