diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-08-22 03:22:11 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-08-22 03:22:11 +0400 |
commit | cd523888f304d297bb7dec5d358d0ee92576cc44 (patch) | |
tree | c25080840a22b7591e68705b5e0283db2479cc8c /libavcodec/acelp_filters.c | |
parent | 5038ecb1f17099ad9dc1d1e79516d9f6550e1ebd (diff) |
Remove ff_acelp_weighted_filter() which is just a function wrapping a 1
line loop.
Originally committed as revision 14895 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/acelp_filters.c')
-rw-r--r-- | libavcodec/acelp_filters.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/libavcodec/acelp_filters.c b/libavcodec/acelp_filters.c index a75d2291cd..78937050c3 100644 --- a/libavcodec/acelp_filters.c +++ b/libavcodec/acelp_filters.c @@ -141,17 +141,6 @@ int ff_acelp_lp_synthesis_filter( return 0; } -void ff_acelp_weighted_filter( - int16_t *out, - const int16_t* in, - const int16_t *weight_pow, - int filter_length) -{ - int n; - for(n=0; n<filter_length; n++) - out[n] = (in[n] * weight_pow[n] + 0x4000) >> 15; /* (3.12) = (0.15) * (3.12) with rounding */ -} - void ff_acelp_high_pass_filter( int16_t* out, int hpf_f[2], |