Searched defs:bitneeds (Results 1 - 2 of 2) sorted by relevance

/system/bt/embdrv/sbc/decoder/srce/
H A Dbitalloc-sbc.c52 BITNEED_UNION2 bitneeds; local
60 bitcount = computeBitneed(common, &bitneeds.uint8[0], 0, &bitpoolPreference);
61 bitcount += computeBitneed(common, &bitneeds.uint8[nrof_subbands], 1, &bitpoolPreference);
65 bitadjust = adjustToFitBitpool(common->frameInfo.bitpool, bitneeds.uint32, 2 * nrof_subbands, bitcount, &ex);
72 excess = allocAdjustedBits(&common->bits.uint8[sbL], bitneeds.uint8[sbL] + bitadjust, excess);
74 excess = allocAdjustedBits(&common->bits.uint8[sbR], bitneeds.uint8[sbR] + bitadjust, excess);
H A Dbitalloc.c109 * @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,
118 computeBitneed(OI_CODEC_SBC_COMMON_CONTEXT *common, OI_UINT8 *bitneeds, OI_UINT ch, OI_UINT *preferredBitpool) argument
246 adjustToFitBitpool(const OI_UINT bitpool, OI_UINT32 *bitneeds, const OI_UINT subbands, OI_UINT bitcount, OI_UINT *excess) argument
342 oneChannelBitAllocation(OI_CODEC_SBC_COMMON_CONTEXT *common, BITNEED_UNION1 *bitneeds, OI_UINT ch, OI_UINT bitcount) argument
381 BITNEED_UNION1 bitneeds; local
[all...]

Completed in 46 milliseconds