Lines Matching refs:bitneeds
124 OI_UINT computeBitneed(OI_CODEC_SBC_COMMON_CONTEXT* common, uint8_t* bitneeds, in computeBitneed() argument
147 bitneeds[sb] = bits; in computeBitneed()
148 if (bitneeds[sb] > 1) { in computeBitneed()
173 bitneeds[sb] = bits; in computeBitneed()
174 if (bitneeds[sb] > 1) { in computeBitneed()
245 OI_INT adjustToFitBitpool(const OI_UINT bitpool, uint32_t* bitneeds, in adjustToFitBitpool() argument
267 uint32_t n = bitneeds[i] + adjust4; in adjustToFitBitpool()
333 BITNEED_UNION1* bitneeds, OI_UINT ch, in oneChannelBitAllocation() argument
343 bitadjust = adjustToFitBitpool(common->frameInfo.bitpool, bitneeds->uint32, in oneChannelBitAllocation()
356 excess = allocAdjustedBits(&allocBits[sb], bitneeds->uint8[sb] + bitadjust, in oneChannelBitAllocation()
368 BITNEED_UNION1 bitneeds; in monoBitAllocation() local
372 bitcount = computeBitneed(common, bitneeds.uint8, 0, &bitpoolPreference); in monoBitAllocation()
374 oneChannelBitAllocation(common, &bitneeds, 0, bitcount); in monoBitAllocation()