Lines Matching refs:excess
250 OI_UINT *excess) in adjustToFitBitpool() argument
294 *excess = bitpool - bitcount; in adjustToFitBitpool()
306 OI_INT excess) in allocAdjustedBits() argument
310 if (excess) { in allocAdjustedBits()
312 --excess; in allocAdjustedBits()
314 } else if ((bits == 1) && (excess > 1)) { in allocAdjustedBits()
316 excess -= 2; in allocAdjustedBits()
324 return excess; in allocAdjustedBits()
332 OI_INT excess) in allocExcessBits() argument
336 return excess - 1; in allocExcessBits()
338 return excess; in allocExcessBits()
348 OI_UINT excess; in oneChannelBitAllocation() local
358 excess = ex; in oneChannelBitAllocation()
368 excess = allocAdjustedBits(&allocBits[sb], bitneeds->uint8[sb] + bitadjust, excess); in oneChannelBitAllocation()
372 while (excess) { in oneChannelBitAllocation()
373 excess = allocExcessBits(&allocBits[sb], excess); in oneChannelBitAllocation()