Lines Matching refs:sb
135 OI_UINT sb; in computeBitneed() local
142 for (sb = 0; sb < nrof_subbands; sb++) { in computeBitneed()
143 OI_INT bits = scale_factor[sb]; in computeBitneed()
147 bitneeds[sb] = bits; in computeBitneed()
148 if (bitneeds[sb] > 1) { in computeBitneed()
160 for (sb = 0; sb < nrof_subbands; sb++) { in computeBitneed()
161 OI_INT bits = scale_factor[sb]; in computeBitneed()
167 bits -= offset[sb]; in computeBitneed()
173 bitneeds[sb] = bits; in computeBitneed()
174 if (bitneeds[sb] > 1) { in computeBitneed()
337 OI_UINT sb; in oneChannelBitAllocation() local
354 sb = 0; in oneChannelBitAllocation()
355 while (sb < nrof_subbands) { in oneChannelBitAllocation()
356 excess = allocAdjustedBits(&allocBits[sb], bitneeds->uint8[sb] + bitadjust, in oneChannelBitAllocation()
358 ++sb; in oneChannelBitAllocation()
360 sb = 0; in oneChannelBitAllocation()
362 excess = allocExcessBits(&allocBits[sb], excess); in oneChannelBitAllocation()
363 ++sb; in oneChannelBitAllocation()