Commit 5776e61a authored by vitor's avatar vitor

Add commented-out unoptimized code to improve readability


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22136 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 1dfd37ce
......@@ -86,6 +86,13 @@ void ff_celp_lp_synthesis_filterf(float *out, const float *filter_coeffs,
{
int i,n;
#if 0 // Unoptimized code patch 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 @@ void ff_celp_lp_synthesis_filterf(float *out, const float *filter_coeffs,
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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment