diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2008-12-14 03:46:27 +0300 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2008-12-14 03:46:27 +0300 |
commit | d08ea32c2367bcb04da2b07be05c8582bf570aad (patch) | |
tree | 0daa766c6448afd2d1a267ff30f0da6e64fcb816 /libavcodec/imgconvert.c | |
parent | be73a544af0b626f31c484d3f96e67d68f4175ea (diff) |
Get rid of mmx_t.
Originally committed as revision 16116 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/imgconvert.c')
-rw-r--r-- | libavcodec/imgconvert.c | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c index 72a5bbefb6..1bee4b13ef 100644 --- a/libavcodec/imgconvert.c +++ b/libavcodec/imgconvert.c @@ -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 @@ static void deinterlace_line(uint8_t *dst, #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 @@ static void deinterlace_line_inplace(uint8_t *lum_m4, uint8_t *lum_m3, uint8_t * #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 |