From 5fdbfcb5b793f5849c496214668094a8ec99fa07 Mon Sep 17 00:00:00 2001 From: Christophe Gisquet Date: Wed, 5 Feb 2014 23:40:52 +0000 Subject: dcadsp: split lfe_dir cases The x86 runs short on registers because numerous elements are not static. In addition, splitting them allows more optimized code, at least for x86. Arm asm changes by Janne Grunau. Signed-off-by: Janne Grunau --- libavcodec/dcadsp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/dcadsp.h') diff --git a/libavcodec/dcadsp.h b/libavcodec/dcadsp.h index e2ad09adf6..3e04426a80 100644 --- a/libavcodec/dcadsp.h +++ b/libavcodec/dcadsp.h @@ -23,8 +23,8 @@ #include "synth_filter.h" typedef struct DCADSPContext { - void (*lfe_fir)(float *out, const float *in, const float *coefs, - int decifactor, float scale); + void (*lfe_fir[2])(float *out, const float *in, const float *coefs, + float scale); void (*qmf_32_subbands)(float samples_in[32][8], int sb_act, SynthFilterContext *synth, FFTContext *imdct, float synth_buf_ptr[512], -- cgit v1.2.3