Home
last modified time | relevance | path

Searched refs:s32BitCount (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-latest/components/bt/host/bluedroid/external/sbc/encoder/srce/
Dsbc_enc_bit_alloc_ste.c49 SINT32 s32BitCount; /*the used number of bits*/ in sbc_enc_bit_alloc_ste() local
103 s32BitCount = s32BitPool; in sbc_enc_bit_alloc_ste()
107 s32BitCount -= s32SliceCount; in sbc_enc_bit_alloc_ste()
121 } while (s32BitCount - s32SliceCount > 0); in sbc_enc_bit_alloc_ste()
123 if (s32BitCount - s32SliceCount == 0) { in sbc_enc_bit_alloc_ste()
124 s32BitCount -= s32SliceCount; in sbc_enc_bit_alloc_ste()
150 while ( (s32BitCount > 0) && (s32Sb < s32NumOfSubBands) ) { in sbc_enc_bit_alloc_ste()
153 s32BitCount--; in sbc_enc_bit_alloc_ste()
154 } else if ((*ps16GenBufPtr == s32BitSlice + 1) && (s32BitCount > 1)) { in sbc_enc_bit_alloc_ste()
156 s32BitCount -= 2; in sbc_enc_bit_alloc_ste()
[all …]
Dsbc_enc_bit_alloc_mono.c53 SINT32 s32BitCount; /*the used number of bits*/ in sbc_enc_bit_alloc_mono() local
116 s32BitCount = pstrCodecParams->s16BitPool; in sbc_enc_bit_alloc_mono()
120 s32BitCount -= s32SliceCount; in sbc_enc_bit_alloc_mono()
135 } while (s32BitCount - s32SliceCount > 0); in sbc_enc_bit_alloc_mono()
137 if (s32BitCount == 0) { in sbc_enc_bit_alloc_mono()
138 s32BitCount -= s32SliceCount; in sbc_enc_bit_alloc_mono()
160 while ( (s32BitCount > 0) && (s32Sb < s32NumOfSubBands) ) { in sbc_enc_bit_alloc_mono()
163 s32BitCount--; in sbc_enc_bit_alloc_mono()
165 (s32BitCount > 1) ) { in sbc_enc_bit_alloc_mono()
167 s32BitCount -= 2; in sbc_enc_bit_alloc_mono()
[all …]