summaryrefslogtreecommitdiffstats
path: root/libavcodec/ac3dsp.h
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-09-11 17:55:11 +0100
committerMans Rullgard <mans@mansr.com>2012-09-12 23:39:50 +0100
commit97cb9236cf3c45eb8a8fba8b88bdde6ece3f496f (patch)
tree82d61b5b9f447f09a61277e34022336833853193 /libavcodec/ac3dsp.h
parentb901c30da606ade7427fbfb0f9651cc5bfb953a7 (diff)
downloadffmpeg-streaming-97cb9236cf3c45eb8a8fba8b88bdde6ece3f496f.zip
ffmpeg-streaming-97cb9236cf3c45eb8a8fba8b88bdde6ece3f496f.tar.gz
ac3: move ac3_downmix() from dsputil to ac3dsp
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/ac3dsp.h')
-rw-r--r--libavcodec/ac3dsp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/ac3dsp.h b/libavcodec/ac3dsp.h
index 8eeafd6..723d109 100644
--- a/libavcodec/ac3dsp.h
+++ b/libavcodec/ac3dsp.h
@@ -125,6 +125,9 @@ typedef struct AC3DSPContext {
int (*compute_mantissa_size)(uint16_t mant_cnt[6][16]);
void (*extract_exponents)(uint8_t *exp, int32_t *coef, int nb_coefs);
+
+ void (*downmix)(float (*samples)[256], float (*matrix)[2], int out_ch,
+ int in_ch, int len);
} AC3DSPContext;
void ff_ac3dsp_init (AC3DSPContext *c, int bit_exact);
OpenPOWER on IntegriCloud