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 int32_t s32BitCount; /*the used number of bits*/ in sbc_enc_bit_alloc_ste() local
99 s32BitCount = s32BitPool; in sbc_enc_bit_alloc_ste()
103 s32BitCount -= s32SliceCount; in sbc_enc_bit_alloc_ste()
117 } while (s32BitCount - s32SliceCount > 0); in sbc_enc_bit_alloc_ste()
119 if (s32BitCount - s32SliceCount == 0) { in sbc_enc_bit_alloc_ste()
120 s32BitCount -= s32SliceCount; in sbc_enc_bit_alloc_ste()
146 while ((s32BitCount > 0) && (s32Sb < s32NumOfSubBands)) { in sbc_enc_bit_alloc_ste()
149 s32BitCount--; in sbc_enc_bit_alloc_ste()
150 } else if ((*ps16GenBufPtr == s32BitSlice + 1) && (s32BitCount > 1)) { in sbc_enc_bit_alloc_ste()
152 s32BitCount -= 2; in sbc_enc_bit_alloc_ste()
[all …]
Dsbc_enc_bit_alloc_mono.c47 int32_t s32BitCount; /*the used number of bits*/ in sbc_enc_bit_alloc_mono() local
108 s32BitCount = pstrCodecParams->s16BitPool; in sbc_enc_bit_alloc_mono()
112 s32BitCount -= s32SliceCount; in sbc_enc_bit_alloc_mono()
127 } while (s32BitCount - s32SliceCount > 0); in sbc_enc_bit_alloc_mono()
129 if (s32BitCount == 0) { in sbc_enc_bit_alloc_mono()
130 s32BitCount -= s32SliceCount; in sbc_enc_bit_alloc_mono()
152 while ((s32BitCount > 0) && (s32Sb < s32NumOfSubBands)) { in sbc_enc_bit_alloc_mono()
155 s32BitCount--; in sbc_enc_bit_alloc_mono()
156 } else if ((*(ps16GenBufPtr) == s32BitSlice + 1) && (s32BitCount > 1)) { in sbc_enc_bit_alloc_mono()
158 s32BitCount -= 2; in sbc_enc_bit_alloc_mono()
[all …]