summaryrefslogtreecommitdiffstats
path: root/libavcodec/ac3dsp.h
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-04-03 19:38:41 +0100
committerMans Rullgard <mans@mansr.com>2011-07-06 00:29:59 +0100
commitf507a9fe002c6a444cbd38a1326ee4f9df8c10a1 (patch)
treef6b8cfd0161b7af699efb3a9ebb76f8d9d500efe /libavcodec/ac3dsp.h
parentfce1e43410bdc032c4cf2b1c66166a9ed99cc8f1 (diff)
downloadffmpeg-streaming-f507a9fe002c6a444cbd38a1326ee4f9df8c10a1.zip
ffmpeg-streaming-f507a9fe002c6a444cbd38a1326ee4f9df8c10a1.tar.gz
ac3enc: move inner loop of compute_rematrixing_strategy to ac3dsp
Diffstat (limited to 'libavcodec/ac3dsp.h')
-rw-r--r--libavcodec/ac3dsp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/ac3dsp.h b/libavcodec/ac3dsp.h
index 8eeafd6..621841e 100644
--- a/libavcodec/ac3dsp.h
+++ b/libavcodec/ac3dsp.h
@@ -125,6 +125,12 @@ 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 (*sum_square_butterfly_int32)(int64_t sum[4], const int32_t *coef0,
+ const int32_t *coef1, int len);
+
+ void (*sum_square_butterfly_float)(float sum[4], const float *coef0,
+ const float *coef1, int len);
} AC3DSPContext;
void ff_ac3dsp_init (AC3DSPContext *c, int bit_exact);
OpenPOWER on IntegriCloud