diff options
author | Arpi <arpi@thot.banki.hu> | 2001-10-17 11:57:11 +0000 |
---|---|---|
committer | Arpi <arpi@thot.banki.hu> | 2001-10-17 11:57:11 +0000 |
commit | fffd2e0ac258511a044501802fba4938c53a8caf (patch) | |
tree | 36ab074a4b8e87cddb3249b4d7cf06822a61c2a3 /postproc | |
parent | e72c545c934ae39486aaf8a697becf5f54139cd2 (diff) | |
download | ffmpeg-fffd2e0ac258511a044501802fba4938c53a8caf.tar.gz |
added (f)emms
Originally committed as revision 2237 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
Diffstat (limited to 'postproc')
-rw-r--r-- | postproc/swscale.c | 7 | ||||
-rw-r--r-- | postproc/swscale_template.c | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/postproc/swscale.c b/postproc/swscale.c index c37d7b655c..c5170490a0 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 c37d7b655c..c5170490a0 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 + + } |