Home
last modified time | relevance | path

Searched refs:s16SamplingFreq (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Bluetooth/system/embdrv/sbc/encoder/srce/
Dsbc_encoder.c165 uint16_t s16SamplingFreq; /*temp variable to store smpling freq*/ in SBC_Encoder_Init() local
178 if (pstrEncParams->s16SamplingFreq == SBC_sf16000) in SBC_Encoder_Init()
179 s16SamplingFreq = 16000; in SBC_Encoder_Init()
180 else if (pstrEncParams->s16SamplingFreq == SBC_sf32000) in SBC_Encoder_Init()
181 s16SamplingFreq = 32000; in SBC_Encoder_Init()
182 else if (pstrEncParams->s16SamplingFreq == SBC_sf44100) in SBC_Encoder_Init()
183 s16SamplingFreq = 44100; in SBC_Encoder_Init()
185 s16SamplingFreq = 48000; in SBC_Encoder_Init()
191 1000 / s16SamplingFreq) - in SBC_Encoder_Init()
207 s16BitRate = (8 * s16FrameLen * s16SamplingFreq) / in SBC_Encoder_Init()
[all …]
Dsbc_enc_bit_alloc_ste.c71 (int16_t*)sbc_enc_as16Offset4[pstrCodecParams->s16SamplingFreq]; in sbc_enc_bit_alloc_ste()
74 (int16_t*)sbc_enc_as16Offset8[pstrCodecParams->s16SamplingFreq]; in sbc_enc_bit_alloc_ste()
Dsbc_enc_bit_alloc_mono.c73 (int16_t*)sbc_enc_as16Offset4[pstrCodecParams->s16SamplingFreq]; in sbc_enc_bit_alloc_mono()
76 (int16_t*)sbc_enc_as16Offset8[pstrCodecParams->s16SamplingFreq]; in sbc_enc_bit_alloc_mono()
/packages/modules/Bluetooth/system/stack/a2dp/
Da2dp_sbc_encoder.cc161 uint16_t s16SamplingFreq; in a2dp_sbc_encoder_update() local
199 p_encoder_params->s16SamplingFreq = in a2dp_sbc_encoder_update()
221 if (p_encoder_params->s16SamplingFreq == SBC_sf16000) in a2dp_sbc_encoder_update()
222 s16SamplingFreq = 16000; in a2dp_sbc_encoder_update()
223 else if (p_encoder_params->s16SamplingFreq == SBC_sf32000) in a2dp_sbc_encoder_update()
224 s16SamplingFreq = 32000; in a2dp_sbc_encoder_update()
225 else if (p_encoder_params->s16SamplingFreq == SBC_sf44100) in a2dp_sbc_encoder_update()
226 s16SamplingFreq = 44100; in a2dp_sbc_encoder_update()
228 s16SamplingFreq = 48000; in a2dp_sbc_encoder_update()
244 p_encoder_params->u16BitRate, s16SamplingFreq, in a2dp_sbc_encoder_update()
[all …]
/packages/modules/Bluetooth/system/stack/btm/
Dhfp_msbc_encoder.cc33 p_encoder_params->s16SamplingFreq = SBC_sf16000; in hfp_msbc_encoder_init()
/packages/modules/Bluetooth/system/embdrv/sbc/encoder/include/
Dsbc_encoder.h165 int16_t s16SamplingFreq; /* 16k, 32k, 44.1k or 48k*/ member