/foundation/multimedia/av_codec/test/moduletest/audio_encoder/NativeAPI/ |
H A D | NativeFunctionTest.cpp | 119 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITS_PER_CODED_SAMPLE, OH_BitsPerSample::SAMPLE_S16LE); in getAVFormatByEncoder() 120 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUDIO_SAMPLE_FORMAT, OH_BitsPerSample::SAMPLE_S16LE); in getAVFormatByEncoder() 180 if (sampleFormat == OH_BitsPerSample::SAMPLE_S16LE) { in getAVFormatFlac() 368 OH_AVFormat* format = getAVFormatFlac(channelCount, sampleRate, OH_BitsPerSample::SAMPLE_S16LE, BITS_RATE_FLAC); in HWTEST_F() 414 sampleFormat = OH_BitsPerSample::SAMPLE_S16LE; in HWTEST_F() 465 sampleFormat = OH_BitsPerSample::SAMPLE_S16LE; in HWTEST_F() 532 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITS_PER_CODED_SAMPLE, OH_BitsPerSample::SAMPLE_S16LE); in HWTEST_F() 533 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUDIO_SAMPLE_FORMAT, OH_BitsPerSample::SAMPLE_S16LE); in HWTEST_F() 598 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITS_PER_CODED_SAMPLE, OH_BitsPerSample::SAMPLE_S16LE); in HWTEST_F() 599 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUDIO_SAMPLE_FORMAT, OH_BitsPerSample::SAMPLE_S16LE); in HWTEST_F() [all...] |
/foundation/multimedia/av_codec/test/moduletest/audio_encoder/Avbuffer/src/ |
H A D | status_check_test.cpp | 59 int32_t sampleFormat = SAMPLE_S16LE; in HWTEST_F() 205 int32_t sampleFormat = SAMPLE_S16LE; in HWTEST_F() 235 int32_t sampleFormat = SAMPLE_S16LE; in HWTEST_F() 264 int32_t sampleFormat = SAMPLE_S16LE; in HWTEST_F() 295 int32_t sampleFormat = SAMPLE_S16LE; in HWTEST_F() 327 int32_t sampleFormat = SAMPLE_S16LE; in HWTEST_F() 356 int32_t sampleFormat = SAMPLE_S16LE; in HWTEST_F() 385 int32_t sampleFormat = SAMPLE_S16LE; in HWTEST_F() 414 int32_t sampleFormat = SAMPLE_S16LE; in HWTEST_F() 442 int32_t sampleFormat = SAMPLE_S16LE; in HWTEST_F() [all...] |
H A D | null_check_test.cpp | 130 int32_t sampleFormat = SAMPLE_S16LE; in HWTEST_F() 159 int32_t sampleFormat = SAMPLE_S16LE; in HWTEST_F() 208 int32_t sampleFormat = SAMPLE_S16LE; in HWTEST_F() 239 int32_t sampleFormat = SAMPLE_S16LE; in HWTEST_F() 272 int32_t sampleFormat = SAMPLE_S16LE; in HWTEST_F() 324 int32_t sampleFormat = SAMPLE_S16LE; in HWTEST_F() 358 int32_t sampleFormat = SAMPLE_S16LE; in HWTEST_F() 393 int32_t sampleFormat = SAMPLE_S16LE; in HWTEST_F() 428 int32_t sampleFormat = SAMPLE_S16LE; in HWTEST_F()
|
H A D | param_check_test.cpp | 114 int32_t sampleFormat = SAMPLE_S16LE; in HWTEST_F() 169 int32_t sampleFormat = SAMPLE_S16LE; in HWTEST_F() 251 int32_t sampleFormat = SAMPLE_S16LE; in HWTEST_F() 288 int32_t sampleFormat = SAMPLE_S16LE; in HWTEST_F() 295 sampleFormat = SAMPLE_S16LE; in HWTEST_F() 316 int32_t sampleFormat = SAMPLE_S16LE; in HWTEST_F() 371 int32_t sampleFormat = SAMPLE_S16LE; in HWTEST_F() 417 int32_t sampleFormat = SAMPLE_S16LE; in HWTEST_F() 463 int32_t sampleFormat = SAMPLE_S16LE; in HWTEST_F() 518 int32_t sampleFormat = SAMPLE_S16LE; in HWTEST_F() [all...] |
H A D | fuzz_test.cpp | 99 int32_t sampleFormat = SAMPLE_S16LE; in HWTEST_F() 132 int32_t sampleFormat = SAMPLE_S16LE; in HWTEST_F() 165 int32_t sampleFormat = SAMPLE_S16LE; in HWTEST_F() 198 int32_t sampleFormat = SAMPLE_S16LE; in HWTEST_F() 231 int32_t sampleFormat = SAMPLE_S16LE; in HWTEST_F() 264 int32_t sampleFormat = SAMPLE_S16LE; in HWTEST_F() 303 int32_t sampleFormat = SAMPLE_S16LE; in HWTEST_F() 342 int32_t sampleFormat = SAMPLE_S16LE; in HWTEST_F()
|
/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/test/unittest/capturer_test/src/ |
H A D | audio_capturer_unit_test.cpp | 51 capturerParams.audioSampleFormat = SAMPLE_S16LE; in InitializeCapturer() 356 * capturerOptions.streamInfo.format = SAMPLE_S16LE; 366 capturerOptions.streamInfo.format = AudioSampleFormat::SAMPLE_S16LE; in HWTEST() 388 capturerParams.audioSampleFormat = SAMPLE_S16LE; in HWTEST() 412 capturerParams.audioSampleFormat = SAMPLE_S16LE; in HWTEST() 456 capturerOptions.streamInfo.format = AudioSampleFormat::SAMPLE_S16LE; in HWTEST() 478 capturerOptions.streamInfo.format = AudioSampleFormat::SAMPLE_S16LE; in HWTEST() 499 capturerOptions.streamInfo.format = AudioSampleFormat::SAMPLE_S16LE; in HWTEST() 522 capturerOptions.streamInfo.format = AudioSampleFormat::SAMPLE_S16LE; in HWTEST() 546 capturerOptions.streamInfo.format = AudioSampleFormat::SAMPLE_S16LE; in HWTEST() [all...] |
/foundation/multimedia/av_codec/interfaces/inner_api/native/ |
H A D | avcodec_audio_common.h | 29 SAMPLE_S16LE = 1,
|
/foundation/CastEngine/castengine_wifi_display/tests/demo/delaytest/src/ |
H A D | loop_back_demo.cpp | 38 capturerOptions.streamInfo.format = AudioSampleFormat::SAMPLE_S16LE; in InitializeCapturerOptions() 88 rendererParams.sampleFormat = SAMPLE_S16LE; in InitializeRenderOptions()
|
/foundation/multimedia/av_codec/services/media_engine/modules/source/audio_capture/ |
H A D | audio_type_translate.cpp | 40 {AudioStandard::SAMPLE_S16LE, Media::Plugins::AudioSampleFormat::SAMPLE_S16LE},
|
/foundation/multimedia/audio_framework/services/audio_service/test/unittest/common/ |
H A D | volume_tools_unit_test.cpp | 133 ret = volumeTools->Process(bufferDesc, SAMPLE_S16LE, channelVolumes); in HWTEST() 157 ret = volumeTools->GetVolDb(SAMPLE_S16LE, 1); in HWTEST() 182 ret = volumeTools->CountVolumeLevel(bufferDesc, SAMPLE_S16LE, STEREO); in HWTEST()
|
/foundation/multimedia/av_codec/test/unittest/audio_test/ |
H A D | audio_encoder_capi_unit_test.cpp | 52 constexpr int32_t BITS_PER_CODED_SAMPLE = AudioSampleFormat::SAMPLE_S16LE; 57 constexpr int32_t SAMPLE_FORMAT = AudioSampleFormat::SAMPLE_S16LE; 344 AudioSampleFormat::SAMPLE_S16LE); in HWTEST_F() 361 AudioSampleFormat::SAMPLE_S16LE); in HWTEST_F() 383 AudioSampleFormat::SAMPLE_S16LE); in HWTEST_F() 429 AudioSampleFormat::SAMPLE_S16LE); in HWTEST_F() 446 AudioSampleFormat::SAMPLE_S16LE); in HWTEST_F() 462 AudioSampleFormat::SAMPLE_S16LE); in HWTEST_F() 478 AudioSampleFormat::SAMPLE_S16LE); in HWTEST_F() 510 AudioSampleFormat::SAMPLE_S16LE); in HWTEST_F() [all...] |
H A D | audio_media_codec_unit_test.cpp | 396 meta->Set<Tag::AUDIO_SAMPLE_FORMAT>(Plugins::AudioSampleFormat::SAMPLE_S16LE); in HWTEST_F() 401 meta->Set<Tag::AUDIO_BITS_PER_CODED_SAMPLE>(Plugins::AudioSampleFormat::SAMPLE_S16LE); in HWTEST_F() 479 meta->Set<Tag::AUDIO_SAMPLE_FORMAT>(Plugins::AudioSampleFormat::SAMPLE_S16LE); in HWTEST_F() 496 meta->Set<Tag::AUDIO_SAMPLE_FORMAT>(Plugins::AudioSampleFormat::SAMPLE_S16LE); in HWTEST_F() 514 meta->Set<Tag::AUDIO_SAMPLE_FORMAT>(Plugins::AudioSampleFormat::SAMPLE_S16LE); in HWTEST_F() 532 meta->Set<Tag::AUDIO_SAMPLE_FORMAT>(Plugins::AudioSampleFormat::SAMPLE_S16LE); in HWTEST_F() 569 meta->Set<Tag::AUDIO_SAMPLE_FORMAT>(Plugins::AudioSampleFormat::SAMPLE_S16LE); in HWTEST_F() 585 meta->Set<Tag::AUDIO_SAMPLE_FORMAT>(Plugins::AudioSampleFormat::SAMPLE_S16LE); in HWTEST_F() 632 meta->Set<Tag::AUDIO_SAMPLE_FORMAT>(Plugins::AudioSampleFormat::SAMPLE_S16LE); in HWTEST_F() 652 meta->Set<Tag::AUDIO_SAMPLE_FORMAT>(Plugins::AudioSampleFormat::SAMPLE_S16LE); in HWTEST_F() [all...] |
/foundation/multimedia/av_codec/services/media_engine/modules/sink/ |
H A D | audio_sampleformat.cpp | 24 {Plugins::SAMPLE_S16LE, 16},
|
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/audio_decoder/ape/ |
H A D | ffmpeg_ape_decoder_plugin.cpp | 128 AudioSampleFormat sampleFmt = SAMPLE_S16LE; in SetParameter() 141 if (sampleFmt == SAMPLE_S16LE || sampleFmt == SAMPLE_S16P) { in SetBitsDepth()
|
/foundation/multimedia/camera_framework/services/camera_service/include/avcodec/common/ |
H A D | sample_info.h | 43 constexpr OH_BitsPerSample SAMPLE_FORMAT = OH_BitsPerSample::SAMPLE_S16LE; 45 constexpr OH_BitsPerSample BITS_PER_CODED_SAMPLE = OH_BitsPerSample::SAMPLE_S16LE;
|
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/audio_encoder/g711mu/ |
H A D | audio_g711mu_encoder_plugin.cpp | 81 audioSampleFormat_(AudioSampleFormat::SAMPLE_S16LE), in AudioG711muEncoderPlugin() 106 if (audioSampleFormat_ != AudioSampleFormat::SAMPLE_S16LE) { in CheckFormat() 273 audioParameter_.Set<Tag::AUDIO_SAMPLE_FORMAT>(AudioSampleFormat::SAMPLE_S16LE); in GetParameter()
|
/foundation/multimedia/media_foundation/test/unittest/ |
H A D | TestAudioCapturePlugin.cpp | 127 audioCapture->SetParameter(Tag::AUDIO_SAMPLE_FORMAT, SAMPLE_S16LE); in HWTEST() 177 audioCapture->SetParameter(Tag::AUDIO_SAMPLE_FORMAT, SAMPLE_S16LE); in HWTEST() 217 ASSERT_EQ(aFmt, AudioStandard::SAMPLE_S16LE); in HWTEST()
|
/foundation/multimedia/av_codec/test/fuzztest/audiodecoderreset_fuzzer/ |
H A D | audio_decoder_reset_demo.cpp | 124 OH_BitsPerSample::SAMPLE_S16LE); in InitFormat() 129 OH_BitsPerSample::SAMPLE_S16LE); in InitFormat() 134 OH_BitsPerSample::SAMPLE_S16LE); in InitFormat() 142 OH_BitsPerSample::SAMPLE_S16LE); in InitFormat() 148 OH_BitsPerSample::SAMPLE_S16LE); in InitFormat() 151 OH_BitsPerSample::SAMPLE_S16LE); in InitFormat() 156 OH_BitsPerSample::SAMPLE_S16LE); in InitFormat()
|
/foundation/multimedia/av_codec/test/fuzztest/audiodecoderdescription_fuzzer/ |
H A D | audio_decoder_description_demo.cpp | 124 OH_BitsPerSample::SAMPLE_S16LE); in InitFormat() 129 OH_BitsPerSample::SAMPLE_S16LE); in InitFormat() 134 OH_BitsPerSample::SAMPLE_S16LE); in InitFormat() 142 OH_BitsPerSample::SAMPLE_S16LE); in InitFormat() 148 OH_BitsPerSample::SAMPLE_S16LE); in InitFormat() 151 OH_BitsPerSample::SAMPLE_S16LE); in InitFormat() 156 OH_BitsPerSample::SAMPLE_S16LE); in InitFormat()
|
/foundation/multimedia/av_codec/test/fuzztest/audiodecoderflush_fuzzer/ |
H A D | audio_decoder_flush_demo.cpp | 124 OH_BitsPerSample::SAMPLE_S16LE); in InitFormat() 129 OH_BitsPerSample::SAMPLE_S16LE); in InitFormat() 134 OH_BitsPerSample::SAMPLE_S16LE); in InitFormat() 142 OH_BitsPerSample::SAMPLE_S16LE); in InitFormat() 148 OH_BitsPerSample::SAMPLE_S16LE); in InitFormat() 151 OH_BitsPerSample::SAMPLE_S16LE); in InitFormat() 156 OH_BitsPerSample::SAMPLE_S16LE); in InitFormat()
|
/foundation/multimedia/av_codec/services/media_engine/filters/ |
H A D | audio_decoder_filter.cpp | 255 meta->SetData(Tag::AUDIO_SAMPLE_FORMAT, Plugins::SAMPLE_S16LE); in ChangePlugin() 305 meta->SetData(Tag::AUDIO_SAMPLE_FORMAT, Plugins::SAMPLE_S16LE); in UpdateTrackInfoSampleFormat() 311 meta->SetData(Tag::AUDIO_SAMPLE_FORMAT, Plugins::SAMPLE_S16LE); in UpdateTrackInfoSampleFormat() 333 meta->SetData(Tag::AUDIO_SAMPLE_FORMAT, Plugins::SAMPLE_S16LE); in UpdateTrackInfoSampleFormat()
|
/foundation/multimedia/audio_framework/services/audio_service/common/src/ |
H A D | volume_tools.cpp | 111 case SAMPLE_S16LE: in GetByteSize() 160 case SAMPLE_S16LE: in ProcessOneFrame() 235 case SAMPLE_S16LE: in GetVolDb() 433 case SAMPLE_S16LE: in CountVolumeLevel()
|
/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/test/example/ |
H A D | audio_voip_test.cpp | 117 return AudioSampleFormat::SAMPLE_S16LE; in GetSampleFormat() 251 capturerParams.audioSampleFormat = SAMPLE_S16LE; in TestRecording()
|
/foundation/multimedia/av_codec/services/engine/codec/audio/encoder/ |
H A D | audio_ffmpeg_flac_encoder_plugin.cpp | 41 {OHOS::MediaAVCodec::AudioSampleFormat::SAMPLE_S16LE, 16}, 46 OHOS::MediaAVCodec::AudioSampleFormat::SAMPLE_S16LE,
|
/foundation/CastEngine/castengine_wifi_display/services/impl/screen_capture/mediasource/ |
H A D | audio_source_capturer.cpp | 50 options.streamInfo.format = AudioStandard::AudioSampleFormat::SAMPLE_S16LE; in InitAudioCapture()
|