Home
last modified time | relevance | path

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

/external/aac/libAACenc/src/
Daacenc_tns.cpp765 int sumSqrCoef; in FDKaacEnc_TnsDetect() local
797 sumSqrCoef = 0; in FDKaacEnc_TnsDetect()
799sumSqrCoef += tnsInfo->coef[subBlockNumber][HIFILT][i] * tnsInfo->coef[subBlockNumber][HIFILT][i]; in FDKaacEnc_TnsDetect()
806 …if ((tsbi->predictionGain[HIFILT] > tC->confTab.threshOn[HIFILT]) || (sumSqrCoef > (tC->confTab.tn… in FDKaacEnc_TnsDetect()
835 sumSqrCoef = 0; in FDKaacEnc_TnsDetect()
837sumSqrCoef += tnsInfo->coef[subBlockNumber][LOFILT][i] * tnsInfo->coef[subBlockNumber][LOFILT][i]; in FDKaacEnc_TnsDetect()
845 || ( (sumSqrCoef > 9) && (sumSqrCoef < 22 * tC->confTab.tnsLimitOrder[LOFILT]) ) ) in FDKaacEnc_TnsDetect()
849 sumSqrCoef = 0; in FDKaacEnc_TnsDetect()
851sumSqrCoef += FDKabs(tnsInfo->coef[subBlockNumber][HIFILT][i] - tnsInfo->coef[subBlockNumber][LOFI… in FDKaacEnc_TnsDetect()
853 if ( (sumSqrCoef < 2) && in FDKaacEnc_TnsDetect()