Home
last modified time | relevance | path

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

/external/aac/libAACenc/src/
Daacenc_tns.cpp778 int sumSqrCoef; in FDKaacEnc_TnsDetect() local
809 sumSqrCoef = 0; in FDKaacEnc_TnsDetect()
811sumSqrCoef += tnsInfo->coef[subBlockNumber][HIFILT][i] * tnsInfo->coef[subBlockNumber][HIFILT][i]; in FDKaacEnc_TnsDetect()
818 …if ((tsbi->predictionGain > tC->confTab.threshOn[HIFILT]) || (sumSqrCoef > (tC->confTab.tnsLimitOr… in FDKaacEnc_TnsDetect()
847 sumSqrCoef = 0; in FDKaacEnc_TnsDetect()
849sumSqrCoef += tnsInfo->coef[subBlockNumber][LOFILT][i] * tnsInfo->coef[subBlockNumber][LOFILT][i]; in FDKaacEnc_TnsDetect()
857 || ( (sumSqrCoef > 9) && (sumSqrCoef < 22 * tC->confTab.tnsLimitOrder[LOFILT]) ) ) in FDKaacEnc_TnsDetect()
860 sumSqrCoef = 0; in FDKaacEnc_TnsDetect()
862sumSqrCoef += FDKabs(tnsInfo->coef[subBlockNumber][HIFILT][i] - tnsInfo->coef[subBlockNumber][LOFI… in FDKaacEnc_TnsDetect()
864 if ( (sumSqrCoef < 2) && in FDKaacEnc_TnsDetect()