# HG changeset patch # User michael # Date 1219360931 0 # Node ID de64f2e14b1381156ddc9a6b410a9c74fa42e451 # Parent 1e4ae5de68a4d1df9959026e07fbff2b8ac952bf Remove ff_acelp_weighted_filter() which is just a function wrapping a 1 line loop. diff -r 1e4ae5de68a4 -r de64f2e14b13 acelp_filters.c --- a/acelp_filters.c Thu Aug 21 22:41:20 2008 +0000 +++ b/acelp_filters.c Thu Aug 21 23:22:11 2008 +0000 @@ -141,17 +141,6 @@ 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> 15; /* (3.12) = (0.15) * (3.12) with rounding */ -} - void ff_acelp_high_pass_filter( int16_t* out, int hpf_f[2], diff -r 1e4ae5de68a4 -r de64f2e14b13 acelp_filters.h --- a/acelp_filters.h Thu Aug 21 22:41:20 2008 +0000 +++ b/acelp_filters.h Thu Aug 21 23:22:11 2008 +0000 @@ -104,21 +104,6 @@ int stop_on_overflow, int rounder); -/** - * Calculates coefficients of weighted A(z/weight) filter. - * @param out [out] weighted A(z/weight) result - * filter (-0x8000 <= (3.12) < 0x8000) - * @param in source filter (-0x8000 <= (3.12) < 0x8000) - * @param weight_pow array containing weight^i (-0x8000 <= (0.15) < 0x8000) - * @param filter_length filter length (11 for 10th order LP filter) - * - * out[i]=weight_pow[i]*in[i] , i=0..9 - */ -void ff_acelp_weighted_filter( - int16_t *out, - const int16_t* in, - const int16_t *weight_pow, - int filter_length); /** * high-pass filtering and upscaling (4.2.5 of G.729).