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.c297 UINT16 s16SamplingFreq; /*temp variable to store smpling freq*/ in SBC_Encoder_Init() local
312 if (pstrEncParams->s16SamplingFreq == SBC_sf16000) in SBC_Encoder_Init()
313 s16SamplingFreq = 16000; in SBC_Encoder_Init()
314 else if (pstrEncParams->s16SamplingFreq == SBC_sf32000) in SBC_Encoder_Init()
315 s16SamplingFreq = 32000; in SBC_Encoder_Init()
316 else if (pstrEncParams->s16SamplingFreq == SBC_sf44100) in SBC_Encoder_Init()
317 s16SamplingFreq = 44100; in SBC_Encoder_Init()
319 s16SamplingFreq = 48000; in SBC_Encoder_Init()
325 pstrEncParams->s16NumOfSubBands * 1000 / s16SamplingFreq) in SBC_Encoder_Init()
338 s16BitRate = (8 * s16FrameLen * s16SamplingFreq) in SBC_Encoder_Init()
[all …]
Dsbc_enc_bit_alloc_ste.c75 ps16GenTabPtr = (SINT16 *)sbc_enc_as16Offset4[pstrCodecParams->s16SamplingFreq]; in sbc_enc_bit_alloc_ste()
79 ps16GenTabPtr = (SINT16 *)sbc_enc_as16Offset8[pstrCodecParams->s16SamplingFreq]; in sbc_enc_bit_alloc_ste()
Dsbc_enc_bit_alloc_mono.c79 sbc_enc_as16Offset4[pstrCodecParams->s16SamplingFreq]; in sbc_enc_bit_alloc_mono()
84 sbc_enc_as16Offset8[pstrCodecParams->s16SamplingFreq]; in sbc_enc_bit_alloc_mono()
/system/bt/btif/src/
Dbtif_media_task.c1611 btif_media_cb.encoder.s16SamplingFreq = pInitAudio->SamplingFreq; in btif_media_task_enc_init()
1627 btif_media_cb.encoder.s16SamplingFreq); in btif_media_task_enc_init()
1648 UINT16 s16SamplingFreq; in btif_media_task_enc_update() local
1668 if (pstrEncParams->s16SamplingFreq == SBC_sf16000) in btif_media_task_enc_update()
1669 s16SamplingFreq = 16000; in btif_media_task_enc_update()
1670 else if (pstrEncParams->s16SamplingFreq == SBC_sf32000) in btif_media_task_enc_update()
1671 s16SamplingFreq = 32000; in btif_media_task_enc_update()
1672 else if (pstrEncParams->s16SamplingFreq == SBC_sf44100) in btif_media_task_enc_update()
1673 s16SamplingFreq = 44100; in btif_media_task_enc_update()
1675 s16SamplingFreq = 48000; in btif_media_task_enc_update()
[all …]
/system/bt/embdrv/sbc/encoder/include/
Dsbc_encoder.h156 SINT16 s16SamplingFreq; /* 16k, 32k, 44.1k or 48k*/ member