Originally committed as revision 14895 to svn://svn.ffmpeg.org/ffmpeg/trunk
| ... | ... |
@@ -141,17 +141,6 @@ int ff_acelp_lp_synthesis_filter( |
| 141 | 141 |
return 0; |
| 142 | 142 |
} |
| 143 | 143 |
|
| 144 |
-void ff_acelp_weighted_filter( |
|
| 145 |
- int16_t *out, |
|
| 146 |
- const int16_t* in, |
|
| 147 |
- const int16_t *weight_pow, |
|
| 148 |
- int filter_length) |
|
| 149 |
-{
|
|
| 150 |
- int n; |
|
| 151 |
- for(n=0; n<filter_length; n++) |
|
| 152 |
- out[n] = (in[n] * weight_pow[n] + 0x4000) >> 15; /* (3.12) = (0.15) * (3.12) with rounding */ |
|
| 153 |
-} |
|
| 154 |
- |
|
| 155 | 144 |
void ff_acelp_high_pass_filter( |
| 156 | 145 |
int16_t* out, |
| 157 | 146 |
int hpf_f[2], |
| ... | ... |
@@ -104,21 +104,6 @@ int ff_acelp_lp_synthesis_filter( |
| 104 | 104 |
int stop_on_overflow, |
| 105 | 105 |
int rounder); |
| 106 | 106 |
|
| 107 |
-/** |
|
| 108 |
- * Calculates coefficients of weighted A(z/weight) filter. |
|
| 109 |
- * @param out [out] weighted A(z/weight) result |
|
| 110 |
- * filter (-0x8000 <= (3.12) < 0x8000) |
|
| 111 |
- * @param in source filter (-0x8000 <= (3.12) < 0x8000) |
|
| 112 |
- * @param weight_pow array containing weight^i (-0x8000 <= (0.15) < 0x8000) |
|
| 113 |
- * @param filter_length filter length (11 for 10th order LP filter) |
|
| 114 |
- * |
|
| 115 |
- * out[i]=weight_pow[i]*in[i] , i=0..9 |
|
| 116 |
- */ |
|
| 117 |
-void ff_acelp_weighted_filter( |
|
| 118 |
- int16_t *out, |
|
| 119 |
- const int16_t* in, |
|
| 120 |
- const int16_t *weight_pow, |
|
| 121 |
- int filter_length); |
|
| 122 | 107 |
|
| 123 | 108 |
/** |
| 124 | 109 |
* high-pass filtering and upscaling (4.2.5 of G.729). |