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

Unified Diff: patched-ffmpeg-mt/libavcodec/celp_filters.c

Issue 789004: ffmpeg roll of source to mar 9 version... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/ffmpeg/
Patch Set: '' Created 10 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: patched-ffmpeg-mt/libavcodec/celp_filters.c
===================================================================
--- patched-ffmpeg-mt/libavcodec/celp_filters.c (revision 41250)
+++ patched-ffmpeg-mt/libavcodec/celp_filters.c (working copy)
@@ -86,6 +86,13 @@
{
int i,n;
+#if 0 // Unoptimized code path for improved readability
+ for (n = 0; n < buffer_length; n++) {
+ out[n] = in[n];
+ for (i = 1; i <= filter_length; i++)
+ out[n] -= filter_coeffs[i-1] * out[n-i];
+ }
+#else
float out0, out1, out2, out3;
float old_out0, old_out1, old_out2, old_out3;
float a,b,c;
@@ -186,6 +193,7 @@
for (i = 1; i <= filter_length; i++)
out[n] -= filter_coeffs[i-1] * out[n-i];
}
+#endif
}
void ff_celp_lp_zero_synthesis_filterf(float *out, const float *filter_coeffs,

Powered by Google App Engine
This is Rietveld 408576698