Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_coding/neteq/
Dexpand.cc437 size_t correlation_lag = best_correlation_index[best_index]; in AnalyzeSignal() local
438 max_lag_ = std::max(distortion_lag, correlation_lag); in AnalyzeSignal()
446 size_t start_index = std::min(distortion_lag, correlation_lag); in AnalyzeSignal()
448 WEBRTC_SPL_ABS_W16((distortion_lag-correlation_lag)) + 1); in AnalyzeSignal()
565 if (distortion_lag == correlation_lag) { in AnalyzeSignal()
575 expand_lags_[1] = (distortion_lag + correlation_lag) / 2; in AnalyzeSignal()
577 if (distortion_lag > correlation_lag) { in AnalyzeSignal()
578 expand_lags_[2] = (distortion_lag + correlation_lag - 1) / 2; in AnalyzeSignal()
580 expand_lags_[2] = (distortion_lag + correlation_lag + 1) / 2; in AnalyzeSignal()