diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-01-07 13:04:09 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-01-07 13:10:56 +0100 |
commit | 7778979f6f9c863430bbf8335e7a67e875a30513 (patch) | |
tree | 7fa1b50af5095e117b7c60644281522bd0379650 | |
parent | 2503928a2f8ba80f3988344faf430d4ad54fbf27 (diff) | |
parent | 794fcf79a89eca2d4e889803b2c804a0b1defbb3 (diff) | |
download | ffmpeg-7778979f6f9c863430bbf8335e7a67e875a30513.tar.gz |
Merge commit '794fcf79a89eca2d4e889803b2c804a0b1defbb3'
* commit '794fcf79a89eca2d4e889803b2c804a0b1defbb3':
Rename CONFIG_FFT_FLOAT ---> FFT_FLOAT
Conflicts:
libavcodec/fft-internal.h
libavcodec/fft-test.c
libavcodec/fft_fixed.c
libavcodec/fft_float.c
libavcodec/fft_template.c
libavcodec/mdct_fixed.c
libavcodec/mdct_float.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/ac3enc_fixed.c | 2 | ||||
-rw-r--r-- | libavcodec/arm/fft_fixed_init_arm.c | 2 | ||||
-rw-r--r-- | libavcodec/cos_tablegen.c | 2 | ||||
-rw-r--r-- | libavcodec/fft-fixed-test.c | 2 | ||||
-rw-r--r-- | libavcodec/fft-fixed32-test.c | 2 | ||||
-rw-r--r-- | libavcodec/fft-internal.h | 4 | ||||
-rw-r--r-- | libavcodec/fft-test.c | 16 | ||||
-rw-r--r-- | libavcodec/fft.h | 8 | ||||
-rw-r--r-- | libavcodec/fft_fixed.c | 2 | ||||
-rw-r--r-- | libavcodec/fft_fixed_32.c | 2 | ||||
-rw-r--r-- | libavcodec/fft_float.c | 2 | ||||
-rw-r--r-- | libavcodec/fft_template.c | 2 | ||||
-rw-r--r-- | libavcodec/mdct_fixed.c | 2 | ||||
-rw-r--r-- | libavcodec/mdct_fixed_32.c | 2 | ||||
-rw-r--r-- | libavcodec/mdct_float.c | 2 | ||||
-rw-r--r-- | libavcodec/mdct_template.c | 2 |
16 files changed, 27 insertions, 27 deletions
diff --git a/libavcodec/ac3enc_fixed.c b/libavcodec/ac3enc_fixed.c index 5194d42aee..3994c17d3b 100644 --- a/libavcodec/ac3enc_fixed.c +++ b/libavcodec/ac3enc_fixed.c @@ -26,7 +26,7 @@ * fixed-point AC-3 encoder. */ -#define CONFIG_FFT_FLOAT 0 +#define FFT_FLOAT 0 #undef CONFIG_AC3ENC_FLOAT #include "internal.h" #include "ac3enc.h" diff --git a/libavcodec/arm/fft_fixed_init_arm.c b/libavcodec/arm/fft_fixed_init_arm.c index ef098f4bf1..b60bb9fa85 100644 --- a/libavcodec/arm/fft_fixed_init_arm.c +++ b/libavcodec/arm/fft_fixed_init_arm.c @@ -20,7 +20,7 @@ #include "libavutil/arm/cpu.h" -#define CONFIG_FFT_FLOAT 0 +#define FFT_FLOAT 0 #include "libavcodec/fft.h" void ff_fft_fixed_calc_neon(FFTContext *s, FFTComplex *z); diff --git a/libavcodec/cos_tablegen.c b/libavcodec/cos_tablegen.c index 48b7b90010..9af83f4d7d 100644 --- a/libavcodec/cos_tablegen.c +++ b/libavcodec/cos_tablegen.c @@ -57,7 +57,7 @@ int main(int argc, char *argv[]) double (*func)(double) = do_sin ? sin : cos; printf("/* This file was automatically generated. */\n"); - printf("#define CONFIG_FFT_FLOAT %d\n", !fixed); + printf("#define FFT_FLOAT %d\n", !fixed); printf("#include \"libavcodec/%s\"\n", do_sin ? "rdft.h" : "fft.h"); for (i = 4; i <= BITS; i++) { int m = 1 << i; diff --git a/libavcodec/fft-fixed-test.c b/libavcodec/fft-fixed-test.c index a1a61604a9..330211ebf6 100644 --- a/libavcodec/fft-fixed-test.c +++ b/libavcodec/fft-fixed-test.c @@ -16,5 +16,5 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#define CONFIG_FFT_FLOAT 0 +#define FFT_FLOAT 0 #include "fft-test.c" diff --git a/libavcodec/fft-fixed32-test.c b/libavcodec/fft-fixed32-test.c index 89cd47c1da..664d2afd2b 100644 --- a/libavcodec/fft-fixed32-test.c +++ b/libavcodec/fft-fixed32-test.c @@ -16,6 +16,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#define CONFIG_FFT_FLOAT 0 +#define FFT_FLOAT 0 #define CONFIG_FFT_FIXED_32 1 #include "fft-test.c" diff --git a/libavcodec/fft-internal.h b/libavcodec/fft-internal.h index 065eeccef1..afc17db3f5 100644 --- a/libavcodec/fft-internal.h +++ b/libavcodec/fft-internal.h @@ -19,7 +19,7 @@ #ifndef AVCODEC_FFT_INTERNAL_H #define AVCODEC_FFT_INTERNAL_H -#if CONFIG_FFT_FLOAT +#if FFT_FLOAT #define FIX15(v) (v) #define sqrthalf (float)M_SQRT1_2 @@ -81,7 +81,7 @@ void ff_mdct_calcw_c(FFTContext *s, FFTDouble *output, const FFTSample *input); #endif /* CONFIG_FFT_FIXED_32 */ -#endif /* CONFIG_FFT_FLOAT */ +#endif /* FFT_FLOAT */ #define ff_imdct_calc_c FFT_NAME(ff_imdct_calc_c) #define ff_imdct_half_c FFT_NAME(ff_imdct_half_c) diff --git a/libavcodec/fft-test.c b/libavcodec/fft-test.c index d650a10844..5819cc0dee 100644 --- a/libavcodec/fft-test.c +++ b/libavcodec/fft-test.c @@ -29,7 +29,7 @@ #include "libavutil/log.h" #include "libavutil/time.h" #include "fft.h" -#if CONFIG_FFT_FLOAT +#if FFT_FLOAT #include "dct.h" #include "rdft.h" #endif @@ -51,7 +51,7 @@ pim += (MUL16(are, bim) + MUL16(bre, aim));\ } -#if CONFIG_FFT_FLOAT +#if FFT_FLOAT # define RANGE 1.0 # define REF_SCALE(x, bits) (x) # define FMT "%10.6f" @@ -152,7 +152,7 @@ static void mdct_ref(FFTSample *output, FFTSample *input, int nbits) } } -#if CONFIG_FFT_FLOAT +#if FFT_FLOAT static void idct_ref(FFTSample *output, FFTSample *input, int nbits) { int n = 1<<nbits; @@ -252,7 +252,7 @@ int main(int argc, char **argv) int do_inverse = 0; FFTContext s1, *s = &s1; FFTContext m1, *m = &m1; -#if CONFIG_FFT_FLOAT +#if FFT_FLOAT RDFTContext r1, *r = &r1; DCTContext d1, *d = &d1; int fft_size_2; @@ -326,7 +326,7 @@ int main(int argc, char **argv) ff_fft_init(s, fft_nbits, do_inverse); fft_ref_init(fft_nbits, do_inverse); break; -#if CONFIG_FFT_FLOAT +#if FFT_FLOAT case TRANSFORM_RDFT: if (do_inverse) av_log(NULL, AV_LOG_INFO,"IDFT_C2R"); @@ -383,7 +383,7 @@ int main(int argc, char **argv) fft_ref(tab_ref, tab1, fft_nbits); err = check_diff((FFTSample *)tab_ref, (FFTSample *)tab, fft_size * 2, 1.0); break; -#if CONFIG_FFT_FLOAT +#if FFT_FLOAT case TRANSFORM_RDFT: fft_size_2 = fft_size >> 1; if (do_inverse) { @@ -452,7 +452,7 @@ int main(int argc, char **argv) memcpy(tab, tab1, fft_size * sizeof(FFTComplex)); s->fft_calc(s, tab); break; -#if CONFIG_FFT_FLOAT +#if FFT_FLOAT case TRANSFORM_RDFT: memcpy(tab2, tab1, fft_size * sizeof(FFTSample)); r->rdft_calc(r, tab2); @@ -482,7 +482,7 @@ int main(int argc, char **argv) case TRANSFORM_FFT: ff_fft_end(s); break; -#if CONFIG_FFT_FLOAT +#if FFT_FLOAT case TRANSFORM_RDFT: ff_rdft_end(r); break; diff --git a/libavcodec/fft.h b/libavcodec/fft.h index 217090cf2a..87fe704131 100644 --- a/libavcodec/fft.h +++ b/libavcodec/fft.h @@ -22,8 +22,8 @@ #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 @@ -34,7 +34,7 @@ #include "config.h" #include "libavutil/mem.h" -#if CONFIG_FFT_FLOAT +#if FFT_FLOAT #include "avfft.h" @@ -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; diff --git a/libavcodec/fft_fixed.c b/libavcodec/fft_fixed.c index 9e74b8c160..d93351b1c9 100644 --- a/libavcodec/fft_fixed.c +++ b/libavcodec/fft_fixed.c @@ -16,6 +16,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#define CONFIG_FFT_FLOAT 0 +#define FFT_FLOAT 0 #define CONFIG_FFT_FIXED_32 0 #include "fft_template.c" diff --git a/libavcodec/fft_fixed_32.c b/libavcodec/fft_fixed_32.c index 18e6da9097..dbab3160d4 100644 --- a/libavcodec/fft_fixed_32.c +++ b/libavcodec/fft_fixed_32.c @@ -47,6 +47,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#define CONFIG_FFT_FLOAT 0 +#define FFT_FLOAT 0 #define CONFIG_FFT_FIXED_32 1 #include "fft_template.c" diff --git a/libavcodec/fft_float.c b/libavcodec/fft_float.c index 93d36071a2..5d5cb6f6c5 100644 --- a/libavcodec/fft_float.c +++ b/libavcodec/fft_float.c @@ -16,6 +16,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#define CONFIG_FFT_FLOAT 1 +#define FFT_FLOAT 1 #define CONFIG_FFT_FIXED_32 0 #include "fft_template.c" diff --git a/libavcodec/fft_template.c b/libavcodec/fft_template.c index e0cf1f2982..e6a87ae154 100644 --- a/libavcodec/fft_template.c +++ b/libavcodec/fft_template.c @@ -169,7 +169,7 @@ av_cold int ff_fft_init(FFTContext *s, int nbits, int inverse) ff_fft_lut_init(fft_offsets_lut, 0, 1 << 16, &n); } #else /* CONFIG_FFT_FIXED_32 */ -#if CONFIG_FFT_FLOAT +#if FFT_FLOAT if (ARCH_ARM) ff_fft_init_arm(s); if (ARCH_PPC) ff_fft_init_ppc(s); if (ARCH_X86) ff_fft_init_x86(s); diff --git a/libavcodec/mdct_fixed.c b/libavcodec/mdct_fixed.c index 2ee29b609a..bdace25c1f 100644 --- a/libavcodec/mdct_fixed.c +++ b/libavcodec/mdct_fixed.c @@ -16,7 +16,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#define CONFIG_FFT_FLOAT 0 +#define FFT_FLOAT 0 #define CONFIG_FFT_FIXED_32 0 #include "mdct_template.c" diff --git a/libavcodec/mdct_fixed_32.c b/libavcodec/mdct_fixed_32.c index f1d6a2dc6b..188b57f558 100644 --- a/libavcodec/mdct_fixed_32.c +++ b/libavcodec/mdct_fixed_32.c @@ -47,6 +47,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#define CONFIG_FFT_FLOAT 0 +#define FFT_FLOAT 0 #define CONFIG_FFT_FIXED_32 1 #include "mdct_template.c" diff --git a/libavcodec/mdct_float.c b/libavcodec/mdct_float.c index 75b5f0d3a0..68580bad20 100644 --- a/libavcodec/mdct_float.c +++ b/libavcodec/mdct_float.c @@ -16,6 +16,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#define CONFIG_FFT_FLOAT 1 +#define FFT_FLOAT 1 #define CONFIG_FFT_FIXED_32 0 #include "mdct_template.c" diff --git a/libavcodec/mdct_template.c b/libavcodec/mdct_template.c index 922d577e3e..dc74168b48 100644 --- a/libavcodec/mdct_template.c +++ b/libavcodec/mdct_template.c @@ -31,7 +31,7 @@ * MDCT/IMDCT transforms. */ -#if CONFIG_FFT_FLOAT +#if FFT_FLOAT # define RSCALE(x) (x) #else #if CONFIG_FFT_FIXED_32 |