/foundation/multimedia/av_codec/test/moduletest/muxer/NativeAPI/ |
H A D | NativeAVMuxerNullCheckTest.cpp | 43 constexpr int32_t SAMPLE_RATE = 48000; member 93 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_AUD_SAMPLE_RATE, SAMPLE_RATE); in HWTEST_F() 125 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_AUD_SAMPLE_RATE, SAMPLE_RATE); in HWTEST_F() 182 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_AUD_SAMPLE_RATE, SAMPLE_RATE); in HWTEST_F() 219 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_AUD_SAMPLE_RATE, SAMPLE_RATE); in HWTEST_F() 268 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_AUD_SAMPLE_RATE, SAMPLE_RATE); in HWTEST_F() 314 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_AUD_SAMPLE_RATE, SAMPLE_RATE); in HWTEST_F()
|
H A D | InnerAVMuxerDemo.cpp | 30 constexpr int32_t SAMPLE_RATE = 48000; member 69 trackFormat->Set<Tag::AUDIO_SAMPLE_RATE>(SAMPLE_RATE); in AddTrack()
|
H A D | NativeAVMuxerParamCheckTest.cpp | 51 constexpr int32_t SAMPLE_RATE = 48000; member 181 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_AUD_SAMPLE_RATE, SAMPLE_RATE); in HWTEST_F() 224 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_AUD_SAMPLE_RATE, SAMPLE_RATE); in HWTEST_F() 284 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_AUD_SAMPLE_RATE, SAMPLE_RATE); in HWTEST_F() 540 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_AUD_SAMPLE_RATE, SAMPLE_RATE); in HWTEST_F() 594 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_AUD_SAMPLE_RATE, SAMPLE_RATE); in HWTEST_F() 648 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_AUD_SAMPLE_RATE, SAMPLE_RATE); in HWTEST_F() 702 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_AUD_SAMPLE_RATE, SAMPLE_RATE); in HWTEST_F() 756 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_AUD_SAMPLE_RATE, SAMPLE_RATE); in HWTEST_F() 810 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_AUD_SAMPLE_RATE, SAMPLE_RATE); in HWTEST_F() [all...] |
/foundation/multimedia/av_codec/test/unittest/audio_test/ |
H A D | audio_encoder_avbuffer_capi_unit_test.cpp | 50 constexpr uint32_t SAMPLE_RATE = 44100; member 545 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); in HWTEST_F() 571 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); in HWTEST_F() 651 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); in HWTEST_F() 665 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); in HWTEST_F() 686 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); in HWTEST_F() 713 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); in HWTEST_F() 746 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); in HWTEST_F() 763 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); in HWTEST_F() 780 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); in HWTEST_F() [all...] |
H A D | audio_encoder_capi_unit_test.cpp | 48 constexpr uint32_t SAMPLE_RATE = 44100; member 809 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); in HWTEST_F() 824 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); in HWTEST_F() 840 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); in HWTEST_F() 884 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); in HWTEST_F() 899 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); in HWTEST_F() 913 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); in HWTEST_F() 927 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); in HWTEST_F() 941 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); in HWTEST_F() 955 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); in HWTEST_F() [all...] |
/foundation/ai/intelligent_voice_framework/frameworks/native/ |
H A D | enroll_intell_voice_engine.cpp | 30 static constexpr int32_t SAMPLE_RATE = 16000; member 78 info.sampleRate = SAMPLE_RATE; in Init()
|
/foundation/multimedia/av_codec/test/moduletest/audio_decoder/InnerAPI/ |
H A D | InnerFunctionTest.cpp | 81 uint32_t SAMPLE_RATE = 16100; in runDecode() local 85 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, SAMPLE_RATE); in runDecode() 92 uint32_t SAMPLE_RATE = 44100; in runDecode() local 95 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, SAMPLE_RATE); in runDecode() 101 uint32_t SAMPLE_RATE = 8000; in runDecode() local 105 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, SAMPLE_RATE); in runDecode() 112 uint32_t SAMPLE_RATE = 48000; in runDecode() local 115 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, SAMPLE_RATE); in runDecode()
|
/foundation/multimedia/av_codec/services/engine/codec/include/audio/decoder/ |
H A D | audio_opus_decoder_plugin.h | 30 SAMPLE_RATE = 1,
|
/foundation/multimedia/av_codec/services/engine/codec/include/audio/encoder/ |
H A D | audio_opus_encoder_plugin.h | 30 SAMPLE_RATE = 1,
|
/foundation/multimedia/av_codec/test/unittest/codeclist_test/coverage_unit_test/ |
H A D | codeclist_core_coverage_unit_test.cpp | 38 constexpr const char SAMPLE_RATE[] = "samplerate"; member 285 format_.PutIntValue(SAMPLE_RATE, samplerate); in HWTEST_F() 298 format_.PutIntValue(SAMPLE_RATE, samplerate); in HWTEST_F()
|
/foundation/multimedia/av_codec/test/fuzztest/audioencoderreset_fuzzer/ |
H A D | audio_encoder_reset_demo.cpp | 45 constexpr uint32_t SAMPLE_RATE = 44100; member 154 int32_t sampleRate = SAMPLE_RATE; in Setformat() 160 sampleRate = SAMPLE_RATE; in Setformat() 176 sampleRate = SAMPLE_RATE; in Setformat() 186 sampleRate = SAMPLE_RATE; in Setformat()
|
/foundation/multimedia/av_codec/test/fuzztest/audioencoder_fuzzer/ |
H A D | audio_encoder_demo.cpp | 45 constexpr uint32_t SAMPLE_RATE = 44100; member 175 int32_t sampleRate = SAMPLE_RATE; in Setformat() 181 sampleRate = SAMPLE_RATE; in Setformat() 197 sampleRate = SAMPLE_RATE; in Setformat() 207 sampleRate = SAMPLE_RATE; in Setformat()
|
/foundation/multimedia/av_codec/test/fuzztest/audioencoderflush_fuzzer/ |
H A D | audio_encoder_flush_demo.cpp | 45 constexpr uint32_t SAMPLE_RATE = 44100; member 154 int32_t sampleRate = SAMPLE_RATE; in Setformat() 160 sampleRate = SAMPLE_RATE; in Setformat() 176 sampleRate = SAMPLE_RATE; in Setformat() 186 sampleRate = SAMPLE_RATE; in Setformat()
|
/foundation/multimedia/av_codec/test/fuzztest/audioencoderdescription_fuzzer/ |
H A D | audio_encoder_description_demo.cpp | 45 constexpr uint32_t SAMPLE_RATE = 44100; member 154 int32_t sampleRate = SAMPLE_RATE; in Setformat() 160 sampleRate = SAMPLE_RATE; in Setformat() 176 sampleRate = SAMPLE_RATE; in Setformat() 186 sampleRate = SAMPLE_RATE; in Setformat()
|
/foundation/multimedia/av_codec/test/nativedemo/audio_demo/ |
H A D | avcodec_audio_avbuffer_flac_encoder_demo.cpp | 38 constexpr uint32_t SAMPLE_RATE = 44100;
member 107 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE);
in RunCase() 274 auto iter = FRAME_BYTES_MAP.find(SAMPLE_RATE);
in GetFrameBytes()
|
H A D | avcodec_audio_flac_encoder_demo.cpp | 34 constexpr uint32_t SAMPLE_RATE = 44100; member 98 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); in RunCase() 269 auto iter = FRAME_BYTES_MAP.find(SAMPLE_RATE); in GetFrameBytes()
|
H A D | avcodec_audio_decoder_inner_demo.cpp | 32 constexpr uint32_t SAMPLE_RATE = 44100; member 48 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, SAMPLE_RATE); in RunCase()
|
H A D | avcodec_audio_encoder_inner_demo.cpp | 41 constexpr uint32_t SAMPLE_RATE = 44100; member 55 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, SAMPLE_RATE); in RunCase()
|
H A D | avcodec_audio_avbuffer_g711mu_encoder_demo.cpp | 38 constexpr uint32_t SAMPLE_RATE = 8000; member 96 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); in RunCase()
|
H A D | avcodec_audio_avbuffer_aac_encoder_demo.cpp | 37 constexpr uint32_t SAMPLE_RATE = 44100; member 95 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); in RunCase()
|
H A D | avcodec_audio_avbuffer_amrwb_encoder_demo.cpp | 38 constexpr uint32_t SAMPLE_RATE = 16000; member 96 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); in RunCase()
|
H A D | avcodec_audio_avbuffer_amrnb_encoder_demo.cpp | 38 constexpr uint32_t SAMPLE_RATE = 8000; member 96 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); in RunCase()
|
/foundation/distributedhardware/distributed_hardware_fwk/utils/src/ |
H A D | histreamer_ability_parser.cpp | 28 static const std::string SAMPLE_RATE = "sample_rate"; member 49 if (!IsArray(jsonObject, SAMPLE_RATE)) { in FromJson() 50 DHLOGE("AudioEncoderIn SAMPLE_RATE is invalid\n"); in FromJson() 53 cJSON *sampleRate = cJSON_GetObjectItem(jsonObject, SAMPLE_RATE.c_str()); in FromJson() 55 DHLOGE("AudioEncoderIn SAMPLE_RATE is invalid\n"); in FromJson()
|
/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/server/wakeup/ |
H A D | wakeup_engine_impl.cpp | 44 static constexpr int32_t SAMPLE_RATE = 16000; member 404 .sampleRate = SAMPLE_RATE, in HandleInit() 619 .sampleRate = SAMPLE_RATE, in HandleResetAdapter()
|
/foundation/multimedia/audio_lite/test/unittest/ |
H A D | audiolite_test.cpp | 26 const int32_t SAMPLE_RATE = 24000; member 37 audioCapInfo.sampleRate = SAMPLE_RATE; in SetUp()
|