aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/i386/dsputil_h264_template_mmx.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/dsputil_h264_template_mmx.c
parent04c669ba98955535c00b5283eebafec773d2e83d (diff)
downloadffmpeg-68b51e58ce73d99d2cd9bfa14cb7daaf4a74047e.tar.gz
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/dsputil_h264_template_mmx.c')
-rw-r--r--libavcodec/i386/dsputil_h264_template_mmx.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/i386/dsputil_h264_template_mmx.c b/libavcodec/i386/dsputil_h264_template_mmx.c
index 8099132be6..d52938ccf4 100644
--- a/libavcodec/i386/dsputil_h264_template_mmx.c
+++ b/libavcodec/i386/dsputil_h264_template_mmx.c
@@ -25,8 +25,8 @@
*/
static void H264_CHROMA_MC8_TMPL(uint8_t *dst/*align 8*/, uint8_t *src/*align 1*/, int stride, int h, int x, int y)
{
- uint64_t AA __align8;
- uint64_t DD __align8;
+ DECLARE_ALIGNED_8(uint64_t, AA);
+ DECLARE_ALIGNED_8(uint64_t, DD);
int i;
if(y==0 && x==0) {
@@ -242,8 +242,8 @@ static void H264_CHROMA_MC8_TMPL(uint8_t *dst/*align 8*/, uint8_t *src/*align 1*
static void H264_CHROMA_MC4_TMPL(uint8_t *dst/*align 8*/, uint8_t *src/*align 1*/, int stride, int h, int x, int y)
{
- uint64_t AA __align8;
- uint64_t DD __align8;
+ DECLARE_ALIGNED_8(uint64_t, AA);
+ DECLARE_ALIGNED_8(uint64_t, DD);
int i;
/* no special case for mv=(0,0) in 4x*, since it's much less common than in 8x*.