[Mplayer-cvslog] CVS: main/libvo vo_svga.c,1.48,1.49
Michael Niedermayer
michael at mplayerhq.hu
Thu Jun 27 20:09:35 CEST 2002
- Previous message: [Mplayer-cvslog] CVS: main/postproc swscale.c,1.98,1.99 swscale_template.c,1.84,1.85 swscale.h,1.19,1.20
- Next message: [Mplayer-cvslog] CVS: main/postproc swscale.c,1.99,1.100 swscale.h,1.20,1.21
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/mplayer/main/libvo
In directory mail:/var/tmp.root/cvs-serv32647
Modified Files:
vo_svga.c
Log Message:
IMGFMT_{RGB,BGR}{1,4}
Index: vo_svga.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_svga.c,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- vo_svga.c 17 Jun 2002 12:40:28 -0000 1.48
+++ vo_svga.c 27 Jun 2002 18:09:32 -0000 1.49
@@ -681,7 +681,12 @@
case 8 : if ((format == IMGFMT_RGB8 ) || (format == IMGFMT_BGR8))
return ((bpp_avail & BPP_8 ) ? 1 : 0);
break;
- //FIXME RGB4 RGB1 ?
+ case 4 : if ((format == IMGFMT_RGB4 ) || (format == IMGFMT_BGR4))
+ return ((bpp_avail & BPP_4 ) ? 1 : 0);
+ break;
+ case 1 : if ((format == IMGFMT_RGB1 ) || (format == IMGFMT_BGR1))
+ return ((bpp_avail & BPP_1 ) ? 1 : 0);
+ break;
}
} else {
switch (format) {
@@ -706,6 +711,10 @@
case IMGFMT_YV12: return (1); break;
case IMGFMT_RGB8:
case IMGFMT_BGR8: return ((bpp_avail & BPP_8) ? 1 : 0); break;
+ case IMGFMT_RGB4:
+ case IMGFMT_BGR4: return ((bpp_avail & BPP_4) ? 1 : 0); break;
+ case IMGFMT_RGB1:
+ case IMGFMT_BGR1: return ((bpp_avail & BPP_1) ? 1 : 0); break;
}
}
return (0);
- Previous message: [Mplayer-cvslog] CVS: main/postproc swscale.c,1.98,1.99 swscale_template.c,1.84,1.85 swscale.h,1.19,1.20
- Next message: [Mplayer-cvslog] CVS: main/postproc swscale.c,1.99,1.100 swscale.h,1.20,1.21
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list