/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/ |
H A D | a2dp_aac_param_ctrl.cpp | 117 codecLocalCap_.bitsPerSample = A2DP_AAC_SINK_CAPS.bitsPerSample; in A2dpCodecConfigAacSink() 282 codecCap_.bitsPerSample = userCodecConfig_.bitsPerSample; in SetBitsPerSampleUser() 283 codecConfig_.bitsPerSample = userCodecConfig_.bitsPerSample; in SetBitsPerSampleUser() 288 codecCap_.bitsPerSample = userCodecConfig_.bitsPerSample; in SetBitsPerSampleUser() 289 codecConfig_.bitsPerSample = userCodecConfig_.bitsPerSample; in SetBitsPerSampleUser() 294 codecCap_.bitsPerSample = userCodecConfig_.bitsPerSample; in SetBitsPerSampleUser() 295 codecConfig_.bitsPerSample = userCodecConfig_.bitsPerSample; in SetBitsPerSampleUser() 309 codecSelectableCap_.bitsPerSample = localCapability.bitsPerSample; in SetBitsPerSampleSelectableCapa() 314 codecCap_.bitsPerSample = localCapability.bitsPerSample; in SetBitsPerSampleCommonCapa() 402 userCodecConfig_.bitsPerSample, in SetBitsPerSample() [all …]
|
H A D | a2dp_sbc_param_ctrl.cpp | 241 switch (userCodecConfig_.bitsPerSample) { in SetBitsPerSampleUser() 243 codecCap_.bitsPerSample = userCodecConfig_.bitsPerSample; in SetBitsPerSampleUser() 244 codecConfig_.bitsPerSample = userCodecConfig_.bitsPerSample; in SetBitsPerSampleUser() 259 codecSelectableCap_.bitsPerSample = localCapability.bitsPerSample; in SetBitsPerSampleSelectableCapa() 265 codecCap_.bitsPerSample = A2DP_SAMPLE_BITS_16; in SetBitsPerSampleCommonCapa() 271 switch (audioCodecConfig_.bitsPerSample) { in SetBitsPerSampleAudioConfig() 290 resultCap.bitsPerSample = A2DP_SAMPLE_BITS_16; in SetBitsPerSampleBestMatch() 297 resultCap.bitsPerSample = A2DP_SAMPLE_BITS_16; in SetBitsPerSampleDefaultConfig() 305 userCodecConfig_.bitsPerSample, in SetBitsPerSample() 306 audioCodecConfig_.bitsPerSample); in SetBitsPerSample() [all …]
|
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/intelligentvoice/ |
H A D | _intell_voice_engine_adapter_info.md | 23 | int [bitsPerSample](#bitspersample) | 位宽。 | 30 ### bitsPerSample subsection 33 int IntellVoiceEngineAdapterInfo::bitsPerSample
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/include/ |
H A D | a2dp_codec_config.h | 31 uint32_t bitsPerSample; member 68 AppendCapability(bitsPerSampleStr, (bitsPerSample == A2DP_SAMPLE_BITS_NONE), "NONE"); in ToString() 69 AppendCapability(bitsPerSampleStr, (bitsPerSample & A2DP_SAMPLE_BITS_16), "16"); in ToString() 70 AppendCapability(bitsPerSampleStr, (bitsPerSample & A2DP_SAMPLE_BITS_24), "24"); in ToString() 71 AppendCapability(bitsPerSampleStr, (bitsPerSample & A2DP_SAMPLE_BITS_32), "32"); in ToString()
|
H A D | a2dp_codec_constant.h | 173 uint8_t bitsPerSample; member 225 uint8_t bitsPerSample; member
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/server/src/ |
H A D | bluetooth_a2dp_source_server.cpp | 64 tmpInfo.bitsPerSample = info.bitsPerSample; in OnConfigurationChanged() 326 codeStatus.codecInfo.bitsPerSample = ret.codecInfo.bitsPerSample; in GetCodecStatus() 337 serviceInfo.bitsPerSample = it->bitsPerSample; in GetCodecStatus() 350 serviceInfo.bitsPerSample = it->bitsPerSample; in GetCodecStatus() 373 … info.codecPriority, info.codecType, info.sampleRate, info.bitsPerSample, info.channelMode, in SetCodecPreference() 378 setInfo.bitsPerSample = info.bitsPerSample; in SetCodecPreference()
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/ |
H A D | a2dp_profile_peer.cpp | 725 userConfig.bitsPerSample = info.bitsPerSample; in ChangeUserConfigureInfo() 746 *(codecInfo + CODEC_AAC_BIT8) = userConfig.bitsPerSample; in ChangeUserConfigureInfo() 806 userConfig.bitsPerSample = *(codecInfo + CODEC_AAC_SAMPLE5); in SelectCodecInfo() 810 userConfig.bitsPerSample = *(codecInfo + CODEC_AAC_BIT6) & 0x7F; in SelectCodecInfo() 811 userConfig.bitsPerSample = in SelectCodecInfo() 813 userConfig.bitsPerSample = in SelectCodecInfo() 1059 codecStatus.codecInfo.bitsPerSample = config->GetCodecConfig().bitsPerSample; in GetCodecStatus() 1070 localCap.bitsPerSample = config->GetCodecLocalCapability().bitsPerSample; in GetCodecStatus() 1099 selectableCap.bitsPerSample = A2DP_SAMPLE_BITS_16; in FindPeerSelectableCapabilityMatched() 1117 … selectableCap.bitsPerSample = selectableCap.bitsPerSample | (*codecInfo++ << CODEC_BIT_MOVE8); in FindPeerSelectableCapabilityMatched() [all …]
|
H A D | a2dp_service.cpp | 1204 if ((newInfo.bitsPerSample == A2DP_SAMPLE_BITS_NONE_USER) || in IsSimilarCodecConfig() 1205 (codecInfo.bitsPerSample == A2DP_SAMPLE_BITS_NONE_USER)) { in IsSimilarCodecConfig() 1206 newInfo.bitsPerSample = codecInfo.bitsPerSample; in IsSimilarCodecConfig() 1214 …newInfo.sampleRate == codecInfo.sampleRate) && (newInfo.bitsPerSample == codecInfo.bitsPerSample) … in IsSimilarCodecConfig() 1229 …2dpService] %{public}s Set bitsPerSample(%{public}u)\n", __func__, codecInformation.bitsPerSample); in IsLocalCodecInfo() 1235 … LOG_INFO("[A2dpService] %{public}s bitsPerSample(%{public}u)\n", __func__, info.bitsPerSample); in IsLocalCodecInfo() 1239 … && ((info.bitsPerSample & codecInformation.bitsPerSample) == codecInformation.bitsPerSample) in IsLocalCodecInfo()
|
/ohos5.0/foundation/communication/bluetooth/frameworks/inner/src/ |
H A D | bluetooth_a2dp_src.cpp | 91 codecInfo.bitsPerSample = info.bitsPerSample; in OnConfigurationChanged() 399 ret.codecInfo.bitsPerSample = codecStatus.codecInfo.bitsPerSample; in GetCodecStatus() 407 serviceInfo.bitsPerSample = it->bitsPerSample; in GetCodecStatus() 416 serviceInfo.bitsPerSample = it->bitsPerSample; in GetCodecStatus() 446 info.bitsPerSample = serviceInfo.bitsPerSample; in GetCodecPreference() 469 serviceInfo.bitsPerSample = info.bitsPerSample; in SetCodecPreference() 658 offloadInfo.bitsPerSample = status.offloadInfo.bitsPerSample; in A2dpOffloadCodecStatus()
|
/ohos5.0/foundation/communication/bluetooth/frameworks/inner/ipc/parcel/ |
H A D | bluetooth_a2dp_a2dpCodecInfo.cpp | 32 if (!parcel.WriteUint8(bitsPerSample)) { in Marshalling() 79 if (!parcel.ReadUint8(bitsPerSample)) { in ReadFromParcel() 112 … CHECK_AND_RETURN_LOG_RET(parcel.WriteUint8(bitsPerSample), false, "write bitsPerSample failed."); in Marshalling() 155 CHECK_AND_RETURN_LOG_RET(parcel.ReadUint8(bitsPerSample), false, "read bitsPerSample failed."); in ReadFromParcel()
|
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/convert/ |
H A D | ffmpeg_convert.cpp | 27 if (resamplePara_.bitsPerSample != 8 && resamplePara_.bitsPerSample != 24) { // 8 24 in Init() 60 if (resamplePara_.bitsPerSample == 8) { // 8 in Convert() 72 } else if (resamplePara_.bitsPerSample == 24) { // 24 in Convert()
|
/ohos5.0/foundation/communication/bluetooth/interfaces/inner_api/include/ |
H A D | bluetooth_a2dp_codec.h | 50 uint8_t bitsPerSample; member 100 uint8_t bitsPerSample = 0; member
|
/ohos5.0/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/server/update/ |
H A D | update_engine.cpp | 102 .bitsPerSample = 16, in Init() 143 .bitsPerSample = info.bitsPerSample, in Attach()
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/external/dummy/include/stub/ |
H A D | a2dp_data_service.h | 91 …bool SourceInitPcmStream(uint8_t sampleRate, uint8_t channelMode, uint8_t bitsPerSample = PCM_SAMP… 98 uint8_t bitsPerSample = PCM_SAMPLE_BITS_16, bool writeFileNoCheck = false)
|
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/common/ |
H A D | ffmpeg_convert.cpp | 31 if (resamplePara_.bitsPerSample != 8 && resamplePara_.bitsPerSample != 24) { // 8 24 in Init() 99 if (resamplePara_.bitsPerSample == 8) { // 8 in Convert() 111 } else if (resamplePara_.bitsPerSample == 24) { // 24 in Convert()
|
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/demuxer/wav_demuxer/ |
H A D | wav_demuxer_plugin.cpp | 103 (wavHeader_.sampleRate * wavHeader_.bitsPerSample * wavHeader_.numChannels), duration)) { in GetMediaInfo() 118 (g_WavAudioSampleFormatPacked[static_cast<uint32_t>(wavHeader_.bitsPerSample)]); in GetMediaInfo() 124 mediaInfo.tracks[0].Set<Tag::BITS_PER_CODED_SAMPLE>(wavHeader_.bitsPerSample); in GetMediaInfo() 147 …auto blockAlign = wavHeader_.bitsPerSample / 8 * wavHeader_.numChannels; // blockAlign = wavHeader… in SeekTo()
|
/ohos5.0/foundation/communication/bluetooth/frameworks/inner/ipc/common/ |
H A D | a2dp_parcel_codec.h | 122 uint8_t bitsPerSample; member 167 uint8_t bitsPerSample; member
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/intelligent_voice_engine_v1_0/cpp_target/intelligent_voice/engine/v1_0/ |
H A D | intell_voice_engine_types.cpp.txt | 67 if (!data.WriteInt32(dataBlock.bitsPerSample)) { 68 HDF_LOGE("%{public}s: write dataBlock.bitsPerSample failed!", __func__); 98 if (!data.ReadInt32(dataBlock.bitsPerSample)) { 99 HDF_LOGE("%{public}s: read dataBlock.bitsPerSample failed!", __func__);
|
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/audio_encoder/NativeAPI/ |
H A D | NativeFunctionTest.cpp | 179 int32_t bitsPerSample; in getAVFormatFlac() local 181 bitsPerSample = S16_BITS_PER_SAMPLE; in getAVFormatFlac() 183 bitsPerSample = S32_BITS_PER_SAMPLE; in getAVFormatFlac() 190 inputBufSize = COMMON_FLAC_NUM * channelCount * bitsPerSample; in getAVFormatFlac() 194 inputBufSize = COMMON_FLAC_NUM * channelCount * bitsPerSample; in getAVFormatFlac() 198 inputBufSize = COMMON_FLAC_NUM * channelCount * bitsPerSample; in getAVFormatFlac() 202 inputBufSize = COMMON_FLAC_NUM * UNKNOWN_CHANNEL * bitsPerSample; in getAVFormatFlac()
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/opensles/test/unittest/opensles_player_test/src/ |
H A D | audio_opensles_player_unit_test.cpp | 155 wavHeader_.bitsPerSample, 231 wavHeader_.bitsPerSample, 261 wavHeader_.bitsPerSample, 291 wavHeader_.bitsPerSample, 321 wavHeader_.bitsPerSample, 351 wavHeader_.bitsPerSample, 381 wavHeader_.bitsPerSample, 411 wavHeader_.bitsPerSample, 441 wavHeader_.bitsPerSample, 471 wavHeader_.bitsPerSample, [all …]
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/opensles/test/example/ |
H A D | audio_opensles_player_test.cpp | 183 wavHeader_.bitsPerSample, in OpenSlTest() 227 wavHeader1_.bitsPerSample, in OpenSlTestConcurrent() 236 wavHeader2_.bitsPerSample, in OpenSlTestConcurrent()
|
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/test/example/ |
H A D | pcm2wav.h | 34 uint16_t bitsPerSample = 16; // Number of bits per sample member
|
/ohos5.0/foundation/distributedhardware/distributed_audio/services/test_example/ |
H A D | distributedaudiotest.h | 52 uint16_t bitsPerSample = 16; member
|
/ohos5.0/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/server/wakeup/ |
H A D | wakeup_engine_impl.cpp | 183 .bitsPerSample = info.bitsPerSample, in AttachInner() 398 .bitsPerSample = BITS_PER_SAMPLE, in HandleInit() 600 .bitsPerSample = BITS_PER_SAMPLE, in HandleResetAdapter()
|
/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/include/audio/ |
H A D | audio_resample.h | 35 int32_t bitsPerSample {0};
|