From 794fcf79a89eca2d4e889803b2c804a0b1defbb3 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 6 Jan 2014 14:48:18 +0100 Subject: Rename CONFIG_FFT_FLOAT ---> FFT_FLOAT The define does not originate from configure, so it should not have a name that is CONFIG_-prefixed. --- libavcodec/fft-test.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'libavcodec/fft-test.c') diff --git a/libavcodec/fft-test.c b/libavcodec/fft-test.c index 7e923d52ad..d0c22d020e 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" @@ -148,7 +148,7 @@ static void mdct_ref(FFTSample *output, FFTSample *input, int nbits) } } -#if CONFIG_FFT_FLOAT +#if FFT_FLOAT static void idct_ref(float *output, float *input, int nbits) { int n = 1<> 1; if (do_inverse) { @@ -444,7 +444,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); @@ -474,7 +474,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; -- cgit v1.2.3