Home
last modified time | relevance | path

Searched refs:SAMPLE_RATE (Results 1 - 25 of 56) sorted by relevance

123

/foundation/multimedia/av_codec/test/moduletest/muxer/NativeAPI/
H A DNativeAVMuxerNullCheckTest.cpp43 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 DInnerAVMuxerDemo.cpp30 constexpr int32_t SAMPLE_RATE = 48000; member
69 trackFormat->Set<Tag::AUDIO_SAMPLE_RATE>(SAMPLE_RATE); in AddTrack()
H A DNativeAVMuxerParamCheckTest.cpp51 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 Daudio_encoder_avbuffer_capi_unit_test.cpp50 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 Daudio_encoder_capi_unit_test.cpp48 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 Denroll_intell_voice_engine.cpp30 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 DInnerFunctionTest.cpp81 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 Daudio_opus_decoder_plugin.h30 SAMPLE_RATE = 1,
/foundation/multimedia/av_codec/services/engine/codec/include/audio/encoder/
H A Daudio_opus_encoder_plugin.h30 SAMPLE_RATE = 1,
/foundation/multimedia/av_codec/test/unittest/codeclist_test/coverage_unit_test/
H A Dcodeclist_core_coverage_unit_test.cpp38 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 Daudio_encoder_reset_demo.cpp45 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 Daudio_encoder_demo.cpp45 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 Daudio_encoder_flush_demo.cpp45 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 Daudio_encoder_description_demo.cpp45 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 Davcodec_audio_avbuffer_flac_encoder_demo.cpp38 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 Davcodec_audio_flac_encoder_demo.cpp34 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 Davcodec_audio_decoder_inner_demo.cpp32 constexpr uint32_t SAMPLE_RATE = 44100; member
48 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, SAMPLE_RATE); in RunCase()
H A Davcodec_audio_encoder_inner_demo.cpp41 constexpr uint32_t SAMPLE_RATE = 44100; member
55 format.PutIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, SAMPLE_RATE); in RunCase()
H A Davcodec_audio_avbuffer_g711mu_encoder_demo.cpp38 constexpr uint32_t SAMPLE_RATE = 8000; member
96 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); in RunCase()
H A Davcodec_audio_avbuffer_aac_encoder_demo.cpp37 constexpr uint32_t SAMPLE_RATE = 44100; member
95 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); in RunCase()
H A Davcodec_audio_avbuffer_amrwb_encoder_demo.cpp38 constexpr uint32_t SAMPLE_RATE = 16000; member
96 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE); in RunCase()
H A Davcodec_audio_avbuffer_amrnb_encoder_demo.cpp38 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 Dhistreamer_ability_parser.cpp28 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 Dwakeup_engine_impl.cpp44 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 Daudiolite_test.cpp26 const int32_t SAMPLE_RATE = 24000; member
37 audioCapInfo.sampleRate = SAMPLE_RATE; in SetUp()

Completed in 21 milliseconds

123