Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-04-03 22:38:41 +0400
committerMans Rullgard <mans@mansr.com>2011-07-06 03:29:59 +0400
commitf507a9fe002c6a444cbd38a1326ee4f9df8c10a1 (patch)
treef6b8cfd0161b7af699efb3a9ebb76f8d9d500efe /libavcodec/ac3enc_fixed.c
parentfce1e43410bdc032c4cf2b1c66166a9ed99cc8f1 (diff)
ac3enc: move inner loop of compute_rematrixing_strategy to ac3dsp
Diffstat (limited to 'libavcodec/ac3enc_fixed.c')
-rw-r--r--libavcodec/ac3enc_fixed.c6
1 files changed, 6 insertions, 0 deletions
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.