[MPlayer-cvslog] r20016 - trunk/libmpcodecs/vf_yadif.c

gpoirier subversion at mplayerhq.hu
Sun Oct 1 21:51:06 CEST 2006


Author: gpoirier
Date: Sun Oct  1 21:51:04 2006
New Revision: 20016

Modified:
   trunk/libmpcodecs/vf_yadif.c

Log:
Compile fix for odd versions of binutils, namely the ones in Fedora.
Patch by Reimar
Original thread:
Date: Oct 1, 2006 4:42 PM
Subject: Re: [MPlayer-dev-eng] vf_yadif.c: fix for (probably) older binutils


Modified: trunk/libmpcodecs/vf_yadif.c
==============================================================================
--- trunk/libmpcodecs/vf_yadif.c	(original)
+++ trunk/libmpcodecs/vf_yadif.c	Sun Oct  1 21:51:04 2006
@@ -83,8 +83,8 @@
             "pmaxsw   "#tmp", "#dst" \n\t"
 
 #define CHECK(pj,mj) \
-            "movq "#pj"-1(%[cur],%[mrefs]), %%mm2 \n\t" /* cur[x-refs-1+j] */\
-            "movq "#mj"-1(%[cur],%[prefs]), %%mm3 \n\t" /* cur[x+refs-1-j] */\
+            "movq "#pj"(%[cur],%[mrefs]), %%mm2 \n\t" /* cur[x-refs-1+j] */\
+            "movq "#mj"(%[cur],%[prefs]), %%mm3 \n\t" /* cur[x+refs-1-j] */\
             "movq      %%mm2, %%mm4 \n\t"\
             "movq      %%mm2, %%mm5 \n\t"\
             "pxor      %%mm3, %%mm4 \n\t"\
@@ -193,13 +193,13 @@
             "paddw     %%mm3, %%mm0 \n\t"\
             "psubw    %[pw1], %%mm0 \n\t" /* spatial_score */\
 \
-            CHECK(-1,1)\
+            CHECK(-2,0)\
             CHECK1\
-            CHECK(-2,2)\
+            CHECK(-3,1)\
             CHECK2\
-            CHECK(1,-1)\
+            CHECK(0,-2)\
             CHECK1\
-            CHECK(2,-2)\
+            CHECK(1,-3)\
             CHECK2\
 \
             /* if(p->mode<2) ... */\



More information about the MPlayer-cvslog mailing list