changeset 2236:32027d53eacb

added (f)emms
author arpi
date Wed, 17 Oct 2001 11:57:11 +0000
parents 5eba9cbc5acf
children 00a46cd41edd
files postproc/swscale.c postproc/swscale_template.c
diffstat 2 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/postproc/swscale.c	Wed Oct 17 10:55:29 2001 +0000
+++ b/postproc/swscale.c	Wed Oct 17 11:57:11 2001 +0000
@@ -644,6 +644,13 @@
 	g16Dither2= g16Dither;
   }
 
+#ifdef HAVE_3DNOW
+	asm volatile("femms");
+#elif defined (HAVE_MMX)
+	asm volatile("emms");
+#endif
+
+
 }
 
 
--- a/postproc/swscale_template.c	Wed Oct 17 10:55:29 2001 +0000
+++ b/postproc/swscale_template.c	Wed Oct 17 11:57:11 2001 +0000
@@ -644,6 +644,13 @@
 	g16Dither2= g16Dither;
   }
 
+#ifdef HAVE_3DNOW
+	asm volatile("femms");
+#elif defined (HAVE_MMX)
+	asm volatile("emms");
+#endif
+
+
 }