Lines Matching defs:bitneeds
109 * @param bitneed Array to return bitneeds for each subband
119 OI_UINT8 *bitneeds,
150 if ((bitneeds[sb] = bits) > 1) {
175 if ((bitneeds[sb] = bits) > 1) {
194 * OI_INT bits = bitadjust + bitneeds[s];
229 * Computes adjustment +/- of bitneeds to fill bitpool and returns overall
234 * @param bitneeds An array of bit needs (more acturately allocation prioritities) for each
247 OI_UINT32 *bitneeds,
271 OI_UINT32 n = bitneeds[i] + adjust4;
343 BITNEED_UNION1 *bitneeds,
356 bitadjust = adjustToFitBitpool(common->frameInfo.bitpool, bitneeds->uint32, nrof_subbands, bitcount, &ex);
368 excess = allocAdjustedBits(&allocBits[sb], bitneeds->uint8[sb] + bitadjust, excess);
381 BITNEED_UNION1 bitneeds;
385 bitcount = computeBitneed(common, bitneeds.uint8, 0, &bitpoolPreference);
387 oneChannelBitAllocation(common, &bitneeds, 0, bitcount);