diff options
author | Mans Rullgard <mans@mansr.com> | 2011-04-03 19:38:41 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-07-06 00:29:59 +0100 |
commit | f507a9fe002c6a444cbd38a1326ee4f9df8c10a1 (patch) | |
tree | f6b8cfd0161b7af699efb3a9ebb76f8d9d500efe /libavcodec/ac3enc_fixed.c | |
parent | fce1e43410bdc032c4cf2b1c66166a9ed99cc8f1 (diff) | |
download | ffmpeg-f507a9fe002c6a444cbd38a1326ee4f9df8c10a1.tar.gz |
ac3enc: move inner loop of compute_rematrixing_strategy to ac3dsp
Diffstat (limited to 'libavcodec/ac3enc_fixed.c')
-rw-r--r-- | libavcodec/ac3enc_fixed.c | 6 |
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. |