Home
last modified time | relevance | path

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

/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
Dpitch_estimator.c148 double lags1[PITCH_MAX_NUM_PEAKS]; in WebRtcIsac_InitializePitch() local
340 lags1[k] = (double) ((peak - row * (PITCH_LAG_SPAN2+4)) + PITCH_MIN_LAG/2 - 4); in WebRtcIsac_InitializePitch()
341 lags2[k] = (double) (lags1[k] + PITCH_BW - row); in WebRtcIsac_InitializePitch()
354 lags1[k] -= 0.5; in WebRtcIsac_InitializePitch()
366 lags1[k] -= 0.5; in WebRtcIsac_InitializePitch()
378 lags1[k] += 0.5; in WebRtcIsac_InitializePitch()
390 lags1[k] += 0.5; in WebRtcIsac_InitializePitch()
405 Intrpol2D(T, &lags1[k], &lags2[k], &peak_vals[k]); in WebRtcIsac_InitializePitch()
411 corr = peak_vals[k] * pow(PITCH_PEAK_DECAY, log(lags1[k] + lags2[k])); in WebRtcIsac_InitializePitch()
418 lags1[peak] *= 2.0; in WebRtcIsac_InitializePitch()
[all …]