diff options
Diffstat (limited to 'chromium/third_party/ffmpeg/libavcodec/fft.h')
-rw-r--r-- | chromium/third_party/ffmpeg/libavcodec/fft.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/chromium/third_party/ffmpeg/libavcodec/fft.h b/chromium/third_party/ffmpeg/libavcodec/fft.h index 217090cf2ac..2d7e2549850 100644 --- a/chromium/third_party/ffmpeg/libavcodec/fft.h +++ b/chromium/third_party/ffmpeg/libavcodec/fft.h @@ -22,19 +22,19 @@ #ifndef AVCODEC_FFT_H #define AVCODEC_FFT_H -#ifndef CONFIG_FFT_FLOAT -#define CONFIG_FFT_FLOAT 1 +#ifndef FFT_FLOAT +#define FFT_FLOAT 1 #endif -#ifndef CONFIG_FFT_FIXED_32 -#define CONFIG_FFT_FIXED_32 0 +#ifndef FFT_FIXED_32 +#define FFT_FIXED_32 0 #endif #include <stdint.h> #include "config.h" #include "libavutil/mem.h" -#if CONFIG_FFT_FLOAT +#if FFT_FLOAT #include "avfft.h" @@ -44,20 +44,20 @@ typedef float FFTDouble; #else -#if CONFIG_FFT_FIXED_32 +#if FFT_FIXED_32 #define Q31(x) (int)((x)*2147483648.0 + 0.5) #define FFT_NAME(x) x ## _fixed_32 typedef int32_t FFTSample; -#else /* CONFIG_FFT_FIXED_32 */ +#else /* FFT_FIXED_32 */ #define FFT_NAME(x) x ## _fixed typedef int16_t FFTSample; -#endif /* CONFIG_FFT_FIXED_32 */ +#endif /* FFT_FIXED_32 */ typedef struct FFTComplex { FFTSample re, im; @@ -66,7 +66,7 @@ typedef struct FFTComplex { typedef int FFTDouble; typedef struct FFTContext FFTContext; -#endif /* CONFIG_FFT_FLOAT */ +#endif /* FFT_FLOAT */ typedef struct FFTDComplex { FFTDouble re, im; @@ -148,6 +148,7 @@ void ff_init_ff_cos_tabs(int index); */ int ff_fft_init(FFTContext *s, int nbits, int inverse); +void ff_fft_init_aarch64(FFTContext *s); void ff_fft_init_x86(FFTContext *s); void ff_fft_init_arm(FFTContext *s); void ff_fft_init_mips(FFTContext *s); |