Home
last modified time | relevance | path

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

/external/webrtc/modules/audio_coding/codecs/isac/main/source/
Dpitch_estimator.c196 double lags1[PITCH_MAX_NUM_PEAKS]; in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN() local
388 lags1[k] = (double) ((peak - row * (PITCH_LAG_SPAN2+4)) + PITCH_MIN_LAG/2 - 4); in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
389 lags2[k] = (double) (lags1[k] + PITCH_BW - row); in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
402 lags1[k] -= 0.5; in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
414 lags1[k] -= 0.5; in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
426 lags1[k] += 0.5; in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
438 lags1[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()
466 lags1[peak] *= 2.0; in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
[all …]