summaryrefslogtreecommitdiff
path: root/libswscale
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-02-10 02:00:45 +0000
committerDiego Biurrun <diego@biurrun.de>2009-02-10 02:00:45 +0000
commit3d021dd6eb4cc28e54d35109d325d73883347513 (patch)
treeb9fede356c81a42ecec4538088502c6a42ada69a /libswscale
parentb7d3a8c13f3cb347985f39378e41f908cc885152 (diff)
downloadffmpeg-3d021dd6eb4cc28e54d35109d325d73883347513.tar.gz
Remove unnecessary emms Assembler instructions.
Originally committed as revision 28518 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/swscale-example.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/libswscale/swscale-example.c b/libswscale/swscale-example.c
index 328d98d8d0..87b9ba027d 100644
--- a/libswscale/swscale-example.c
+++ b/libswscale/swscale-example.c
@@ -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 @@ static int doTest(uint8_t *ref[3], int refStride[3], int w, int h, int srcFormat
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 @@ int main(int argc, char **argv){
}
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;