Home
last modified time | relevance | path

Searched refs:bitsPerSample (Results 1 – 25 of 67) sorted by relevance

123

/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/
H A Da2dp_aac_param_ctrl.cpp117 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 Da2dp_sbc_param_ctrl.cpp241 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.md23 | 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 Da2dp_codec_config.h31 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 Da2dp_codec_constant.h173 uint8_t bitsPerSample; member
225 uint8_t bitsPerSample; member
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/server/src/
H A Dbluetooth_a2dp_source_server.cpp64 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 Da2dp_profile_peer.cpp725 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 Da2dp_service.cpp1204 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 Dbluetooth_a2dp_src.cpp91 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 Dbluetooth_a2dp_a2dpCodecInfo.cpp32 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 Dffmpeg_convert.cpp27 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 Dbluetooth_a2dp_codec.h50 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 Dupdate_engine.cpp102 .bitsPerSample = 16, in Init()
143 .bitsPerSample = info.bitsPerSample, in Attach()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/external/dummy/include/stub/
H A Da2dp_data_service.h91 …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 Dffmpeg_convert.cpp31 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 Dwav_demuxer_plugin.cpp103 (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 Da2dp_parcel_codec.h122 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 Dintell_voice_engine_types.cpp.txt67 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 DNativeFunctionTest.cpp179 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 Daudio_opensles_player_unit_test.cpp155 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 Daudio_opensles_player_test.cpp183 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 Dpcm2wav.h34 uint16_t bitsPerSample = 16; // Number of bits per sample member
/ohos5.0/foundation/distributedhardware/distributed_audio/services/test_example/
H A Ddistributedaudiotest.h52 uint16_t bitsPerSample = 16; member
/ohos5.0/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/server/wakeup/
H A Dwakeup_engine_impl.cpp183 .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 Daudio_resample.h35 int32_t bitsPerSample {0};

123