summaryrefslogtreecommitdiff
path: root/libavutil/lls.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/lls.h')
-rw-r--r--libavutil/lls.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/libavutil/lls.h b/libavutil/lls.h
index a75095faf9..5c603e467a 100644
--- a/libavutil/lls.h
+++ b/libavutil/lls.h
@@ -30,13 +30,14 @@
*/
typedef struct LLSModel{
double covariance[MAX_VARS+1][MAX_VARS+1];
- double coeff[MAX_VARS];
+ double coeff[MAX_VARS][MAX_VARS];
+ double variance[MAX_VARS];
int indep_count;
}LLSModel;
void av_init_lls(LLSModel *m, int indep_count);
void av_update_lls(LLSModel *m, double *param, double decay);
-double av_solve_lls(LLSModel *m, double threshold);
-double av_evaluate_lls(LLSModel *m, double *param);
+void av_solve_lls(LLSModel *m, double threshold, int min_order);
+double av_evaluate_lls(LLSModel *m, double *param, int order);
#endif