/ohos5.0/docs/zh-cn/application-dev/media/avcodec/ |
H A D | audio-encoding.md | 182 constexpr OH_BitsPerSample SAMPLE_FORMAT = OH_BitsPerSample::SAMPLE_S16LE; 192 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUDIO_SAMPLE_FORMAT, SAMPLE_FORMAT); 215 constexpr OH_BitsPerSample SAMPLE_FORMAT = OH_BitsPerSample::SAMPLE_S32LE; 226 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUDIO_SAMPLE_FORMAT, SAMPLE_FORMAT);
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/audio_test/ |
H A D | audio_encoder_avbuffer_capi_unit_test.cpp | 64 constexpr int32_t SAMPLE_FORMAT = AudioSampleFormat::SAMPLE_S16LE; variable 749 …VFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), SAMPLE_FORMAT); 766 …VFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), SAMPLE_FORMAT); 783 …VFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), SAMPLE_FORMAT); 801 …VFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), SAMPLE_FORMAT); 831 …VFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), SAMPLE_FORMAT); 847 …VFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), SAMPLE_FORMAT); 869 …VFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), SAMPLE_FORMAT); 885 …VFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), SAMPLE_FORMAT); 901 …VFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), SAMPLE_FORMAT); [all …]
|
H A D | audio_encoder_capi_unit_test.cpp | 62 constexpr int32_t SAMPLE_FORMAT = AudioSampleFormat::SAMPLE_S16LE; variable 1063 …VFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), SAMPLE_FORMAT); 1078 …VFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), SAMPLE_FORMAT); 1094 …VFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), SAMPLE_FORMAT); 1138 …VFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), SAMPLE_FORMAT); 1153 …VFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), SAMPLE_FORMAT); 1167 …VFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), SAMPLE_FORMAT); 1181 …VFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), SAMPLE_FORMAT); 1195 …VFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), SAMPLE_FORMAT); 1209 …VFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), SAMPLE_FORMAT); [all …]
|
/ohos5.0/foundation/multimedia/av_codec/test/nativedemo/audio_demo/ |
H A D | avcodec_audio_avbuffer_flac_encoder_demo.cpp | 42 constexpr int32_t SAMPLE_FORMAT = AudioSampleFormat::SAMPLE_S16LE; variable 110 …VFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), SAMPLE_FORMAT); in RunCase() 273 auto bitsPerSamples = (SAMPLE_FORMAT == AudioSampleFormat::SAMPLE_S16LE) ? 2 : 4; in GetFrameBytes()
|
H A D | avcodec_audio_flac_encoder_demo.cpp | 39 constexpr int32_t SAMPLE_FORMAT = AudioSampleFormat::SAMPLE_S16LE; variable 101 …VFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), SAMPLE_FORMAT); in RunCase() 268 auto bitsPerSamples = (SAMPLE_FORMAT == AudioSampleFormat::SAMPLE_S16LE) ? 2 : 4; in GetFrameBytes()
|
H A D | avcodec_audio_g711mu_encoder_demo.cpp | 37 constexpr int32_t SAMPLE_FORMAT = AudioSampleFormat::SAMPLE_S16LE; variable 96 …VFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), SAMPLE_FORMAT); in RunCase()
|
H A D | avcodec_audio_aac_encoder_demo.cpp | 37 constexpr int32_t SAMPLE_FORMAT = AudioSampleFormat::SAMPLE_F32LE; variable 96 …VFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), SAMPLE_FORMAT); in RunCase()
|
H A D | avcodec_audio_avbuffer_aac_encoder_demo.cpp | 39 constexpr int32_t SAMPLE_FORMAT = AudioSampleFormat::SAMPLE_S32LE; variable 96 …VFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), SAMPLE_FORMAT); in RunCase()
|
H A D | avcodec_audio_avbuffer_amrnb_encoder_demo.cpp | 40 constexpr int32_t SAMPLE_FORMAT = AudioSampleFormat::SAMPLE_S16LE; variable 98 …VFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), SAMPLE_FORMAT); in RunCase()
|
H A D | avcodec_audio_avbuffer_amrwb_encoder_demo.cpp | 40 constexpr int32_t SAMPLE_FORMAT = AudioSampleFormat::SAMPLE_S16LE; variable 98 …VFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), SAMPLE_FORMAT); in RunCase()
|
H A D | avcodec_audio_avbuffer_g711mu_encoder_demo.cpp | 40 constexpr int32_t SAMPLE_FORMAT = AudioSampleFormat::SAMPLE_S16LE; variable 97 …VFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), SAMPLE_FORMAT); in RunCase()
|
H A D | avcodec_audio_avbuffer_mp3_encoder_demo.cpp | 40 constexpr int32_t SAMPLE_FORMAT = AudioSampleFormat::SAMPLE_S16LE; variable 98 …VFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), SAMPLE_FORMAT); in RunCase()
|
/ohos5.0/docs/en/application-dev/media/avcodec/ |
H A D | audio-encoding.md | 183 constexpr OH_BitsPerSample SAMPLE_FORMAT = OH_BitsPerSample::SAMPLE_S16LE; 193 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUDIO_SAMPLE_FORMAT, SAMPLE_FORMAT); 216 constexpr OH_BitsPerSample SAMPLE_FORMAT = OH_BitsPerSample::SAMPLE_S32LE; 227 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUDIO_SAMPLE_FORMAT, SAMPLE_FORMAT);
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/ohaudio/test/unittest/oh_audio_render_test/src/ |
H A D | oh_audio_render_unit_test.cpp | 42 const int32_t SAMPLE_FORMAT = 1; variable 172 OH_AudioStreamBuilder_SetSampleFormat(builder, (OH_AudioStream_SampleFormat)SAMPLE_FORMAT); in InitRenderBuilder() 1173 OH_AudioStreamBuilder_SetSampleFormat(builder, (OH_AudioStream_SampleFormat)SAMPLE_FORMAT); 1214 OH_AudioStreamBuilder_SetSampleFormat(builder, (OH_AudioStream_SampleFormat)SAMPLE_FORMAT); 1283 OH_AudioStreamBuilder_SetSampleFormat(builder, (OH_AudioStream_SampleFormat)SAMPLE_FORMAT);
|
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/include/avcodec/common/ |
H A D | sample_info.h | 44 constexpr OH_BitsPerSample SAMPLE_FORMAT = OH_BitsPerSample::SAMPLE_S16LE; variable
|
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/src/avcodec/ |
H A D | audio_encoder.cpp | 250 OH_AVFormat_SetIntValue(format, OH_MD_KEY_AUDIO_SAMPLE_FORMAT, SAMPLE_FORMAT); in Configure()
|
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/audio_encoder/Avbuffer/src/ |
H A D | avcodec_audio_avbuffer_encoder_demo.cpp | 42 constexpr int32_t SAMPLE_FORMAT = AudioSampleFormat::SAMPLE_S32LE; variable 236 …VFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), SAMPLE_FORMAT); in RunCase()
|