From f507a9fe002c6a444cbd38a1326ee4f9df8c10a1 Mon Sep 17 00:00:00 2001 From: Mans Rullgard Date: Sun, 3 Apr 2011 19:38:41 +0100 Subject: ac3enc: move inner loop of compute_rematrixing_strategy to ac3dsp --- libavcodec/ac3enc_fixed.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libavcodec/ac3enc_fixed.c') diff --git a/libavcodec/ac3enc_fixed.c b/libavcodec/ac3enc_fixed.c index ea3a46cdfa..b63f3d8df1 100644 --- a/libavcodec/ac3enc_fixed.c +++ b/libavcodec/ac3enc_fixed.c @@ -103,6 +103,12 @@ static void scale_coefficients(AC3EncodeContext *s) } } +static void sum_square_butterfly(AC3EncodeContext *s, int64_t sum[4], + const int32_t *coef0, const int32_t *coef1, + int len) +{ + s->ac3dsp.sum_square_butterfly_int32(sum, coef0, coef1, len); +} /** * Clip MDCT coefficients to allowable range. -- cgit v1.2.3