# HG changeset patch # User glantau # Date 996007135 0 # Node ID 4479bcab253e843f5cc7cc78ed07437eb2a44a48 # Parent b8374040680ddc55e3a59a37ee35e49d338571e2 suppressed no longer needed emms() diff -r b8374040680d -r 4479bcab253e i386/dsputil_mmx.c --- a/i386/dsputil_mmx.c Tue Jul 24 20:37:52 2001 +0000 +++ b/i386/dsputil_mmx.c Tue Jul 24 20:38:55 2001 +0000 @@ -21,6 +21,8 @@ #include "../dsputil.h" +int mm_flags; /* multimedia extension flags */ + int pix_abs16x16_mmx(UINT8 *blk1, UINT8 *blk2, int lx, int h); int pix_abs16x16_sse(UINT8 *blk1, UINT8 *blk2, int lx, int h); int pix_abs16x16_x2_mmx(UINT8 *blk1, UINT8 *blk2, int lx, int h); @@ -89,7 +91,6 @@ pix += line_size*2; p += 16; } - emms(); } static void put_pixels_clamped_mmx(const DCTELEM *block, UINT8 *pixels, int line_size) @@ -126,7 +127,6 @@ pix += line_size*4; p += 32; } - emms(); } static void add_pixels_clamped_mmx(const DCTELEM *block, UINT8 *pixels, int line_size) @@ -167,7 +167,6 @@ pix += line_size*2; p += 16; } - emms(); } static void put_pixels_mmx(UINT8 *block, const UINT8 *pixels, int line_size, int h) @@ -205,7 +204,6 @@ pix = pix + line_size; p = p + line_size; } - emms(); } static void put_pixels_x2_mmx(UINT8 *block, const UINT8 *pixels, int line_size, int h) @@ -241,7 +239,6 @@ :"memory"); pix += line_size; p += line_size; } while (--h); - emms(); } static void put_pixels_y2_mmx(UINT8 *block, const UINT8 *pixels, int line_size, int h) @@ -279,7 +276,6 @@ pix += line_size; p += line_size; } while (--h); - emms(); } static void put_pixels_xy2_mmx(UINT8 *block, const UINT8 *pixels, int line_size, int h) @@ -329,7 +325,6 @@ pix += line_size; p += line_size; } while(--h); - emms(); } static void put_no_rnd_pixels_x2_mmx( UINT8 *block, const UINT8 *pixels, int line_size, int h) @@ -361,7 +356,6 @@ pix += line_size; p += line_size; } while (--h); - emms(); } static void put_no_rnd_pixels_y2_mmx( UINT8 *block, const UINT8 *pixels, int line_size, int h) @@ -394,7 +388,6 @@ pix += line_size; p += line_size; } while(--h); - emms(); } static void put_no_rnd_pixels_xy2_mmx( UINT8 *block, const UINT8 *pixels, int line_size, int h) @@ -444,7 +437,6 @@ pix += line_size; p += line_size; } while(--h); - emms(); } static void avg_pixels_mmx(UINT8 *block, const UINT8 *pixels, int line_size, int h) @@ -482,7 +474,6 @@ p += line_size; } while (--h); - emms(); } static void avg_pixels_x2_mmx( UINT8 *block, const UINT8 *pixels, int line_size, int h) @@ -529,7 +520,6 @@ pix += line_size; p += line_size; } while (--h); - emms(); } static void avg_pixels_y2_mmx( UINT8 *block, const UINT8 *pixels, int line_size, int h) @@ -576,7 +566,6 @@ pix += line_size; p += line_size ; } while(--h); - emms(); } static void avg_pixels_xy2_mmx( UINT8 *block, const UINT8 *pixels, int line_size, int h) @@ -637,7 +626,6 @@ pix += line_size; p += line_size ; } while(--h); - emms(); } static void avg_no_rnd_pixels_mmx( UINT8 *block, const UINT8 *pixels, int line_size, int h) @@ -669,7 +657,6 @@ pix += line_size; p += line_size ; } while (--h); - emms(); } static void avg_no_rnd_pixels_x2_mmx( UINT8 *block, const UINT8 *pixels, int line_size, int h) @@ -710,7 +697,6 @@ pix += line_size; p += line_size; } while (--h); - emms(); } static void avg_no_rnd_pixels_y2_mmx( UINT8 *block, const UINT8 *pixels, int line_size, int h) @@ -751,7 +737,6 @@ pix += line_size; p += line_size ; } while(--h); - emms(); } static void avg_no_rnd_pixels_xy2_mmx( UINT8 *block, const UINT8 *pixels, int line_size, int h) @@ -809,7 +794,6 @@ pix += line_size; p += line_size; } while(--h); - emms(); } static void sub_pixels_mmx( DCTELEM *block, const UINT8 *pixels, int line_size, int h) @@ -837,7 +821,6 @@ pix += line_size; p += 8; } while (--h); - emms(); } static void sub_pixels_x2_mmx( DCTELEM *block, const UINT8 *pixels, int line_size, int h) @@ -878,7 +861,6 @@ pix += line_size; p += 8; } while (--h); - emms(); } static void sub_pixels_y2_mmx( DCTELEM *block, const UINT8 *pixels, int line_size, int h) @@ -919,7 +901,6 @@ pix += line_size; p += 8; } while (--h); - emms(); } static void sub_pixels_xy2_mmx( DCTELEM *block, const UINT8 *pixels, int line_size, int h) @@ -973,7 +954,6 @@ pix += line_size; p += 8 ; } while(--h); - emms(); } void dsputil_init_mmx(void) diff -r b8374040680d -r 4479bcab253e i386/dsputil_mmx_avg.h --- a/i386/dsputil_mmx_avg.h Tue Jul 24 20:37:52 2001 +0000 +++ b/i386/dsputil_mmx_avg.h Tue Jul 24 20:38:55 2001 +0000 @@ -62,7 +62,6 @@ :"memory"); pix += line_size; p += line_size; } - emms(); } static void DEF(put_pixels_y2)(UINT8 *block, const UINT8 *pixels, int line_size, int h) @@ -102,7 +101,6 @@ "m"(*(pix+line_size)) :"memory"); } - emms(); } static void DEF(avg_pixels)(UINT8 *block, const UINT8 *pixels, int line_size, int h) @@ -148,7 +146,6 @@ :"memory"); pix += line_size; p += line_size; } - emms(); } static void DEF(avg_pixels_x2)( UINT8 *block, const UINT8 *pixels, int line_size, int h) @@ -192,7 +189,6 @@ :"m"(*pix) :"memory"); } - emms(); } static void DEF(avg_pixels_y2)( UINT8 *block, const UINT8 *pixels, int line_size, int h) @@ -236,7 +232,6 @@ :"m"(*pix), "m"(*(pix+line_size)) :"memory"); } - emms(); } static void DEF(avg_pixels_xy2)( UINT8 *block, const UINT8 *pixels, int line_size, int h) @@ -287,7 +282,6 @@ pix += line_size; p += line_size ; } while(--h); - emms(); } static void DEF(sub_pixels_x2)( DCTELEM *block, const UINT8 *pixels, int line_size, int h) @@ -317,7 +311,6 @@ pix += line_size; p += 8; } while (--h); - emms(); } static void DEF(sub_pixels_y2)( DCTELEM *block, const UINT8 *pixels, int line_size, int h) @@ -347,6 +340,5 @@ pix += line_size; p += 8; } while (--h); - emms(); }