FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
LLSModel Struct Reference

Linear least squares model. More...

#include <lls.h>

Data Fields

double covariance [(((32+1)+(4)-1)&~((4)-1))][(((32+1)+(4)-1)&~((4)-1))]
 
double coeff [32][32]
 
double variance [MAX_VARS]
 
int indep_count
 
void(* update_lls )(struct LLSModel *m, double *var)
 Take the outer-product of var[] with itself, and add to the covariance matrix.
 
double(* evaluate_lls )(struct LLSModel *m, double *var, int order)
 Inner product of var[] and the LPC coefs.
 

Detailed Description

Linear least squares model.

Definition at line 38 of file lls.h.

Field Documentation

double LLSModel::covariance[(((32+1)+(4)-1)&~((4)-1))][(((32+1)+(4)-1)&~((4)-1))]

Definition at line 39 of file lls.h.

Referenced by avpriv_solve_lls(), and update_lls().

double LLSModel::coeff[32][32]

Definition at line 40 of file lls.h.

Referenced by avpriv_solve_lls(), evaluate_lls(), and ff_lpc_calc_coefs().

double LLSModel::variance[MAX_VARS]

Definition at line 41 of file lls.h.

Referenced by avpriv_solve_lls().

int LLSModel::indep_count

Definition at line 42 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, double *var)

Take the outer-product of var[] with itself, and add to the covariance matrix.

Parameters
mthis context
vartraining 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 50 of file lls.h.

Referenced by avpriv_init_lls(), ff_init_lls_x86(), and ff_lpc_calc_coefs().

double(* LLSModel::evaluate_lls)(struct LLSModel *m, double *var, int order)

Inner product of var[] and the LPC coefs.

Parameters
mthis context
vartraining samples, excluding the value to be predicted. unaligned.
orderlpc order

Definition at line 57 of file lls.h.

Referenced by avpriv_init_lls(), ff_init_lls_x86(), and ff_lpc_calc_coefs().


The documentation for this struct was generated from the following file: