Home
last modified time | relevance | path

Searched refs:pcm (Results 1 – 8 of 8) sorted by relevance

/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/profile/std/a2dp/
Dbtc_a2dp_source.c142 tBTC_AV_MEDIA_FEEDINGS_PCM_STATE pcm; member
438 media_feeding.cfg.pcm.sampling_freq = 44100; in btc_a2dp_source_setup_codec()
439 media_feeding.cfg.pcm.bit_per_sample = 16; in btc_a2dp_source_setup_codec()
440 media_feeding.cfg.pcm.num_channel = 2; in btc_a2dp_source_setup_codec()
921 APPL_TRACE_DEBUG("sampling_freq:%d", p_feeding->feeding.cfg.pcm.sampling_freq); in btc_a2dp_source_pcm2sbc_init()
922 APPL_TRACE_DEBUG("num_channel:%d", p_feeding->feeding.cfg.pcm.num_channel); in btc_a2dp_source_pcm2sbc_init()
923 APPL_TRACE_DEBUG("bit_per_sample:%d", p_feeding->feeding.cfg.pcm.bit_per_sample); in btc_a2dp_source_pcm2sbc_init()
926 switch (p_feeding->feeding.cfg.pcm.sampling_freq) { in btc_a2dp_source_pcm2sbc_init()
1025 a2dp_source_local_param.btc_aa_src_cb.media_feeding_state.pcm.counter = 0; in btc_a2dp_source_aa_tx_flush()
1026 a2dp_source_local_param.btc_aa_src_cb.media_feeding_state.pcm.aa_feed_residue = 0; in btc_a2dp_source_aa_tx_flush()
[all …]
Dbta_av_co.c1462 if ((p_feeding->cfg.pcm.num_channel != 1) && in bta_av_co_audio_set_codec()
1463 (p_feeding->cfg.pcm.num_channel != 2)) { in bta_av_co_audio_set_codec()
1467 if ((p_feeding->cfg.pcm.bit_per_sample != 8) && in bta_av_co_audio_set_codec()
1468 (p_feeding->cfg.pcm.bit_per_sample != 16)) { in bta_av_co_audio_set_codec()
1472 switch (p_feeding->cfg.pcm.sampling_freq) { in bta_av_co_audio_set_codec()
/hal_espressif-3.6.0/components/bt/host/bluedroid/external/sbc/decoder/srce/
Dsynthesis-sbc.c238 PRIVATE void SynthWindow80_generated(OI_INT16 *pcm, SBC_BUFFER_T const *RESTRICT buffer, OI_UINT st…
239 PRIVATE void SynthWindow112_generated(OI_INT16 *pcm, SBC_BUFFER_T const *RESTRICT buffer, OI_UINT s…
242 typedef void (*SYNTH_FRAME)(OI_CODEC_SBC_DECODER_CONTEXT *context, OI_INT16 *pcm, OI_UINT blkstart,…
260 PRIVATE void OI_SBC_SynthFrame_80(OI_CODEC_SBC_DECODER_CONTEXT *context, OI_INT16 *pcm, OI_UINT blk… in OI_SBC_SynthFrame_80() argument
283 SYNTH80(pcm + ch, context->common.filterBuffer[ch] + offset, pcmStrideShift); in OI_SBC_SynthFrame_80()
286 pcm += (8 << pcmStrideShift); in OI_SBC_SynthFrame_80()
291 PRIVATE void OI_SBC_SynthFrame_4SB(OI_CODEC_SBC_DECODER_CONTEXT *context, OI_INT16 *pcm, OI_UINT bl… in OI_SBC_SynthFrame_4SB() argument
313 SynthWindow40_int32_int32_symmetry_with_sum(pcm + ch, in OI_SBC_SynthFrame_4SB()
318 pcm += (4 << pcmStrideShift); in OI_SBC_SynthFrame_4SB()
325 PRIVATE void OI_SBC_SynthFrame_Enhanced(OI_CODEC_SBC_DECODER_CONTEXT *context, OI_INT16 *pcm, OI_UI… in OI_SBC_SynthFrame_Enhanced() argument
[all …]
Dsynthesis-8-generated.c44 PRIVATE void SynthWindow80_generated(OI_INT16 *pcm, SBC_BUFFER_T const *RESTRICT buffer, OI_UINT st… in SynthWindow80_generated() argument
57 /* 1 - stage 0 */ pcm_b /= 32768; CLIP_INT16(pcm_b); pcm[0 << strideShift] = (OI_INT16)pcm_b; in SynthWindow80_generated()
80 /* 1 - stage 1 */ pcm_a /= 32768; CLIP_INT16(pcm_a); pcm[1 << strideShift] = (OI_INT16)pcm_a; in SynthWindow80_generated()
81 /* 1 - stage 1 */ pcm_b /= 32768; CLIP_INT16(pcm_b); pcm[7 << strideShift] = (OI_INT16)pcm_b; in SynthWindow80_generated()
104 /* 1 - stage 2 */ pcm_a /= 32768; CLIP_INT16(pcm_a); pcm[2 << strideShift] = (OI_INT16)pcm_a; in SynthWindow80_generated()
105 /* 1 - stage 2 */ pcm_b /= 32768; CLIP_INT16(pcm_b); pcm[6 << strideShift] = (OI_INT16)pcm_b; in SynthWindow80_generated()
128 /* 1 - stage 3 */ pcm_a /= 32768; CLIP_INT16(pcm_a); pcm[3 << strideShift] = (OI_INT16)pcm_a; in SynthWindow80_generated()
129 /* 1 - stage 3 */ pcm_b /= 32768; CLIP_INT16(pcm_b); pcm[5 << strideShift] = (OI_INT16)pcm_b; in SynthWindow80_generated()
136 /* 1 - stage 4 */ pcm_a /= 32768; CLIP_INT16(pcm_a); pcm[4 << strideShift] = (OI_INT16)pcm_a; in SynthWindow80_generated()
/hal_espressif-3.6.0/components/bt/host/bluedroid/external/sbc/decoder/include/
Doi_codec_sbc_private.h186 PRIVATE void SynthWindow40_int32_int32_symmetry_with_sum(OI_INT16 *pcm, SBC_BUFFER_T buffer[80], OI…
190 OI_INT16 *pcm,
197 OI_INT16 *pcm,
203 OI_INT16 *pcm,
214 PRIVATE void OI_SBC_SynthFrame(OI_CODEC_SBC_DECODER_CONTEXT *context, OI_INT16 *pcm, OI_UINT start_…
/hal_espressif-3.6.0/examples/peripherals/i2s/i2s_es8311/
DREADME.md5 …enuconfig. In music mode, the example will play a piece of music in 'canon.pcm', and in echo mode,…
128 The example have contained a piece of music in canon.pcm, if you want to play your own music, you c…
134 5. Transfer the music format into .pcm. ```ffmpeg -i a_cut.mp3 -f s16ls -ar 16000 -ac -1 -acodec pc…
135 6. Move 'a.pcm' under 'main' directory
136 7. Replace 'canon.pcm' with 'a.pcm' in 'CMakeLists.txt' under 'main' directory
/hal_espressif-3.6.0/examples/peripherals/i2s/i2s_es8311/main/
DCMakeLists.txt2 EMBED_FILES "canon.pcm")
/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/profile/std/include/
Dbtc_av_api.h186 tBTC_AV_MEDIA_FEED_CFG_PCM pcm; /* Raw PCM feeding format */ member