[Mplayer-cvslog] CVS: main/vidix/drivers cyberblade_vid.c,1.6,1.7

Sascha Sommer CVS syncmail at mplayerhq.hu
Sun Oct 17 19:16:31 CEST 2004


CVS change done by Sascha Sommer CVS

Update of /cvsroot/mplayer/main/vidix/drivers
In directory mail:/var2/tmp/cvs-serv27441/vidix/drivers

Modified Files:
	cyberblade_vid.c 
Log Message:
I420 support patch by Benjamin Zores <ben at tutuxclan.org>

Index: cyberblade_vid.c
===================================================================
RCS file: /cvsroot/mplayer/main/vidix/drivers/cyberblade_vid.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- cyberblade_vid.c	10 Oct 2004 18:53:01 -0000	1.6
+++ cyberblade_vid.c	17 Oct 2004 17:16:28 -0000	1.7
@@ -252,6 +252,7 @@
 	{
 		case IMGFMT_YUY2:
 		case IMGFMT_YV12:
+		case IMGFMT_I420:
 		case IMGFMT_YVU9:
 		case IMGFMT_BGR16:
 			return 1;
@@ -407,6 +408,7 @@
 			layout=0x0; /* packed */
 			break;
 		case IMGFMT_YV12:
+		case IMGFMT_I420:
 			y_pitch = (src_w+15) & ~15;
 			uv_pitch = ((src_w/2)+7) & ~7;
 			YOffs=info->offset.y = 0;




More information about the MPlayer-cvslog mailing list