summaryrefslogtreecommitdiff
path: root/libavcodec/dcadsp.h
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2016-01-02 13:08:29 +0100
committerHendrik Leppkes <h.leppkes@gmail.com>2016-01-02 13:08:29 +0100
commitaf1238f863fda4a1a6fc00525b651a3d9b31eccd (patch)
tree52f1c7491bf534916c297e3ceaead865b6ad3335 /libavcodec/dcadsp.h
parenta51c2fcdc15dd37a2d95265a5b74d522b0b0b232 (diff)
parentaebf07075f4244caf591a3af71e5872fe314e87b (diff)
Merge commit 'aebf07075f4244caf591a3af71e5872fe314e87b'
* commit 'aebf07075f4244caf591a3af71e5872fe314e87b': dca: change the core to work with integer coefficients. Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Diffstat (limited to 'libavcodec/dcadsp.h')
-rw-r--r--libavcodec/dcadsp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/dcadsp.h b/libavcodec/dcadsp.h
index 2a5fd23f93..24902cb1ca 100644
--- a/libavcodec/dcadsp.h
+++ b/libavcodec/dcadsp.h
@@ -37,6 +37,12 @@ typedef struct DCADSPContext {
const int8_t hf_vq[1024][32], intptr_t vq_offset,
int32_t scale[DCA_SUBBANDS][2],
intptr_t start, intptr_t end);
+ void (*decode_hf_int)(int32_t 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);
+ void (*dequantize)(int32_t *samples, uint32_t step_size, uint32_t scale);
} DCADSPContext;
void ff_dcadsp_init(DCADSPContext *s);