comparison i386/vp3dsp_sse2.c @ 3089:072dbc669253 libavcodec

MSVC-compatible __align8/__align16 declaration patch by Steve Lhomme, steve .dot. lhomme .at. free .dot. fr
author diego
date Sun, 05 Feb 2006 13:35:17 +0000
parents 0b546eab515d
children c8c591fe26f8
comparison
equal deleted inserted replaced
3088:03582724f3de 3089:072dbc669253
22 */ 22 */
23 23
24 #include "../dsputil.h" 24 #include "../dsputil.h"
25 #include "mmx.h" 25 #include "mmx.h"
26 26
27 static const unsigned short __align16 SSE2_dequant_const[] = 27 static DECLARE_ALIGNED_16(const unsigned short, SSE2_dequant_const[]) =
28 { 28 {
29 0,65535,65535,0,0,0,0,0, // 0x0000 0000 0000 0000 0000 FFFF FFFF 0000 29 0,65535,65535,0,0,0,0,0, // 0x0000 0000 0000 0000 0000 FFFF FFFF 0000
30 0,0,0,0,65535,65535,0,0, // 0x0000 0000 FFFF FFFF 0000 0000 0000 0000 30 0,0,0,0,65535,65535,0,0, // 0x0000 0000 FFFF FFFF 0000 0000 0000 0000
31 65535,65535,65535,0,0,0,0,0,// 0x0000 0000 0000 0000 0000 FFFF FFFF FFFF 31 65535,65535,65535,0,0,0,0,0,// 0x0000 0000 0000 0000 0000 FFFF FFFF FFFF
32 0,0,0,65535,0,0,0,0, // 0x0000 0000 0000 0000 FFFF 0000 0000 0000 32 0,0,0,65535,0,0,0,0, // 0x0000 0000 0000 0000 FFFF 0000 0000 0000
33 0,0,0,65535,65535,0,0,0, // 0x0000 0000 0000 FFFF FFFF 0000 0000 0000 33 0,0,0,65535,65535,0,0,0, // 0x0000 0000 0000 FFFF FFFF 0000 0000 0000
34 65535,0,0,0,0,65535,0,0, // 0x0000 0000 FFFF 0000 0000 0000 0000 FFFF 34 65535,0,0,0,0,65535,0,0, // 0x0000 0000 FFFF 0000 0000 0000 0000 FFFF
35 0,0,65535,65535, 0,0,0,0 // 0x0000 0000 0000 0000 FFFF FFFF 0000 0000 35 0,0,65535,65535, 0,0,0,0 // 0x0000 0000 0000 0000 FFFF FFFF 0000 0000
36 }; 36 };
37 37
38 static const unsigned int __align16 eight_data[] = 38 static DECLARE_ALIGNED_16(const unsigned int, eight_data[]) =
39 { 39 {
40 0x00080008, 40 0x00080008,
41 0x00080008, 41 0x00080008,
42 0x00080008, 42 0x00080008,
43 0x00080008 43 0x00080008
44 }; 44 };
45 45
46 static const unsigned short __align16 SSE2_idct_data[7 * 8] = 46 static DECLARE_ALIGNED_16(const unsigned short, SSE2_idct_data[7 * 8]) =
47 { 47 {
48 64277,64277,64277,64277,64277,64277,64277,64277, 48 64277,64277,64277,64277,64277,64277,64277,64277,
49 60547,60547,60547,60547,60547,60547,60547,60547, 49 60547,60547,60547,60547,60547,60547,60547,60547,
50 54491,54491,54491,54491,54491,54491,54491,54491, 50 54491,54491,54491,54491,54491,54491,54491,54491,
51 46341,46341,46341,46341,46341,46341,46341,46341, 51 46341,46341,46341,46341,46341,46341,46341,46341,