changeset 8824:9f929379bbca libavcodec

lpc: Document the use_lpc parameter to ff_lpc_calc_coefs(). Patch by Patrik Kullman (patrik A yes D nu).
author jbr
date Fri, 13 Feb 2009 22:01:46 +0000
parents 70ea65c17597
children 51274aff81fe
files lpc.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lpc.c	Fri Feb 13 16:07:20 2009 +0000
+++ b/lpc.c	Fri Feb 13 22:01:46 2009 +0000
@@ -94,6 +94,11 @@
 
 /**
  * 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,