[Mplayer-cvslog] CVS: main/postproc rgb2rgb.c,1.38,1.39
Michael Niedermayer
michael at mplayer.dev.hu
Sun Nov 11 01:50:43 CET 2001
Update of /cvsroot/mplayer/main/postproc
In directory mplayer:/var/tmp.root/cvs-serv24304
Modified Files:
rgb2rgb.c
Log Message:
yuy2toyv12 bugfix
Index: rgb2rgb.c
===================================================================
RCS file: /cvsroot/mplayer/main/postproc/rgb2rgb.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- rgb2rgb.c 10 Nov 2001 23:28:10 -0000 1.38
+++ rgb2rgb.c 11 Nov 2001 00:50:40 -0000 1.39
@@ -758,6 +758,9 @@
: "memory", "%eax"
);
+ ydst += lumStride;
+ src += srcStride;
+
asm volatile(
"xorl %%eax, %%eax \n\t"
".balign 16 \n\t"
@@ -781,7 +784,7 @@
"cmpl %4, %%eax \n\t"
" jb 1b \n\t"
- ::"r"(src+srcStride), "r"(ydst+lumStride), "r"(udst), "r"(vdst), "r" (chromWidth)
+ ::"r"(src), "r"(ydst), "r"(udst), "r"(vdst), "r" (chromWidth)
: "memory", "%eax"
);
#else
More information about the MPlayer-cvslog
mailing list