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