Lines Matching refs:bitslice
169 int bitneed[2][8], loudness, max_bitneed, bitcount, slicecount, bitslice; in sbc_calculate_bits_internal() local
201 bitslice = max_bitneed + 1; in sbc_calculate_bits_internal()
203 bitslice--; in sbc_calculate_bits_internal()
207 if ((bitneed[ch][sb] > bitslice + 1) && (bitneed[ch][sb] < bitslice + 16)) in sbc_calculate_bits_internal()
209 else if (bitneed[ch][sb] == bitslice + 1) in sbc_calculate_bits_internal()
216 bitslice--; in sbc_calculate_bits_internal()
220 if (bitneed[ch][sb] < bitslice + 2) in sbc_calculate_bits_internal()
223 bits[ch][sb] = bitneed[ch][sb] - bitslice; in sbc_calculate_bits_internal()
234 } else if ((bitneed[ch][sb] == bitslice + 1) && (frame->bitpool > bitcount + 1)) { in sbc_calculate_bits_internal()
251 int bitneed[2][8], loudness, max_bitneed, bitcount, slicecount, bitslice; in sbc_calculate_bits_internal() local
286 bitslice = max_bitneed + 1; in sbc_calculate_bits_internal()
288 bitslice--; in sbc_calculate_bits_internal()
293 if ((bitneed[ch][sb] > bitslice + 1) && (bitneed[ch][sb] < bitslice + 16)) in sbc_calculate_bits_internal()
295 else if (bitneed[ch][sb] == bitslice + 1) in sbc_calculate_bits_internal()
303 bitslice--; in sbc_calculate_bits_internal()
308 if (bitneed[ch][sb] < bitslice + 2) { in sbc_calculate_bits_internal()
311 bits[ch][sb] = bitneed[ch][sb] - bitslice; in sbc_calculate_bits_internal()
324 } else if ((bitneed[ch][sb] == bitslice + 1) && (frame->bitpool > bitcount + 1)) { in sbc_calculate_bits_internal()