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.c204 UINT16 s16SamplingFreq; /*temp variable to store smpling freq*/ in SBC_Encoder_Init() local
219 if (pstrEncParams->s16SamplingFreq == SBC_sf16000) in SBC_Encoder_Init()
220 s16SamplingFreq = 16000; in SBC_Encoder_Init()
221 else if (pstrEncParams->s16SamplingFreq == SBC_sf32000) in SBC_Encoder_Init()
222 s16SamplingFreq = 32000; in SBC_Encoder_Init()
223 else if (pstrEncParams->s16SamplingFreq == SBC_sf44100) in SBC_Encoder_Init()
224 s16SamplingFreq = 44100; in SBC_Encoder_Init()
226 s16SamplingFreq = 48000; in SBC_Encoder_Init()
232 pstrEncParams->s16NumOfSubBands * 1000 / s16SamplingFreq) in SBC_Encoder_Init()
245 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.c1832 btif_media_cb.encoder.s16SamplingFreq = pInitAudio->SamplingFreq; in btif_media_task_enc_init()
1848 btif_media_cb.encoder.s16SamplingFreq); in btif_media_task_enc_init()
1872 UINT16 s16SamplingFreq; in btif_media_task_enc_update() local
1911 if (pstrEncParams->s16SamplingFreq == SBC_sf16000) in btif_media_task_enc_update()
1912 s16SamplingFreq = 16000; in btif_media_task_enc_update()
1913 else if (pstrEncParams->s16SamplingFreq == SBC_sf32000) in btif_media_task_enc_update()
1914 s16SamplingFreq = 32000; in btif_media_task_enc_update()
1915 else if (pstrEncParams->s16SamplingFreq == SBC_sf44100) in btif_media_task_enc_update()
1916 s16SamplingFreq = 44100; in btif_media_task_enc_update()
1918 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