[FFmpeg-cvslog] r17216 - trunk/libavcodec/lpc.c

jbr subversion
Fri Feb 13 23:01:46 CET 2009


Author: jbr
Date: Fri Feb 13 23:01:46 2009
New Revision: 17216

Log:
lpc: Document the use_lpc parameter to ff_lpc_calc_coefs().
Patch by Patrik Kullman (patrik A yes D nu).

Modified:
   trunk/libavcodec/lpc.c

Modified: trunk/libavcodec/lpc.c
==============================================================================
--- trunk/libavcodec/lpc.c	Fri Feb 13 22:56:00 2009	(r17215)
+++ trunk/libavcodec/lpc.c	Fri Feb 13 23:01:46 2009	(r17216)
@@ -94,6 +94,11 @@ static int estimate_best_order(double *r
 
 /**
  * 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,




More information about the ffmpeg-cvslog mailing list