Lines Matching refs:lag

516         const INT                 lag,  in FDKaacEnc_CalcAutoCorrValue()  argument
523 if (lag==0) { in FDKaacEnc_CalcAutoCorrValue()
529 for (i=startLine; i<(stopLine-lag); i++) { in FDKaacEnc_CalcAutoCorrValue()
530 result += (fMult(spectrum[i], spectrum[i+lag])>>scale); in FDKaacEnc_CalcAutoCorrValue()
597 int i, idx0, idx1, idx2, idx3, idx4, lag; in FDKaacEnc_MergedAutoCorrelation() local
658 for (lag = 1; lag <= maxOrder; lag++) { in FDKaacEnc_MergedAutoCorrelation()
660 FIXP_DBL x1 = FDKaacEnc_CalcAutoCorrValue(pSpectrum, idx0, idx1, lag, nsc1); in FDKaacEnc_MergedAutoCorrelation()
661 _rxx1[lag] = fMult(scaleValue(fMult(x1,fac1),sc_fac1), acfWindow[LOFILT][lag]); in FDKaacEnc_MergedAutoCorrelation()
666 for (lag = 1; lag <= maxOrder; lag++) { in FDKaacEnc_MergedAutoCorrelation()
667 if ((3 * lag) <= maxOrder + 3) { in FDKaacEnc_MergedAutoCorrelation()
668 FIXP_DBL x1 = FDKaacEnc_CalcAutoCorrValue(pSpectrum, idx0, idx1, lag, nsc1); in FDKaacEnc_MergedAutoCorrelation()
669 _rxx1[lag] = fMult(scaleValue(fMult(x1,fac1),sc_fac1), acfWindow[LOFILT][3*lag]); in FDKaacEnc_MergedAutoCorrelation()
700 for (lag = 1; lag <= maxOrder; lag++) { in FDKaacEnc_MergedAutoCorrelation()
702 …FIXP_DBL x2 = scaleValue(fMult(FDKaacEnc_CalcAutoCorrValue(pSpectrum, idx1, idx2, lag, nsc2), fac2… in FDKaacEnc_MergedAutoCorrelation()
703 … scaleValue(fMult(FDKaacEnc_CalcAutoCorrValue(pSpectrum, idx2, idx3, lag, nsc3), fac3),sc_fac3) + in FDKaacEnc_MergedAutoCorrelation()
704 … scaleValue(fMult(FDKaacEnc_CalcAutoCorrValue(pSpectrum, idx3, idx4, lag, nsc4), fac4),sc_fac4); in FDKaacEnc_MergedAutoCorrelation()
706 _rxx2[lag] = fMult(x2, acfWindow[HIFILT][lag]); in FDKaacEnc_MergedAutoCorrelation()