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 int32_t s32BitSlice; /*number of bitslices in bitpool*/ in sbc_enc_bit_alloc_ste() local
98 s32BitSlice = s32MaxBitNeed + 1; in sbc_enc_bit_alloc_ste()
102 s32BitSlice--; in sbc_enc_bit_alloc_ste()
108 if ((*ps16GenBufPtr >= s32BitSlice + 1) && in sbc_enc_bit_alloc_ste()
109 (*ps16GenBufPtr < s32BitSlice + 16)) { in sbc_enc_bit_alloc_ste()
110 if (*(ps16GenBufPtr) == s32BitSlice + 1) in sbc_enc_bit_alloc_ste()
121 s32BitSlice--; in sbc_enc_bit_alloc_ste()
129 if (*ps16GenBufPtr < s32BitSlice + 2) in sbc_enc_bit_alloc_ste()
132 *ps16GenArrPtr = ((*(ps16GenBufPtr)-s32BitSlice) < 16) in sbc_enc_bit_alloc_ste()
133 ? (int16_t)(*(ps16GenBufPtr)-s32BitSlice) in sbc_enc_bit_alloc_ste()
[all …]
Dsbc_enc_bit_alloc_mono.c49 int32_t s32BitSlice; /*number of bitslices in bitpool*/ in sbc_enc_bit_alloc_mono() local
107 s32BitSlice = s32MaxBitNeed + 1; in sbc_enc_bit_alloc_mono()
111 s32BitSlice--; in sbc_enc_bit_alloc_mono()
116 if ((((*ps16GenBufPtr - s32BitSlice) < 16) && in sbc_enc_bit_alloc_mono()
117 (*ps16GenBufPtr - s32BitSlice) >= 1)) { in sbc_enc_bit_alloc_mono()
118 if ((*ps16GenBufPtr - s32BitSlice) == 1) in sbc_enc_bit_alloc_mono()
131 s32BitSlice--; in sbc_enc_bit_alloc_mono()
138 if (*(ps16GenBufPtr) < s32BitSlice + 2) in sbc_enc_bit_alloc_mono()
141 *(ps16GenArrPtr) = ((*(ps16GenBufPtr)-s32BitSlice) < 16) in sbc_enc_bit_alloc_mono()
142 ? (int16_t)(*(ps16GenBufPtr)-s32BitSlice) in sbc_enc_bit_alloc_mono()
[all …]