From 1654514ab0b0335cb3d2911c812ebced52dd20e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= Date: Fri, 29 Aug 2014 18:26:57 +0200 Subject: [PATCH] fft: add ff_ prefix to some global arrays. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Reimar Döffinger --- libavcodec/fft_init_table.c | 4 ++-- libavcodec/fft_table.h | 4 ++-- libavcodec/fft_template.c | 12 ++++++------ libavcodec/mips/fft_mips.c | 8 ++++---- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/libavcodec/fft_init_table.c b/libavcodec/fft_init_table.c index 4e8b082d92..4d74f8a2a2 100644 --- a/libavcodec/fft_init_table.c +++ b/libavcodec/fft_init_table.c @@ -53,7 +53,7 @@ */ #include "libavcodec/fft_table.h" -const int32_t w_tab_sr[MAX_FFT_SIZE/(4*16)] = { +const int32_t ff_w_tab_sr[MAX_FFT_SIZE/(4*16)] = { 2147483647, 2147481121, 2147473542, 2147460908, 2147443222, 2147420483, 2147392690, 2147359845, 2147321946, 2147278995, 2147230991, 2147177934, 2147119825, 2147056664, 2146988450, 2146915184, 2146836866, 2146753497, 2146665076, 2146571603, 2146473080, 2146369505, 2146260881, 2146147205, @@ -184,7 +184,7 @@ const int32_t w_tab_sr[MAX_FFT_SIZE/(4*16)] = { 26352928, 23058947, 19764913, 16470832, 13176712, 9882561, 6588387, 3294197 }; -uint16_t fft_offsets_lut[0x2aab]; +uint16_t ff_fft_offsets_lut[0x2aab]; void ff_fft_lut_init(uint16_t *table, int off, int size, int *index) { diff --git a/libavcodec/fft_table.h b/libavcodec/fft_table.h index 4cd3a45b3a..e5e54b6efa 100644 --- a/libavcodec/fft_table.h +++ b/libavcodec/fft_table.h @@ -59,8 +59,8 @@ #define MAX_LOG2_NFFT 16 //!< Specifies maximum allowed fft size #define MAX_FFT_SIZE (1 << MAX_LOG2_NFFT) -extern const int32_t w_tab_sr[]; -extern uint16_t fft_offsets_lut[]; +extern const int32_t ff_w_tab_sr[]; +extern uint16_t ff_fft_offsets_lut[]; void ff_fft_lut_init(uint16_t *table, int off, int size, int *index); #endif /* AVCODEC_FFT_TABLE_H */ diff --git a/libavcodec/fft_template.c b/libavcodec/fft_template.c index 697d1fc4df..3abf94870d 100644 --- a/libavcodec/fft_template.c +++ b/libavcodec/fft_template.c @@ -166,7 +166,7 @@ av_cold int ff_fft_init(FFTContext *s, int nbits, int inverse) #if FFT_FIXED_32 { int n=0; - ff_fft_lut_init(fft_offsets_lut, 0, 1 << 16, &n); + ff_fft_lut_init(ff_fft_offsets_lut, 0, 1 << 16, &n); } #else /* FFT_FIXED_32 */ #if FFT_FLOAT @@ -236,7 +236,7 @@ static void fft_calc_c(FFTContext *s, FFTComplex *z) { num_transforms = (0x2aab >> (16 - s->nbits)) | 1; for (n=0; n> 1) | 1; for (n=0; n> 1) | 1; for (n=0; n> 1) | 1; for (n=0; n