Mercurial > libavcodec.hg
comparison sh4/idct_sh4.c @ 3556:6805c1e5507e libavcodec
Fix some "'static' is not at beginning of declaration" warnings.
author | diego |
---|---|
date | Tue, 08 Aug 2006 10:24:26 +0000 |
parents | 0b546eab515d |
children | c8c591fe26f8 |
comparison
equal
deleted
inserted
replaced
3555:5ea82888103e | 3556:6805c1e5507e |
---|---|
25 #define c4 1.00000000000000000000 /* sqrt(2)*cos(4*pi/16) */ | 25 #define c4 1.00000000000000000000 /* sqrt(2)*cos(4*pi/16) */ |
26 #define c5 0.78569495838710234903 /* sqrt(2)*cos(5*pi/16) */ | 26 #define c5 0.78569495838710234903 /* sqrt(2)*cos(5*pi/16) */ |
27 #define c6 0.54119610014619712324 /* sqrt(2)*cos(6*pi/16) */ | 27 #define c6 0.54119610014619712324 /* sqrt(2)*cos(6*pi/16) */ |
28 #define c7 0.27589937928294311353 /* sqrt(2)*cos(7*pi/16) */ | 28 #define c7 0.27589937928294311353 /* sqrt(2)*cos(7*pi/16) */ |
29 | 29 |
30 const static float even_table[] __attribute__ ((aligned(8))) = { | 30 static const float even_table[] __attribute__ ((aligned(8))) = { |
31 c4, c4, c4, c4, | 31 c4, c4, c4, c4, |
32 c2, c6,-c6,-c2, | 32 c2, c6,-c6,-c2, |
33 c4,-c4,-c4, c4, | 33 c4,-c4,-c4, c4, |
34 c6,-c2, c2,-c6 | 34 c6,-c2, c2,-c6 |
35 }; | 35 }; |
36 | 36 |
37 const static float odd_table[] __attribute__ ((aligned(8))) = { | 37 static const float odd_table[] __attribute__ ((aligned(8))) = { |
38 c1, c3, c5, c7, | 38 c1, c3, c5, c7, |
39 c3,-c7,-c1,-c5, | 39 c3,-c7,-c1,-c5, |
40 c5,-c1, c7, c3, | 40 c5,-c1, c7, c3, |
41 c7,-c5, c3,-c1 | 41 c7,-c5, c3,-c1 |
42 }; | 42 }; |