Lines Matching refs:peMax
2289 static void FDKaacEnc_adjustPeMinMax(const INT currPe, INT *peMin, INT *peMax) { in FDKaacEnc_adjustPeMinMax() argument
2296 if (currPe > *peMax) { in FDKaacEnc_adjustPeMinMax()
2297 diff = (currPe - *peMax); in FDKaacEnc_adjustPeMinMax()
2299 *peMax += fMultI(maxFacHi, diff); in FDKaacEnc_adjustPeMinMax()
2303 *peMax -= fMultI(maxFacLo, diff); in FDKaacEnc_adjustPeMinMax()
2306 *peMax -= fMultI(maxFacLo, (*peMax - currPe)); in FDKaacEnc_adjustPeMinMax()
2309 if ((*peMax - *peMin) < minDiff_fix) { in FDKaacEnc_adjustPeMinMax()
2310 INT peMax_fix = *peMax, peMin_fix = *peMin; in FDKaacEnc_adjustPeMinMax()
2324 *peMax = peMax_fix; in FDKaacEnc_adjustPeMinMax()
2392 pex = fMin(pex, adjThrChan->peMax); in FDKaacEnc_bitresCalcBitFac()
2403 (adjThrChan->peMax - adjThrChan->peMin), 31); in FDKaacEnc_bitresCalcBitFac()
2434 FDKaacEnc_adjustPeMinMax(pe, &adjThrChan->peMin, &adjThrChan->peMax); in FDKaacEnc_bitresCalcBitFac()
2546 atsElem->peMax = fMultI(POINT6, meanPe) << 1; in FDKaacEnc_AdjThrInit()
2549 atsElem->peMax = fMultI(POINT6, meanPe); in FDKaacEnc_AdjThrInit()