FFmpeg
|
Linear least squares model. More...
#include <lls.h>
Data Fields | |
double | covariance [(((32+1)+(4) -1)&~((4) -1))][MAX_VARS_ALIGN] |
double | coeff [32][MAX_VARS] |
double | variance [MAX_VARS] |
int | indep_count |
void(* | update_lls )(struct LLSModel *m, const double *var) |
Take the outer-product of var[] with itself, and add to the covariance matrix. More... | |
double(* | evaluate_lls )(struct LLSModel *m, const double *var, int order) |
Inner product of var[] and the LPC coefs. More... | |
double LLSModel::covariance[((( 32+1)+(4) -1)&~((4) -1))][MAX_VARS_ALIGN] |
Definition at line 38 of file lls.h.
Referenced by avpriv_solve_lls(), and update_lls().
double LLSModel::coeff[32][MAX_VARS] |
Definition at line 39 of file lls.h.
Referenced by avpriv_solve_lls(), evaluate_lls(), ff_lpc_calc_coefs(), and main().
double LLSModel::variance[MAX_VARS] |
Definition at line 40 of file lls.h.
Referenced by avpriv_solve_lls(), and main().
int LLSModel::indep_count |
Definition at line 41 of file lls.h.
Referenced by avpriv_init_lls(), avpriv_solve_lls(), ff_init_lls_x86(), and update_lls().
void(* LLSModel::update_lls) (struct LLSModel *m, const double *var) |
Take the outer-product of var[] with itself, and add to the covariance matrix.
m | this context |
var | training samples, starting with the value to be predicted 32-byte aligned, and any padding elements must be initialized (i.e not denormal/nan). |
Definition at line 49 of file lls.h.
Referenced by avpriv_init_lls(), ff_init_lls_x86(), ff_lpc_calc_coefs(), and main().
Inner product of var[] and the LPC coefs.
m | this context |
var | training samples, excluding the value to be predicted. unaligned. |
order | lpc order |
Definition at line 56 of file lls.h.
Referenced by avpriv_init_lls(), ff_init_lls_x86(), ff_lpc_calc_coefs(), and main().