[SCM] libav/experimental: added (f)emms

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:30:11 UTC 2013


The following commit has been merged in the experimental branch:
commit fffd2e0ac258511a044501802fba4938c53a8caf
Author: Arpi <arpi at thot.banki.hu>
Date:   Wed Oct 17 11:57:11 2001 +0000

    added (f)emms
    
    Originally committed as revision 2237 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

diff --git a/postproc/swscale.c b/postproc/swscale.c
index c37d7b6..c517049 100644
--- a/postproc/swscale.c
+++ b/postproc/swscale.c
@@ -644,6 +644,13 @@ YSCALEYUV2RGB
 	g16Dither2= g16Dither;
   }
 
+#ifdef HAVE_3DNOW
+	asm volatile("femms");
+#elif defined (HAVE_MMX)
+	asm volatile("emms");
+#endif
+
+
 }
 
 
diff --git a/postproc/swscale_template.c b/postproc/swscale_template.c
index c37d7b6..c517049 100644
--- a/postproc/swscale_template.c
+++ b/postproc/swscale_template.c
@@ -644,6 +644,13 @@ YSCALEYUV2RGB
 	g16Dither2= g16Dither;
   }
 
+#ifdef HAVE_3DNOW
+	asm volatile("femms");
+#elif defined (HAVE_MMX)
+	asm volatile("emms");
+#endif
+
+
 }
 
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list