summaryrefslogtreecommitdiff
path: root/libavcodec/dcadsp.h
diff options
context:
space:
mode:
authorChristophe Gisquet <christophe.gisquet@gmail.com>2014-02-06 00:41:54 +0000
committerMichael Niedermayer <michaelni@gmx.at>2014-02-08 02:04:12 +0100
commit45854df9a5220bdde400a447f63f61618b89dde2 (patch)
tree453b65fc1702cb7f4b554f892dc812228d08160a /libavcodec/dcadsp.h
parent82ae8a44e631b25ba3b2c1b7333a4fe5cf18dc07 (diff)
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. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/dcadsp.h')
-rw-r--r--libavcodec/dcadsp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dcadsp.h b/libavcodec/dcadsp.h
index 215dce198d..20d18940f8 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],