diff options
author | Ben Avison <bavison@riscosopen.org> | 2013-07-15 18:28:16 +0100 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-07-22 10:15:42 +0300 |
commit | 800ffab48a7844dd5dc0a33b8f6b8e5ed718cf2e (patch) | |
tree | c7c9d444d9c22153321ba3ec840fd5b48a48214b /libavcodec/dcadsp.h | |
parent | 8b9eba664edaddf9a304d3acbf0388b5c520781d (diff) | |
download | ffmpeg-800ffab48a7844dd5dc0a33b8f6b8e5ed718cf2e.tar.gz |
dcadsp: Add a new method, qmf_32_subbands
This does most of the work formerly carried out by
the static function qmf_32_subbands() in dcadec.c.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/dcadsp.h')
-rw-r--r-- | libavcodec/dcadsp.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libavcodec/dcadsp.h b/libavcodec/dcadsp.h index 3c6f1f9a9f..ec88be71f0 100644 --- a/libavcodec/dcadsp.h +++ b/libavcodec/dcadsp.h @@ -19,9 +19,18 @@ #ifndef AVCODEC_DCADSP_H #define AVCODEC_DCADSP_H +#include "avfft.h" +#include "synth_filter.h" + typedef struct DCADSPContext { void (*lfe_fir)(float *out, const float *in, const float *coefs, int decifactor, float scale); + void (*qmf_32_subbands)(float samples_in[32][8], int sb_act, + SynthFilterContext *synth, FFTContext *imdct, + float synth_buf_ptr[512], + int *synth_buf_offset, float synth_buf2[32], + const float window[512], float *samples_out, + float raXin[32], float scale); } DCADSPContext; void ff_dcadsp_init(DCADSPContext *s); |