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

/external/aac/libAACenc/src/
H A Daacenc_tns.cpp778 int sumSqrCoef; local
809 sumSqrCoef = 0;
811 sumSqrCoef += tnsInfo->coef[subBlockNumber][HIFILT][i] * tnsInfo->coef[subBlockNumber][HIFILT][i];
817 /* disable TNS if predictionGain is less than 3dB or sumSqrCoef is too small */
818 if ((tsbi->predictionGain > tC->confTab.threshOn[HIFILT]) || (sumSqrCoef > (tC->confTab.tnsLimitOrder[HIFILT]/2 + 2)))
847 sumSqrCoef = 0;
849 sumSqrCoef += tnsInfo->coef[subBlockNumber][LOFILT][i] * tnsInfo->coef[subBlockNumber][LOFILT][i];
857 || ( (sumSqrCoef > 9) && (sumSqrCoef < 22 * tC->confTab.tnsLimitOrder[LOFILT]) ) )
860 sumSqrCoef
[all...]

Completed in 422 milliseconds