Home
last modified time | relevance | path

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

/system/bt/embdrv/sbc/encoder/srce/
Dsbc_encoder.c164 uint16_t s16SamplingFreq; /*temp variable to store smpling freq*/ in SBC_Encoder_Init() local
177 if (pstrEncParams->s16SamplingFreq == SBC_sf16000) in SBC_Encoder_Init()
178 s16SamplingFreq = 16000; in SBC_Encoder_Init()
179 else if (pstrEncParams->s16SamplingFreq == SBC_sf32000) in SBC_Encoder_Init()
180 s16SamplingFreq = 32000; in SBC_Encoder_Init()
181 else if (pstrEncParams->s16SamplingFreq == SBC_sf44100) in SBC_Encoder_Init()
182 s16SamplingFreq = 44100; in SBC_Encoder_Init()
184 s16SamplingFreq = 48000; in SBC_Encoder_Init()
190 1000 / s16SamplingFreq) - in SBC_Encoder_Init()
206 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()
/system/bt/stack/a2dp/
Da2dp_sbc_encoder.cc191 uint16_t s16SamplingFreq; in a2dp_sbc_encoder_update() local
231 p_encoder_params->s16SamplingFreq = in a2dp_sbc_encoder_update()
260 if (p_encoder_params->s16SamplingFreq == SBC_sf16000) in a2dp_sbc_encoder_update()
261 s16SamplingFreq = 16000; in a2dp_sbc_encoder_update()
262 else if (p_encoder_params->s16SamplingFreq == SBC_sf32000) in a2dp_sbc_encoder_update()
263 s16SamplingFreq = 32000; in a2dp_sbc_encoder_update()
264 else if (p_encoder_params->s16SamplingFreq == SBC_sf44100) in a2dp_sbc_encoder_update()
265 s16SamplingFreq = 44100; in a2dp_sbc_encoder_update()
267 s16SamplingFreq = 48000; in a2dp_sbc_encoder_update()
280 s16SamplingFreq, p_encoder_params->s16BitPool); in a2dp_sbc_encoder_update()
[all …]
/system/bt/embdrv/sbc/encoder/include/
Dsbc_encoder.h163 int16_t s16SamplingFreq; /* 16k, 32k, 44.1k or 48k*/ member