comparison acelp_filters.h @ 7651:de64f2e14b13 libavcodec

Remove ff_acelp_weighted_filter() which is just a function wrapping a 1 line loop.
author michael
date Thu, 21 Aug 2008 23:22:11 +0000
parents 1e4ae5de68a4
children 999b818c33cc
comparison
equal deleted inserted replaced
7650:1e4ae5de68a4 7651:de64f2e14b13
102 int buffer_length, 102 int buffer_length,
103 int filter_length, 103 int filter_length,
104 int stop_on_overflow, 104 int stop_on_overflow,
105 int rounder); 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 * high-pass filtering and upscaling (4.2.5 of G.729). 109 * high-pass filtering and upscaling (4.2.5 of G.729).
125 * @param out [out] output buffer for filtered speech data 110 * @param out [out] output buffer for filtered speech data
126 * @param hpf_f [in/out] past filtered data from previous (2 items long) 111 * @param hpf_f [in/out] past filtered data from previous (2 items long)