comparison 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
comparison
equal deleted inserted replaced
9508:41ab6db265d0 9509:2838045383c5
89 const float* filter_coeffs, 89 const float* filter_coeffs,
90 const float* in, 90 const float* in,
91 int buffer_length, 91 int buffer_length,
92 int filter_length); 92 int filter_length);
93 93
94 /**
95 * LP zero synthesis filter.
96 * @param out [out] pointer to output buffer
97 * @param filter_coeffs filter coefficients.
98 * @param in input signal
99 * - the array in[-filter_length, -1] must
100 * contain the previous input of this filter
101 * @param buffer_length amount of data to process
102 * @param filter_length filter length (10 for 10th order LP filter)
103 *
104 * @note Output buffer must contain filter_length samples of past
105 * speech data before pointer.
106 *
107 * Routine applies A(z) filter to given speech data.
108 */
109 void ff_celp_lp_zero_synthesis_filterf(
110 float *out,
111 const float* filter_coeffs,
112 const float* in,
113 int buffer_length,
114 int filter_length);
115
94 #endif /* AVCODEC_CELP_FILTERS_H */ 116 #endif /* AVCODEC_CELP_FILTERS_H */