comparison fft.c @ 10143:c5e8a5a044c3 libavcodec

The ff_cos_tabs table itself is constant, too, so mark it as such.
author reimar
date Sun, 06 Sep 2009 08:53:14 +0000
parents 4b1736ba9f2f
children 7a63015e4627
comparison
equal deleted inserted replaced
10142:9855215d1b2f 10143:c5e8a5a044c3
40 DECLARE_ALIGNED_16(FFTSample, ff_cos_4096[2048]); 40 DECLARE_ALIGNED_16(FFTSample, ff_cos_4096[2048]);
41 DECLARE_ALIGNED_16(FFTSample, ff_cos_8192[4096]); 41 DECLARE_ALIGNED_16(FFTSample, ff_cos_8192[4096]);
42 DECLARE_ALIGNED_16(FFTSample, ff_cos_16384[8192]); 42 DECLARE_ALIGNED_16(FFTSample, ff_cos_16384[8192]);
43 DECLARE_ALIGNED_16(FFTSample, ff_cos_32768[16384]); 43 DECLARE_ALIGNED_16(FFTSample, ff_cos_32768[16384]);
44 DECLARE_ALIGNED_16(FFTSample, ff_cos_65536[32768]); 44 DECLARE_ALIGNED_16(FFTSample, ff_cos_65536[32768]);
45 FFTSample *ff_cos_tabs[] = { 45 FFTSample * const ff_cos_tabs[] = {
46 ff_cos_16, ff_cos_32, ff_cos_64, ff_cos_128, ff_cos_256, ff_cos_512, ff_cos_1024, 46 ff_cos_16, ff_cos_32, ff_cos_64, ff_cos_128, ff_cos_256, ff_cos_512, ff_cos_1024,
47 ff_cos_2048, ff_cos_4096, ff_cos_8192, ff_cos_16384, ff_cos_32768, ff_cos_65536, 47 ff_cos_2048, ff_cos_4096, ff_cos_8192, ff_cos_16384, ff_cos_32768, ff_cos_65536,
48 }; 48 };
49 49
50 static int split_radix_permutation(int i, int n, int inverse) 50 static int split_radix_permutation(int i, int n, int inverse)