diff celp_filters.h @ 9509:2838045383c5 libavcodec

Add LP zero synthesis filter. Patch by Kenan Gillet.
author reynaldo
date Sat, 18 Apr 2009 22:53:37 +0000
parents b9678ea8e5fb
children 24952f1a8979
line wrap: on
line diff
--- a/celp_filters.h	Sat Apr 18 20:23:13 2009 +0000
+++ b/celp_filters.h	Sat Apr 18 22:53:37 2009 +0000
@@ -91,4 +91,26 @@
         int buffer_length,
         int filter_length);
 
+/**
+ * LP zero synthesis filter.
+ * @param out [out] pointer to output buffer
+ * @param filter_coeffs filter coefficients.
+ * @param in input signal
+ *        - the array in[-filter_length, -1] must
+ *        contain the previous input of this filter
+ * @param buffer_length amount of data to process
+ * @param filter_length filter length (10 for 10th order LP filter)
+ *
+ * @note Output buffer must contain filter_length samples of past
+ *       speech data before pointer.
+ *
+ * Routine applies A(z) filter to given speech data.
+ */
+void ff_celp_lp_zero_synthesis_filterf(
+        float *out,
+        const float* filter_coeffs,
+        const float* in,
+        int buffer_length,
+        int filter_length);
+
 #endif /* AVCODEC_CELP_FILTERS_H */