diff options
author | Christophe Gisquet <christophe.gisquet@gmail.com> | 2014-02-14 15:03:06 +0000 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2014-02-28 13:00:47 +0100 |
commit | 87ec849fe9acba075c843e67bcd01f256f481a18 (patch) | |
tree | e071371104bda0f397ec2b647f90ae8d5a898bc1 /libavcodec/dcadsp.h | |
parent | a55546f48d55e3d1155840541b2be5f4f8cf18ab (diff) | |
download | ffmpeg-87ec849fe9acba075c843e67bcd01f256f481a18.tar.gz |
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 <janne-libav@jannau.net>
Diffstat (limited to 'libavcodec/dcadsp.h')
-rw-r--r-- | libavcodec/dcadsp.h | 3 |
1 files changed, 1 insertions, 2 deletions
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], |