comparison celp_filters.h @ 10689:d124d9b688d0 libavcodec

Optimize ff_celp_lp_synthesis_filterf(). 50% faster in my tests.
author vitor
date Wed, 16 Dec 2009 17:09:33 +0000
parents d35904b4fe3f
children 63451af5f8f9
comparison
equal deleted inserted replaced
10688:750102456f00 10689:d124d9b688d0
88 * - the array out[-filter_length, -1] must 88 * - the array out[-filter_length, -1] must
89 * contain the previous result of this filter 89 * contain the previous result of this filter
90 * @param filter_coeffs filter coefficients. 90 * @param filter_coeffs filter coefficients.
91 * @param in input signal 91 * @param in input signal
92 * @param buffer_length amount of data to process 92 * @param buffer_length amount of data to process
93 * @param filter_length filter length (10 for 10th order LP filter) 93 * @param filter_length filter length (10 for 10th order LP filter). Must be
94 * greater than 4 and even.
94 * 95 *
95 * @note Output buffer must contain filter_length samples of past 96 * @note Output buffer must contain filter_length samples of past
96 * speech data before pointer. 97 * speech data before pointer.
97 * 98 *
98 * Routine applies 1/A(z) filter to given speech data. 99 * Routine applies 1/A(z) filter to given speech data.