summaryrefslogtreecommitdiff
path: root/libavcodec/i386/vp3dsp_sse2.c
diff options
context:
space:
mode:
authorSteve L'Homme <slhomme@divxcorp.com>2006-02-05 13:35:17 +0000
committerDiego Biurrun <diego@biurrun.de>2006-02-05 13:35:17 +0000
commit68b51e58ce73d99d2cd9bfa14cb7daaf4a74047e (patch)
tree1a1aa0365436dae8d8e2a80887f13d631d141cad /libavcodec/i386/vp3dsp_sse2.c
parent04c669ba98955535c00b5283eebafec773d2e83d (diff)
MSVC-compatible __align8/__align16 declaration
patch by Steve Lhomme, steve .dot. lhomme .at. free .dot. fr Originally committed as revision 4942 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/i386/vp3dsp_sse2.c')
-rw-r--r--libavcodec/i386/vp3dsp_sse2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/i386/vp3dsp_sse2.c b/libavcodec/i386/vp3dsp_sse2.c
index 4897ad8958..cf822f7d48 100644
--- a/libavcodec/i386/vp3dsp_sse2.c
+++ b/libavcodec/i386/vp3dsp_sse2.c
@@ -24,7 +24,7 @@
#include "../dsputil.h"
#include "mmx.h"
-static const unsigned short __align16 SSE2_dequant_const[] =
+static DECLARE_ALIGNED_16(const unsigned short, SSE2_dequant_const[]) =
{
0,65535,65535,0,0,0,0,0, // 0x0000 0000 0000 0000 0000 FFFF FFFF 0000
0,0,0,0,65535,65535,0,0, // 0x0000 0000 FFFF FFFF 0000 0000 0000 0000
@@ -35,7 +35,7 @@ static const unsigned short __align16 SSE2_dequant_const[] =
0,0,65535,65535, 0,0,0,0 // 0x0000 0000 0000 0000 FFFF FFFF 0000 0000
};
-static const unsigned int __align16 eight_data[] =
+static DECLARE_ALIGNED_16(const unsigned int, eight_data[]) =
{
0x00080008,
0x00080008,
@@ -43,7 +43,7 @@ static const unsigned int __align16 eight_data[] =
0x00080008
};
-static const unsigned short __align16 SSE2_idct_data[7 * 8] =
+static DECLARE_ALIGNED_16(const unsigned short, SSE2_idct_data[7 * 8]) =
{
64277,64277,64277,64277,64277,64277,64277,64277,
60547,60547,60547,60547,60547,60547,60547,60547,