Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Dpitch_estimator.c150 double lags2[PITCH_MAX_NUM_PEAKS]; in WebRtcIsac_InitializePitch() local
342 lags2[k] = (double) (lags1[k] + PITCH_BW - row); in WebRtcIsac_InitializePitch()
356 lags2[k] += 0.5; in WebRtcIsac_InitializePitch()
368 lags2[k] -= 0.5; in WebRtcIsac_InitializePitch()
380 lags2[k] += 0.5; in WebRtcIsac_InitializePitch()
392 lags2[k] -= 0.5; in WebRtcIsac_InitializePitch()
406 Intrpol2D(T, &lags1[k], &lags2[k], &peak_vals[k]); in WebRtcIsac_InitializePitch()
412 corr = peak_vals[k] * pow(PITCH_PEAK_DECAY, log(lags1[k] + lags2[k])); in WebRtcIsac_InitializePitch()
420 lags2[peak] *= 2.0; in WebRtcIsac_InitializePitch()
423 if (lags2[peak] < (double) PITCH_MIN_LAG) lags2[peak] = (double) PITCH_MIN_LAG; in WebRtcIsac_InitializePitch()
[all …]