From 87ec849fe9acba075c843e67bcd01f256f481a18 Mon Sep 17 00:00:00 2001 From: Christophe Gisquet Date: Fri, 14 Feb 2014 15:03:06 +0000 Subject: dcadec: remove scaling in lfe_interpolation_fir The scaling factor is constant so it is faster to scale the FIR coefficients in the tables during compilation. Signed-off-by: Janne Grunau --- libavcodec/dcadsp.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libavcodec/dcadsp.h') diff --git a/libavcodec/dcadsp.h b/libavcodec/dcadsp.h index 3e04426a80..e4c1bc7f05 100644 --- a/libavcodec/dcadsp.h +++ b/libavcodec/dcadsp.h @@ -23,8 +23,7 @@ #include "synth_filter.h" typedef struct DCADSPContext { - void (*lfe_fir[2])(float *out, const float *in, const float *coefs, - float scale); + void (*lfe_fir[2])(float *out, const float *in, const float *coefs); 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