[Mplayer-cvslog] CVS: main/libvo vo_vesa.c,1.3,1.4

Nick Kurshev nick at mplayer.dev.hu
Fri Oct 19 17:23:21 CEST 2001


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

Modified Files:
	vo_vesa.c 
Log Message:
Initial YUV (YV12) support

Index: vo_vesa.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_vesa.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- vo_vesa.c	19 Oct 2001 15:09:40 -0000	1.3
+++ vo_vesa.c	19 Oct 2001 15:23:18 -0000	1.4
@@ -251,8 +251,8 @@
   uint32_t retval;
 	switch(format)
 	{
-#if 0
 		case IMGFMT_YV12:
+#if 0 /* Should be tested better */
 		case IMGFMT_I420:
 		case IMGFMT_IYUV:
 #endif
@@ -355,8 +355,8 @@
                 case IMGFMT_RGB15: bpp = 15; break;
 		case IMGFMT_YV12:
 		case IMGFMT_I420:
-		case IMGFMT_IYUV:
-			yuv2rgb_init(video_mode_info.BitsPerPixel, MODE_RGB);
+		case IMGFMT_IYUV: bpp=16;
+			yuv2rgb_init(bpp, MODE_RGB);
 		default:
 		case IMGFMT_BGR16:
 		case IMGFMT_RGB16: bpp = 16; break;




More information about the MPlayer-cvslog mailing list