Home
last modified time | relevance | path

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

/external/aac/libAACenc/src/
Dmetadata_compressor.cpp179 FIXP_DBL smoothGain[2]; /*!< gain smoothing states */ member
581 FDKmemclear(drcComp->smoothGain, sizeof(drcComp->smoothGain)); in FDK_DRC_Generator_Initialize()
641 drcComp->smoothGain[i] = FL2FXCONST_DBL(0.f); in FDK_DRC_Generator_setDrcProfile()
785 drcComp->smoothGain[i] = FL2FXCONST_DBL(0.f); in FDK_DRC_Generator_Calc()
818 if (gain < drcComp->smoothGain[i]) { in FDK_DRC_Generator_Calc()
842 …if ((gain < drcComp->smoothGain[i]) || (drcComp->holdCnt[i] == 0)) { /* hold gain unless we have a… in FDK_DRC_Generator_Calc()
851 accu = fMult(((FIXP_DBL)MAXVAL_DBL-alpha), drcComp->smoothGain[i]); in FDK_DRC_Generator_Calc()
853 drcComp->smoothGain[i] = accu; in FDK_DRC_Generator_Calc()
860 if (gain < drcComp->smoothGain[i]) { in FDK_DRC_Generator_Calc()
867 drcComp->smoothGain[0] = FL2FXCONST_DBL(0.f); in FDK_DRC_Generator_Calc()
[all …]