[Mplayer-cvslog] CVS: main/libavcodec/i386 dsputil_mmx.c,1.3,1.4

Nick Kurshev nick at mplayer.dev.hu
Tue Jul 17 22:01:32 CEST 2001


Update of /cvsroot/mplayer/main/libavcodec/i386
In directory mplayer:/var/tmp.root/cvs-serv20705/main/libavcodec/i386

Modified Files:
	dsputil_mmx.c 
Log Message:
Added lost emms() in some functions

Index: dsputil_mmx.c
===================================================================
RCS file: /cvsroot/mplayer/main/libavcodec/i386/dsputil_mmx.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- dsputil_mmx.c	17 Jul 2001 09:07:57 -0000	1.3
+++ dsputil_mmx.c	17 Jul 2001 20:01:29 -0000	1.4
@@ -20,8 +20,8 @@
  */
 
 /* pixel operations */
-static const unsigned short mm_wone[4] __attribute__ ((aligned(8))) = { 0x1, 0x1, 0x1, 0x1 };
-static const unsigned short mm_wtwo[4] __attribute__ ((aligned(8))) = { 0x2, 0x2, 0x2, 0x2 };
+static const unsigned short mm_wone[4] __attribute__ ((aligned(8))) = { 0x1, 0x1, 0x1, 0x1 };
+static const unsigned short mm_wtwo[4] __attribute__ ((aligned(8))) = { 0x2, 0x2, 0x2, 0x2 };
 
 /*
  cropTable[0..255] = idx;
@@ -464,6 +464,7 @@
    pix += line_size;
    p +=   line_size;
   } while (--h);
+  emms();
 }
 
 static void put_no_rnd_pixels_y2( UINT8  *block, const UINT8 *pixels, int line_size, int h)
@@ -499,6 +500,7 @@
    pix1 += line_size;
    p +=   line_size;
   } while(--h);
+  emms();
 }
 
 static void   put_no_rnd_pixels_xy2( UINT8  *block, const UINT8 *pixels, int line_size, int h)
@@ -551,6 +553,7 @@
    pix1 += line_size;
    p +=   line_size;
   } while(--h);
+  emms();
 }
 
 void (* put_no_rnd_pixels_tab[4])(UINT8 *block, const UINT8 *pixels, int line_size, int h) =




More information about the MPlayer-cvslog mailing list