Home
last modified time | relevance | path

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

/system/bt/embdrv/sbc/decoder/srce/
Dbitalloc.c124 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()
[all …]
Dbitalloc-sbc.c51 BITNEED_UNION2 bitneeds; in stereoBitAllocation() local
59 bitcount = computeBitneed(common, &bitneeds.uint8[0], 0, &bitpoolPreference); in stereoBitAllocation()
60 bitcount += computeBitneed(common, &bitneeds.uint8[nrof_subbands], 1, in stereoBitAllocation()
65 bitadjust = adjustToFitBitpool(common->frameInfo.bitpool, bitneeds.uint32, in stereoBitAllocation()
74 bitneeds.uint8[sbL] + bitadjust, excess); in stereoBitAllocation()
77 bitneeds.uint8[sbR] + bitadjust, excess); in stereoBitAllocation()
/system/bt/embdrv/sbc/decoder/include/
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,