Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(696)

Unified Diff: media/filters/wsola_internals.h

Issue 217553004: Handle near-colinear case in WSOLAS QuadraticInterpolation better. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/filters/wsola_internals.h
diff --git a/media/filters/wsola_internals.h b/media/filters/wsola_internals.h
index 55fff04d30bc463b3abed791e6d3a431bfdb09cc..cdaa0c83081dce3aa345b9cc4c94578ea08ba5be 100644
--- a/media/filters/wsola_internals.h
+++ b/media/filters/wsola_internals.h
@@ -48,9 +48,9 @@ MEDIA_EXPORT void MultiChannelMovingBlockEnergies(const AudioBus* input,
//
// It is not expected that this function is called with
// y[0] == y[1] == y[2].
-MEDIA_EXPORT void CubicInterpolation(const float* y_values,
- float* extremum,
- float* extremum_value);
+MEDIA_EXPORT void QuadraticInterpolation(const float* y_values,
+ float* extremum,
+ float* extremum_value);
// Search a subset of all candid blocks. The search is performed every
// |decimation| frames. This reduces complexity by a factor of about

Powered by Google App Engine
This is Rietveld 408576698