Searched refs:bitneeds (Results 1 - 3 of 3) sorted by relevance

/system/bt/embdrv/sbc/decoder/srce/
H A Dbitalloc.c115 * @param bitneed Array to return bitneeds for each subband
124 OI_UINT computeBitneed(OI_CODEC_SBC_COMMON_CONTEXT* common, uint8_t* bitneeds, argument
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, argument
332 oneChannelBitAllocation(OI_CODEC_SBC_COMMON_CONTEXT* common, BITNEED_UNION1* bitneeds, OI_UINT ch, OI_UINT bitcount) argument
368 BITNEED_UNION1 bitneeds; local
[all...]
H A Dbitalloc-sbc.c51 BITNEED_UNION2 bitneeds; local
59 bitcount = computeBitneed(common, &bitneeds.uint8[0], 0, &bitpoolPreference);
60 bitcount += computeBitneed(common, &bitneeds.uint8[nrof_subbands], 1,
65 bitadjust = adjustToFitBitpool(common->frameInfo.bitpool, bitneeds.uint32,
74 bitneeds.uint8[sbL] + bitadjust, excess);
77 bitneeds.uint8[sbR] + bitadjust, excess);
/system/bt/embdrv/sbc/decoder/include/
H A Doi_codec_sbc_private.h136 OI_UINT computeBitneed(OI_CODEC_SBC_COMMON_CONTEXT* common, uint8_t* bitneeds,
140 BITNEED_UNION1* bitneeds, OI_UINT ch,
143 OI_INT adjustToFitBitpool(const OI_UINT bitpool, uint32_t* bitneeds,

Completed in 57 milliseconds