Home
last modified time | relevance | path

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

/external/aac/libAACenc/src/
Dadj_thr.cpp2379 FIXP_DBL corrFac = *correctionFac_m; in FDKaacEnc_FDKaacEnc_calcPeCorrection() local
2393 if ( ((newFac > FL2FXCONST_DBL(1.f/2.f)) && (corrFac < FL2FXCONST_DBL(1.f/2.f))) in FDKaacEnc_FDKaacEnc_calcPeCorrection()
2394 || ((newFac < FL2FXCONST_DBL(1.f/2.f)) && (corrFac > FL2FXCONST_DBL(1.f/2.f)))) in FDKaacEnc_FDKaacEnc_calcPeCorrection()
2396 corrFac = FL2FXCONST_DBL(1.f/2.f); in FDKaacEnc_FDKaacEnc_calcPeCorrection()
2400 if ( (corrFac < FL2FXCONST_DBL(1.f/2.f) && newFac < corrFac) in FDKaacEnc_FDKaacEnc_calcPeCorrection()
2401 || (corrFac > FL2FXCONST_DBL(1.f/2.f) && newFac > corrFac) ) in FDKaacEnc_FDKaacEnc_calcPeCorrection()
2403 corrFac = fMult(FL2FXCONST_DBL(0.85f), corrFac) + fMult(FL2FXCONST_DBL(0.15f), newFac); in FDKaacEnc_FDKaacEnc_calcPeCorrection()
2406 corrFac = fMult(FL2FXCONST_DBL(0.7f), corrFac) + fMult(FL2FXCONST_DBL(0.3f), newFac); in FDKaacEnc_FDKaacEnc_calcPeCorrection()
2409 corrFac = fixMax( fixMin( corrFac, FL2FXCONST_DBL(1.15f/2.f) ), FL2FXCONST_DBL(0.85/2.f) ); in FDKaacEnc_FDKaacEnc_calcPeCorrection()
2411 *correctionFac_m = corrFac; in FDKaacEnc_FDKaacEnc_calcPeCorrection()