[Mplayer-cvslog] CVS: main/libvo vo_3dfx.c,1.7,1.8

Arpi of Ize arpi at mplayer.dev.hu
Thu Sep 27 14:22:43 CEST 2001


Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv1630

Modified Files:
	vo_3dfx.c 
Log Message:
fixed to compile

Index: vo_3dfx.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_3dfx.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- vo_3dfx.c	13 Aug 2001 11:08:18 -0000	1.7
+++ vo_3dfx.c	27 Sep 2001 12:22:27 -0000	1.8
@@ -441,12 +441,13 @@
 }
 
 static uint32_t 
-draw_slice(uint8_t *src[], uint32_t slice_num) 
+//draw_slice(uint8_t *src[], uint32_t slice_num) 
+draw_slice(uint8_t *src[], int stride[], int w,int h,int x,int y)
 {
 	uint32_t target;
 
-	target = vidpage2offset + (screenwidth*2 * 16*slice_num);
-	dump_yuv_planar((uint32_t *)src[0],(uint32_t *)src[1],(uint32_t *)src[2],target,vidwidth,16);
+	target = vidpage2offset + (screenwidth*2 * y);
+	dump_yuv_planar((uint32_t *)src[0],(uint32_t *)src[1],(uint32_t *)src[2],target,vidwidth,h);
 	return 0;
 }
 




More information about the MPlayer-cvslog mailing list