Home
last modified time | relevance | path

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

/system/bt/stack/a2dp/
Da2dp_sbc_encoder.cc192 int16_t s16BitPool = 0; in a2dp_sbc_encoder_update() local
282 s16SamplingFreq, p_encoder_params->s16BitPool); in a2dp_sbc_encoder_update()
287 s16BitPool = (int16_t)((p_encoder_params->u16BitRate * in a2dp_sbc_encoder_update()
302 (p_encoder_params->s16NumOfBlocks * s16BitPool)) / in a2dp_sbc_encoder_update()
309 if (s16BitRate > p_encoder_params->u16BitRate) s16BitPool--; in a2dp_sbc_encoder_update()
312 s16BitPool = (s16BitPool > 255) ? 255 : s16BitPool; in a2dp_sbc_encoder_update()
314 s16BitPool = (s16BitPool > 128) ? 128 : s16BitPool; in a2dp_sbc_encoder_update()
316 s16BitPool = in a2dp_sbc_encoder_update()
324 p_encoder_params->s16BitPool = in a2dp_sbc_encoder_update()
325 (s16BitPool > (16 * p_encoder_params->s16NumOfSubBands)) in a2dp_sbc_encoder_update()
[all …]
/system/bt/embdrv/sbc/encoder/srce/
Dsbc_encoder.c213 pstrEncParams->s16BitPool = (s16Bitpool > 255) ? 255 : s16Bitpool; in SBC_Encoder_Init()
215 pstrEncParams->s16BitPool = (s16Bitpool > 128) ? 128 : s16Bitpool; in SBC_Encoder_Init()
224 pstrEncParams->s16BitPool = in SBC_Encoder_Init()
230 if (pstrEncParams->s16BitPool < 0) pstrEncParams->s16BitPool = 0; in SBC_Encoder_Init()
Dsbc_enc_bit_alloc_ste.c57 int32_t s32BitPool = pstrCodecParams->s16BitPool; in sbc_enc_bit_alloc_ste()
Dsbc_enc_bit_alloc_mono.c108 s32BitCount = pstrCodecParams->s16BitPool; in sbc_enc_bit_alloc_mono()
Dsbc_packing.c87 *pu8PacketPtr = (uint8_t)(pstrEncParams->s16BitPool & 0x00FF); in EncPacking()
/system/bt/embdrv/sbc/encoder/include/
Dsbc_encoder.h169 int16_t s16BitPool; /* 16*numOfSb for mono & dual; member