arm/fft: disable NEON optimizations for 131072pt transforms

This has been broken since the start, and it was only discovered
when I started testing my replacement for the FFT.
Disable it, since there's no point in fixing slower code that's about
to be removed anyway.

The vfp version is not affected.
pull/388/head
Lynne 3 years ago
parent f5c5c04c14
commit f99d15cca0
No known key found for this signature in database
GPG Key ID: A2FEA5F03F034464
  1. 6
      libavcodec/aarch64/fft_init_aarch64.c
  2. 6
      libavcodec/arm/fft_init_arm.c

@ -38,8 +38,10 @@ av_cold void ff_fft_init_aarch64(FFTContext *s)
int cpu_flags = av_get_cpu_flags();
if (have_neon(cpu_flags)) {
s->fft_permute = ff_fft_permute_neon;
s->fft_calc = ff_fft_calc_neon;
if (s->nbits < 17) {
s->fft_permute = ff_fft_permute_neon;
s->fft_calc = ff_fft_calc_neon;
}
#if CONFIG_MDCT
s->imdct_calc = ff_imdct_calc_neon;
s->imdct_half = ff_imdct_half_neon;

@ -48,8 +48,10 @@ av_cold void ff_fft_init_arm(FFTContext *s)
if (have_neon(cpu_flags)) {
#if CONFIG_FFT
s->fft_permute = ff_fft_permute_neon;
s->fft_calc = ff_fft_calc_neon;
if (s->nbits < 17) {
s->fft_permute = ff_fft_permute_neon;
s->fft_calc = ff_fft_calc_neon;
}
#endif
#if CONFIG_MDCT
s->imdct_calc = ff_imdct_calc_neon;

Loading…
Cancel
Save