Mercurial > libavcodec.hg
diff imgconvert.c @ 8316:589f9a71df95 libavcodec
Get rid of mmx_t.
author | aurel |
---|---|
date | Sun, 14 Dec 2008 00:46:27 +0000 |
parents | 661cd381d996 |
children | e9db9859de6c |
line wrap: on
line diff
--- a/imgconvert.c Sat Dec 13 18:16:06 2008 +0000 +++ b/imgconvert.c Sun Dec 14 00:46:27 2008 +0000 @@ -36,6 +36,7 @@ #ifdef HAVE_MMX #include "i386/mmx.h" +#include "i386/dsputil_mmx.h" #endif #define xglue(x, y) x ## y @@ -2733,13 +2734,8 @@ #else { - mmx_t rounder; - rounder.uw[0]=4; - rounder.uw[1]=4; - rounder.uw[2]=4; - rounder.uw[3]=4; pxor_r2r(mm7,mm7); - movq_m2r(rounder,mm6); + movq_m2r(ff_pw_4,mm6); } for (;size > 3; size-=4) { DEINT_LINE_LUM @@ -2776,13 +2772,8 @@ #else { - mmx_t rounder; - rounder.uw[0]=4; - rounder.uw[1]=4; - rounder.uw[2]=4; - rounder.uw[3]=4; pxor_r2r(mm7,mm7); - movq_m2r(rounder,mm6); + movq_m2r(ff_pw_4,mm6); } for (;size > 3; size-=4) { DEINT_INPLACE_LINE_LUM