Lines Matching refs:fillLevel
2226 static FIXP_DBL FDKaacEnc_calcBitSave(FIXP_DBL fillLevel, in FDKaacEnc_calcBitSave() argument
2234 fillLevel = fixMax(fillLevel, clipLow); in FDKaacEnc_calcBitSave()
2235 fillLevel = fixMin(fillLevel, clipHigh); in FDKaacEnc_calcBitSave()
2237 bitsave = maxBitSave - fMult((fillLevel - clipLow), bitsave_slope); in FDKaacEnc_calcBitSave()
2264 static FIXP_DBL FDKaacEnc_calcBitSpend(FIXP_DBL fillLevel, in FDKaacEnc_calcBitSpend() argument
2272 fillLevel = fixMax(fillLevel, clipLow); in FDKaacEnc_calcBitSpend()
2273 fillLevel = fixMin(fillLevel, clipHigh); in FDKaacEnc_calcBitSpend()
2275 bitspend = minBitSpend + fMult(fillLevel - clipLow, bitspend_slope); in FDKaacEnc_calcBitSpend()
2364 FIXP_DBL fillLevel; in FDKaacEnc_bitresCalcBitFac() local
2412 fillLevel = fDivNorm(bitresBits, avgBits, &fillLevel_e); in FDKaacEnc_bitresCalcBitFac()
2414 fillLevel = scaleValue(fillLevel, fillLevel_e); in FDKaacEnc_bitresCalcBitFac()
2418 fillLevel >>= 1; in FDKaacEnc_bitresCalcBitFac()
2421 fillLevel += scaleValue(FL2FXCONST_DBL(0.7f), -fillLevel_e); in FDKaacEnc_bitresCalcBitFac()
2423 if (scaleValue(bitresFac, -fillLevel_e + 1) > fillLevel) { in FDKaacEnc_bitresCalcBitFac()
2424 bitresFac = fillLevel; in FDKaacEnc_bitresCalcBitFac()