x86: lpc: simd av_update_lls
4x-6x faster on sandybridge Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
This commit is contained in:

committed by
Luca Barbato

parent
41578f70cf
commit
502ab21af0
@@ -200,7 +200,9 @@ int ff_lpc_calc_coefs(LPCContext *s,
|
||||
ref[i] = fabs(lpc[i][i]);
|
||||
} else if (lpc_type == FF_LPC_TYPE_CHOLESKY) {
|
||||
LLSModel m[2];
|
||||
double var[MAX_LPC_ORDER+1], av_uninit(weight);
|
||||
LOCAL_ALIGNED(32, double, var, [FFALIGN(MAX_LPC_ORDER+1,4)]);
|
||||
double av_uninit(weight);
|
||||
memset(var, 0, FFALIGN(MAX_LPC_ORDER+1,4)*sizeof(*var));
|
||||
|
||||
for(pass=0; pass<lpc_passes; pass++){
|
||||
avpriv_init_lls(&m[pass&1], max_order);
|
||||
|
Reference in New Issue
Block a user