Searched refs:bitneeds (Results 1 – 3 of 3) sorted by relevance
/packages/modules/Bluetooth/system/embdrv/sbc/decoder/srce/ |
D | bitalloc.c | 123 OI_UINT computeBitneed(OI_CODEC_SBC_COMMON_CONTEXT* common, uint8_t* bitneeds, OI_UINT ch, in computeBitneed() argument 145 bitneeds[sb] = bits; in computeBitneed() 146 if (bitneeds[sb] > 1) { in computeBitneed() 171 bitneeds[sb] = bits; in computeBitneed() 172 if (bitneeds[sb] > 1) { in computeBitneed() 243 OI_INT adjustToFitBitpool(const OI_UINT bitpool, uint32_t* bitneeds, const OI_UINT subbands, in adjustToFitBitpool() argument 264 uint32_t n = bitneeds[i] + adjust4; in adjustToFitBitpool() 329 void oneChannelBitAllocation(OI_CODEC_SBC_COMMON_CONTEXT* common, BITNEED_UNION1* bitneeds, in oneChannelBitAllocation() argument 339 bitadjust = adjustToFitBitpool(common->frameInfo.bitpool, bitneeds->uint32, nrof_subbands, in oneChannelBitAllocation() 352 excess = allocAdjustedBits(&allocBits[sb], bitneeds->uint8[sb] + bitadjust, excess); in oneChannelBitAllocation() [all …]
|
D | bitalloc-sbc.c | 51 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, &bitpoolPreference); in stereoBitAllocation() 64 bitadjust = adjustToFitBitpool(common->frameInfo.bitpool, bitneeds.uint32, 2 * nrof_subbands, in stereoBitAllocation() 72 excess = allocAdjustedBits(&common->bits.uint8[sbL], bitneeds.uint8[sbL] + bitadjust, excess); in stereoBitAllocation() 74 excess = allocAdjustedBits(&common->bits.uint8[sbR], bitneeds.uint8[sbR] + bitadjust, excess); in stereoBitAllocation()
|
/packages/modules/Bluetooth/system/embdrv/sbc/decoder/include/ |
D | oi_codec_sbc_private.h | 135 OI_UINT computeBitneed(OI_CODEC_SBC_COMMON_CONTEXT* common, uint8_t* bitneeds, OI_UINT ch, 138 void oneChannelBitAllocation(OI_CODEC_SBC_COMMON_CONTEXT* common, BITNEED_UNION1* bitneeds, 141 OI_INT adjustToFitBitpool(const OI_UINT bitpool, uint32_t* bitneeds, const OI_UINT subbands,
|