diff acelp_filters.h @ 7161:2b763a495c07 libavcodec

Add a rounding parameter to ff_acelp_lp_synthesis_filter()
author vitor
date Sun, 29 Jun 2008 11:19:50 +0000
parents 94465a2c3b34
children 3c7f3265f970
line wrap: on
line diff
--- a/acelp_filters.h	Sun Jun 29 08:32:27 2008 +0000
+++ b/acelp_filters.h	Sun Jun 29 11:19:50 2008 +0000
@@ -128,6 +128,7 @@
  * \param filter_length filter length (11 for 10th order LP filter)
  * \param stop_on_overflow   1 - return immediately if overflow occurs
  *                           0 - ignore overflows
+ * \param rounder the amount to add for rounding (usually 0x800 or 0xfff)
  *
  * \return 1 if overflow occurred, 0 - otherwise
  *
@@ -142,7 +143,8 @@
         const int16_t* in,
         int buffer_length,
         int filter_length,
-        int stop_on_overflow);
+        int stop_on_overflow,
+        int rounder);
 
 /**
  * \brief Calculates coefficients of weighted A(z/weight) filter.