summaryrefslogtreecommitdiff
path: root/libavcodec/dcadsp.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-02-28 21:41:19 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-02-28 21:41:19 +0100
commitfb3c33f3cd6b932badbe61a3e0d5cce9f4e36769 (patch)
tree1752b2b23e6f7058133bf844b6c783153350613f /libavcodec/dcadsp.h
parentffb7d7195be6a4f25e81600a2a6a6dadd2a11e18 (diff)
parent4cb6964244fd6c099383d8b7e99731e72cc844b9 (diff)
downloadffmpeg-fb3c33f3cd6b932badbe61a3e0d5cce9f4e36769.tar.gz
Merge commit '4cb6964244fd6c099383d8b7e99731e72cc844b9'
* commit '4cb6964244fd6c099383d8b7e99731e72cc844b9': dcadec: simplify decoding of VQ high frequencies Conflicts: configure libavcodec/dcadec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/dcadsp.h')
-rw-r--r--libavcodec/dcadsp.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/libavcodec/dcadsp.h b/libavcodec/dcadsp.h
index c1dd3011c8..abf577b61f 100644
--- a/libavcodec/dcadsp.h
+++ b/libavcodec/dcadsp.h
@@ -22,6 +22,8 @@
#include "avfft.h"
#include "synth_filter.h"
+#define DCA_SUBBANDS 64
+
typedef struct DCADSPContext {
void (*lfe_fir[2])(float *out, const float *in, const float *coefs);
void (*qmf_32_subbands)(float samples_in[32][8], int sb_act,
@@ -30,7 +32,11 @@ typedef struct DCADSPContext {
int *synth_buf_offset, float synth_buf2[32],
const float window[512], float *samples_out,
float raXin[32], float scale);
- void (*int8x8_fmul_int32)(float *dst, const int8_t *src, int scale);
+ void (*decode_hf)(float dst[DCA_SUBBANDS][8],
+ const int32_t vq_num[DCA_SUBBANDS],
+ const int8_t hf_vq[1024][32], intptr_t vq_offset,
+ int32_t scale[DCA_SUBBANDS][2],
+ intptr_t start, intptr_t end);
} DCADSPContext;
void ff_dcadsp_init(DCADSPContext *s);