From 83f63ffb2216a8c0271adac4fadb318b96452685 Mon Sep 17 00:00:00 2001 From: Patrik Kullman Date: Fri, 13 Feb 2009 22:01:46 +0000 Subject: [PATCH] lpc: Document the use_lpc parameter to ff_lpc_calc_coefs(). Patch by Patrik Kullman (patrik A yes D nu). Originally committed as revision 17216 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/lpc.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libavcodec/lpc.c b/libavcodec/lpc.c index dd145ca875..7f951b44a1 100644 --- a/libavcodec/lpc.c +++ b/libavcodec/lpc.c @@ -94,6 +94,11 @@ static int estimate_best_order(double *ref, int min_order, int max_order) /** * Calculate LPC coefficients for multiple orders + * + * @param use_lpc LPC method for determining coefficients + * 0 = LPC with fixed pre-defined coeffs + * 1 = LPC with coeffs determined by Levinson-Durbin recursion + * 2+ = LPC with coeffs determined by Cholesky factorization using (use_lpc-1) passes. */ int ff_lpc_calc_coefs(DSPContext *s, const int32_t *samples, int blocksize, int min_order,