summaryrefslogtreecommitdiff
path: root/libavcodec/lpc.c
diff options
context:
space:
mode:
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,