Revision 8955a9d7 libavcodec/acelp_filters.h

View differences:

libavcodec/acelp_filters.h
92 92
/**
93 93
 * Apply an order 2 rational transfer function in-place.
94 94
 *
95
 * @param samples [in/out]
95
 * @param out output buffer for filtered speech samples
96
 * @param in input buffer containing speech data (may be the same as out)
96 97
 * @param zero_coeffs z^-1 and z^-2 coefficients of the numerator
97 98
 * @param pole_coeffs z^-1 and z^-2 coefficients of the denominator
98 99
 * @param gain scale factor for final output
99 100
 * @param mem intermediate values used by filter (should be 0 initially)
100 101
 * @param n number of samples
101 102
 */
102
void ff_acelp_apply_order_2_transfer_function(float *samples,
103
void ff_acelp_apply_order_2_transfer_function(float *out, const float *in,
103 104
                                              const float zero_coeffs[2],
104 105
                                              const float pole_coeffs[2],
105 106
                                              float gain,

Also available in: Unified diff