Home
last modified time | relevance | path

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

/system/bt/embdrv/sbc/encoder/srce/
Dsbc_enc_bit_alloc_ste.c48 SINT32 s32BitSlice; /*number of bitslices in bitpool*/ in sbc_enc_bit_alloc_ste() local
106 s32BitSlice = s32MaxBitNeed + 1; in sbc_enc_bit_alloc_ste()
111 s32BitSlice --; in sbc_enc_bit_alloc_ste()
118 if ( (*ps16GenBufPtr >= s32BitSlice + 1) && (*ps16GenBufPtr < s32BitSlice + 16) ) in sbc_enc_bit_alloc_ste()
120 if (*(ps16GenBufPtr) == s32BitSlice+1) in sbc_enc_bit_alloc_ste()
132 s32BitSlice --; in sbc_enc_bit_alloc_ste()
142 if (*ps16GenBufPtr < s32BitSlice+2) in sbc_enc_bit_alloc_ste()
145 *ps16GenArrPtr = ((*(ps16GenBufPtr)-s32BitSlice) < 16) ? in sbc_enc_bit_alloc_ste()
146 (SINT16)(*(ps16GenBufPtr)-s32BitSlice):16; in sbc_enc_bit_alloc_ste()
165 else if ((*ps16GenBufPtr == s32BitSlice+1) && (s32BitCount > 1)) in sbc_enc_bit_alloc_ste()
Dsbc_enc_bit_alloc_mono.c50 SINT32 s32BitSlice; /*number of bitslices in bitpool*/ in sbc_enc_bit_alloc_mono() local
118 s32BitSlice = s32MaxBitNeed + 1; in sbc_enc_bit_alloc_mono()
123 s32BitSlice --; in sbc_enc_bit_alloc_mono()
129 if( (((*ps16GenBufPtr-s32BitSlice)< 16) && (*ps16GenBufPtr-s32BitSlice) >= 1)) in sbc_enc_bit_alloc_mono()
131 if((*ps16GenBufPtr-s32BitSlice) == 1) in sbc_enc_bit_alloc_mono()
145 s32BitSlice --; in sbc_enc_bit_alloc_mono()
153 if(*(ps16GenBufPtr) < s32BitSlice+2) in sbc_enc_bit_alloc_mono()
156 *(ps16GenArrPtr) = ((*(ps16GenBufPtr)-s32BitSlice)<16) ? in sbc_enc_bit_alloc_mono()
157 (SINT16)(*(ps16GenBufPtr)-s32BitSlice) : 16; in sbc_enc_bit_alloc_mono()
173 else if( (*(ps16GenBufPtr) == s32BitSlice+1) && in sbc_enc_bit_alloc_mono()