Home
last modified time | relevance | path

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

/external/webrtc/modules/audio_coding/neteq/tools/
Dneteq_delay_analyzer.cc48 size_t lower_ix; in LinearInterpolate() local
50 lower_ix = upper_ix; in LinearInterpolate()
52 lower_ix = upper_ix - 1; in LinearInterpolate()
55 if (lower_ix == upper_ix) { in LinearInterpolate()
56 y = y_vec[lower_ix]; in LinearInterpolate()
58 RTC_DCHECK_NE(x_vec[lower_ix], x_vec[upper_ix]); in LinearInterpolate()
59 y = (x - x_vec[lower_ix]) * (y_vec[upper_ix] - y_vec[lower_ix]) / in LinearInterpolate()
60 (x_vec[upper_ix] - x_vec[lower_ix]) + in LinearInterpolate()
61 y_vec[lower_ix]; in LinearInterpolate()