aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/celp_filters.h
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2009-12-16 17:09:33 +0000
committerVitor Sessak <vitor1001@gmail.com>2009-12-16 17:09:33 +0000
commit6ef607c2d58089a54752d06633fcb1cc078402e5 (patch)
treef5aab04313826691b57f651b84d945b194798b1c /libavcodec/celp_filters.h
parent5ad14c6c3a9cf8d096675d60b8d82419516965de (diff)
downloadffmpeg-6ef607c2d58089a54752d06633fcb1cc078402e5.tar.gz
Optimize ff_celp_lp_synthesis_filterf(). 50% faster in my tests.
Originally committed as revision 20884 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/celp_filters.h')
-rw-r--r--libavcodec/celp_filters.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/celp_filters.h b/libavcodec/celp_filters.h
index d9db95d454..6069a3fcff 100644
--- a/libavcodec/celp_filters.h
+++ b/libavcodec/celp_filters.h
@@ -90,7 +90,8 @@ int ff_celp_lp_synthesis_filter(int16_t *out,
* @param filter_coeffs filter coefficients.
* @param in input signal
* @param buffer_length amount of data to process
- * @param filter_length filter length (10 for 10th order LP filter)
+ * @param filter_length filter length (10 for 10th order LP filter). Must be
+ * greater than 4 and even.
*
* @note Output buffer must contain filter_length samples of past
* speech data before pointer.