Home
last modified time | relevance | path

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

/external/aac/libAACenc/src/
Dadj_thr.cpp2289 static void FDKaacEnc_adjustPeMinMax(const INT currPe, INT *peMin, INT *peMax) { in FDKaacEnc_adjustPeMinMax() argument
2294 INT minDiff_fix = fMultI(FL2FXCONST_DBL(0.1666666667f), currPe); in FDKaacEnc_adjustPeMinMax()
2296 if (currPe > *peMax) { in FDKaacEnc_adjustPeMinMax()
2297 diff = (currPe - *peMax); in FDKaacEnc_adjustPeMinMax()
2300 } else if (currPe < *peMin) { in FDKaacEnc_adjustPeMinMax()
2301 diff = (*peMin - currPe); in FDKaacEnc_adjustPeMinMax()
2305 *peMin += fMultI(minFacHi, (currPe - *peMin)); in FDKaacEnc_adjustPeMinMax()
2306 *peMax -= fMultI(maxFacLo, (*peMax - currPe)); in FDKaacEnc_adjustPeMinMax()
2313 partLo_fix = (FIXP_DBL)fixMax(0, currPe - peMin_fix); in FDKaacEnc_adjustPeMinMax()
2314 partHi_fix = (FIXP_DBL)fixMax(0, peMax_fix - currPe); in FDKaacEnc_adjustPeMinMax()
[all …]