diff acelp_filters.h @ 11648:0516f4062307 libavcodec

Split input/output data arguments to ff_acelp_apply_order_2_transfer_function().
author rbultje
date Wed, 21 Apr 2010 17:45:24 +0000
parents 9f35b262d3f0
children 0885e7a93ed4
line wrap: on
line diff
--- a/acelp_filters.h	Wed Apr 21 17:43:52 2010 +0000
+++ b/acelp_filters.h	Wed Apr 21 17:45:24 2010 +0000
@@ -92,14 +92,15 @@
 /**
  * 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,