Home
last modified time | relevance | path

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

/system/bt/embdrv/sbc/encoder/srce/
Dsbc_enc_bit_alloc_ste.c46 SINT32 s32BitCount; /*the used number of bits*/ in sbc_enc_bit_alloc_ste() local
107 s32BitCount = s32BitPool; in sbc_enc_bit_alloc_ste()
112 s32BitCount -= s32SliceCount; in sbc_enc_bit_alloc_ste()
127 } while (s32BitCount-s32SliceCount>0); in sbc_enc_bit_alloc_ste()
129 if (s32BitCount-s32SliceCount == 0) in sbc_enc_bit_alloc_ste()
131 s32BitCount -= s32SliceCount; in sbc_enc_bit_alloc_ste()
158 while ( (s32BitCount > 0) && (s32Sb < s32NumOfSubBands) ) in sbc_enc_bit_alloc_ste()
163 s32BitCount--; in sbc_enc_bit_alloc_ste()
165 else if ((*ps16GenBufPtr == s32BitSlice+1) && (s32BitCount > 1)) in sbc_enc_bit_alloc_ste()
168 s32BitCount -= 2; in sbc_enc_bit_alloc_ste()
[all …]
Dsbc_enc_bit_alloc_mono.c48 SINT32 s32BitCount; /*the used number of bits*/ in sbc_enc_bit_alloc_mono() local
119 s32BitCount = pstrCodecParams->s16BitPool; in sbc_enc_bit_alloc_mono()
124 s32BitCount -= s32SliceCount; in sbc_enc_bit_alloc_mono()
140 }while(s32BitCount-s32SliceCount>0); in sbc_enc_bit_alloc_mono()
142 if(s32BitCount == 0) in sbc_enc_bit_alloc_mono()
144 s32BitCount -= s32SliceCount; in sbc_enc_bit_alloc_mono()
166 while( (s32BitCount > 0) && (s32Sb < s32NumOfSubBands) ) in sbc_enc_bit_alloc_mono()
171 s32BitCount--; in sbc_enc_bit_alloc_mono()
174 (s32BitCount > 1) ) in sbc_enc_bit_alloc_mono()
177 s32BitCount -= 2; in sbc_enc_bit_alloc_mono()
[all …]