Home
last modified time | relevance | path

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

/external/webrtc/modules/audio_coding/codecs/isac/main/source/
Dpitch_estimator.c197 double lags2[PITCH_MAX_NUM_PEAKS]; in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN() local
389 lags2[k] = (double) (lags1[k] + PITCH_BW - row); in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
403 lags2[k] += 0.5; in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
415 lags2[k] -= 0.5; in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
427 lags2[k] += 0.5; in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
439 lags2[k] -= 0.5; in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
453 Intrpol2D(T, &lags1[k], &lags2[k], &peak_vals[k]); in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
459 corr = peak_vals[k] * pow(PITCH_PEAK_DECAY, log(lags1[k] + lags2[k])); in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
467 lags2[peak] *= 2.0; in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
470 if (lags2[peak] < (double) PITCH_MIN_LAG) lags2[peak] = (double) PITCH_MIN_LAG; in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
[all …]