Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Dpitch_estimator.c149 double lags1[PITCH_MAX_NUM_PEAKS]; in WebRtcIsac_InitializePitch() local
341 lags1[k] = (double) ((peak - row * (PITCH_LAG_SPAN2+4)) + PITCH_MIN_LAG/2 - 4); in WebRtcIsac_InitializePitch()
342 lags2[k] = (double) (lags1[k] + PITCH_BW - row); in WebRtcIsac_InitializePitch()
355 lags1[k] -= 0.5; in WebRtcIsac_InitializePitch()
367 lags1[k] -= 0.5; in WebRtcIsac_InitializePitch()
379 lags1[k] += 0.5; in WebRtcIsac_InitializePitch()
391 lags1[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()
419 lags1[peak] *= 2.0; in WebRtcIsac_InitializePitch()
[all …]