Home | History | Annotate | Download | only in srce

Lines Matching refs:bitneeds

115  * @param bitneed       Array to return bitneeds for each subband
124 OI_UINT computeBitneed(OI_CODEC_SBC_COMMON_CONTEXT* common, uint8_t* bitneeds,
147 bitneeds[sb] = bits;
148 if (bitneeds[sb] > 1) {
173 bitneeds[sb] = bits;
174 if (bitneeds[sb] > 1) {
192 * OI_INT bits = bitadjust + bitneeds[s];
226 * Computes adjustment +/- of bitneeds to fill bitpool and returns overall
231 * @param bitneeds An array of bit needs (more acturately allocation
245 OI_INT adjustToFitBitpool(const OI_UINT bitpool, uint32_t* bitneeds,
267 uint32_t n = bitneeds[i] + adjust4;
333 BITNEED_UNION1* bitneeds, OI_UINT ch,
343 bitadjust = adjustToFitBitpool(common->frameInfo.bitpool, bitneeds->uint32,
356 excess = allocAdjustedBits(&allocBits[sb], bitneeds->uint8[sb] + bitadjust,
368 BITNEED_UNION1 bitneeds;
372 bitcount = computeBitneed(common, bitneeds.uint8, 0, &bitpoolPreference);
374 oneChannelBitAllocation(common, &bitneeds, 0, bitcount);