diff options
author | Geoff Hill <geoff@geoffhill.org> | 2024-04-06 07:26:06 -0700 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2024-04-08 13:36:40 +0300 |
commit | 42e88f18f30c275f52cea001b33ca62d8a3ff2d1 (patch) | |
tree | 8e6a310b28be1590d02090c7963912cea44007ba /libavcodec/aarch64/ac3dsp_init_aarch64.c | |
parent | 69cb34f8859ed62fd1c46d3612912a334542fe28 (diff) | |
download | ffmpeg-42e88f18f30c275f52cea001b33ca62d8a3ff2d1.tar.gz |
avcodec/ac3: Implement sum_square_butterfly_int32 for aarch64 NEON
Signed-off-by: Geoff Hill <geoff@geoffhill.org>
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/aarch64/ac3dsp_init_aarch64.c')
-rw-r--r-- | libavcodec/aarch64/ac3dsp_init_aarch64.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/aarch64/ac3dsp_init_aarch64.c b/libavcodec/aarch64/ac3dsp_init_aarch64.c index 1bdc215b51..e95436c651 100644 --- a/libavcodec/aarch64/ac3dsp_init_aarch64.c +++ b/libavcodec/aarch64/ac3dsp_init_aarch64.c @@ -28,6 +28,10 @@ void ff_ac3_exponent_min_neon(uint8_t *exp, int num_reuse_blocks, int nb_coefs); void ff_ac3_extract_exponents_neon(uint8_t *exp, int32_t *coef, int nb_coefs); void ff_float_to_fixed24_neon(int32_t *dst, const float *src, size_t len); +void ff_ac3_sum_square_butterfly_int32_neon(int64_t sum[4], + const int32_t *coef0, + const int32_t *coef1, + int len); av_cold void ff_ac3dsp_init_aarch64(AC3DSPContext *c) { @@ -37,4 +41,5 @@ av_cold void ff_ac3dsp_init_aarch64(AC3DSPContext *c) c->ac3_exponent_min = ff_ac3_exponent_min_neon; c->extract_exponents = ff_ac3_extract_exponents_neon; c->float_to_fixed24 = ff_float_to_fixed24_neon; + c->sum_square_butterfly_int32 = ff_ac3_sum_square_butterfly_int32_neon; } |