summaryrefslogtreecommitdiff
path: root/libavcodec/lpc.c
diff options
context:
space:
mode:
authorPatrik Kullman <patrik@yes.nu>2009-02-13 22:01:46 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2009-02-13 22:01:46 +0000
commit83f63ffb2216a8c0271adac4fadb318b96452685 (patch)
treeddb32991924a074c4459eb731dfa01baf621dc5f /libavcodec/lpc.c
parent3c90870a2fbe756050dd1e78974a4638a4b16037 (diff)
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
Diffstat (limited to 'libavcodec/lpc.c')
-rw-r--r--libavcodec/lpc.c5
1 files changed, 5 insertions, 0 deletions
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,