Lines Matching refs:currPe
2019 static void FDKaacEnc_adjustPeMinMax(const INT currPe, in FDKaacEnc_adjustPeMinMax() argument
2026 INT minDiff_fix = fMultI(FL2FXCONST_DBL(0.1666666667f), currPe); in FDKaacEnc_adjustPeMinMax()
2028 if (currPe > *peMax) in FDKaacEnc_adjustPeMinMax()
2030 diff = (currPe-*peMax) ; in FDKaacEnc_adjustPeMinMax()
2034 else if (currPe < *peMin) in FDKaacEnc_adjustPeMinMax()
2036 diff = (*peMin-currPe) ; in FDKaacEnc_adjustPeMinMax()
2042 *peMin += fMultI(minFacHi, (currPe - *peMin)); in FDKaacEnc_adjustPeMinMax()
2043 *peMax -= fMultI(maxFacLo, (*peMax - currPe)); in FDKaacEnc_adjustPeMinMax()
2051 partLo_fix = (FIXP_DBL)fixMax(0, currPe - peMin_fix); in FDKaacEnc_adjustPeMinMax()
2052 partHi_fix = (FIXP_DBL)fixMax(0, peMax_fix - currPe); in FDKaacEnc_adjustPeMinMax()
2054 … peMax_fix = (INT)(currPe + fMultI(fDivNorm(partHi_fix, (partLo_fix+partHi_fix)), minDiff_fix)); in FDKaacEnc_adjustPeMinMax()
2055 … peMin_fix = (INT)(currPe - fMultI(fDivNorm(partLo_fix, (partLo_fix+partHi_fix)), minDiff_fix)); in FDKaacEnc_adjustPeMinMax()