Mercurial > mplayer.hg
changeset 28483:c91145efcde2
Remove unnecessary emms Assembler instructions.
author | diego |
---|---|
date | Tue, 10 Feb 2009 02:00:45 +0000 |
parents | eb0903e395ba |
children | 6abda55d2574 |
files | libswscale/swscale-example.c |
diffstat | 1 files changed, 0 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/libswscale/swscale-example.c Tue Feb 10 00:24:08 2009 +0000 +++ b/libswscale/swscale-example.c Tue Feb 10 02:00:45 2009 +0000 @@ -24,7 +24,6 @@ #include <inttypes.h> #include <stdarg.h> -#include "config.h" #undef HAVE_AV_CONFIG_H #include "libavutil/avutil.h" #include "swscale.h" @@ -119,10 +118,6 @@ sws_scale(dstContext, src, srcStride, 0, srcH, dst, dstStride); sws_scale(outContext, dst, dstStride, 0, dstH, out, refStride); -#if ARCH_X86 - __asm__ volatile ("emms\n\t"); -#endif - ssdY= getSSD(ref[0], out[0], refStride[0], refStride[0], w, h); ssdU= getSSD(ref[1], out[1], refStride[1], refStride[1], (w+1)>>1, (h+1)>>1); ssdV= getSSD(ref[2], out[2], refStride[2], refStride[2], (w+1)>>1, (h+1)>>1); @@ -209,10 +204,6 @@ } sws_scale(sws, rgb_src, rgb_stride, 0, H, src, stride); -#if ARCH_X86 - __asm__ volatile ("emms\n\t"); -#endif - selfTest(src, stride, W, H); return 123;