Home
last modified time | relevance | path

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

/system/bt/embdrv/sbc/decoder/srce/
Dbitalloc-sbc.c52 OI_UINT excess; in stereoBitAllocation() local
68 excess = ex; in stereoBitAllocation()
73 excess = allocAdjustedBits(&common->bits.uint8[sbL], in stereoBitAllocation()
74 bitneeds.uint8[sbL] + bitadjust, excess); in stereoBitAllocation()
76 excess = allocAdjustedBits(&common->bits.uint8[sbR], in stereoBitAllocation()
77 bitneeds.uint8[sbR] + bitadjust, excess); in stereoBitAllocation()
82 while (excess) { in stereoBitAllocation()
83 excess = allocExcessBits(&common->bits.uint8[sbL], excess); in stereoBitAllocation()
85 if (!excess) { in stereoBitAllocation()
88 excess = allocExcessBits(&common->bits.uint8[sbR], excess); in stereoBitAllocation()
Dbitalloc.c247 OI_UINT* excess) { in adjustToFitBitpool() argument
290 *excess = bitpool - bitcount; in adjustToFitBitpool()
300 INLINE OI_INT allocAdjustedBits(uint8_t* dest, OI_INT bits, OI_INT excess) { in allocAdjustedBits() argument
303 if (excess) { in allocAdjustedBits()
305 --excess; in allocAdjustedBits()
307 } else if ((bits == 1) && (excess > 1)) { in allocAdjustedBits()
309 excess -= 2; in allocAdjustedBits()
317 return excess; in allocAdjustedBits()
323 INLINE OI_INT allocExcessBits(uint8_t* dest, OI_INT excess) { in allocExcessBits() argument
326 return excess - 1; in allocExcessBits()
[all …]
/system/bt/embdrv/sbc/decoder/include/
Doi_codec_sbc_private.h145 OI_UINT* excess);
147 INLINE OI_INT allocAdjustedBits(uint8_t* dest, OI_INT bits, OI_INT excess);
149 INLINE OI_INT allocExcessBits(uint8_t* dest, OI_INT excess);