diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2010-04-21 17:45:24 +0000 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2010-04-21 17:45:24 +0000 |
commit | 8955a9d79c9bc5b9bdcb333d8f41654c7920c60a (patch) | |
tree | 4b32770cd010826287719ec0c39595a5bafd3f42 /libavcodec/acelp_filters.h | |
parent | bb2dd9efd8e88a71882bb1fabe1dc5f8fa34afba (diff) |
Split input/output data arguments to ff_acelp_apply_order_2_transfer_function().
Originally committed as revision 22933 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/acelp_filters.h')
-rw-r--r-- | libavcodec/acelp_filters.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/acelp_filters.h b/libavcodec/acelp_filters.h index c5be5a6cb1..09b5da45be 100644 --- a/libavcodec/acelp_filters.h +++ b/libavcodec/acelp_filters.h @@ -92,14 +92,15 @@ void ff_acelp_high_pass_filter(int16_t* out, int hpf_f[2], /** * Apply an order 2 rational transfer function in-place. * - * @param samples [in/out] + * @param out output buffer for filtered speech samples + * @param in input buffer containing speech data (may be the same as out) * @param zero_coeffs z^-1 and z^-2 coefficients of the numerator * @param pole_coeffs z^-1 and z^-2 coefficients of the denominator * @param gain scale factor for final output * @param mem intermediate values used by filter (should be 0 initially) * @param n number of samples */ -void ff_acelp_apply_order_2_transfer_function(float *samples, +void ff_acelp_apply_order_2_transfer_function(float *out, const float *in, const float zero_coeffs[2], const float pole_coeffs[2], float gain, |