[MPlayer-cvslog] CVS: main/libvo vo_dfbmga.c,1.23,1.24

Ville Syrjälä CVS syncmail at mplayerhq.hu
Mon Jan 31 18:59:38 CET 2005


CVS change done by Ville Syrjälä CVS

Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv12268

Modified Files:
	vo_dfbmga.c 
Log Message:
- Don't advertise IMGFMT_RGBxx
- Updated copyright line


Index: vo_dfbmga.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_dfbmga.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- vo_dfbmga.c	28 Oct 2004 01:15:52 -0000	1.23
+++ vo_dfbmga.c	31 Jan 2005 17:59:36 -0000	1.24
@@ -1,7 +1,7 @@
 /*
    MPlayer video driver for DirectFB / Matrox G200/G400/G450/G550
 
-   Copyright (C) 2002,2003 Ville Syrjala <syrjala at sci.fi>
+   Copyright (C) 2002-2005 Ville Syrjala <syrjala at sci.fi>
 
    Originally based on vo_directfb.c by
    Jiri Svoboda <Jiri.Svoboda at seznam.cz>
@@ -158,16 +158,12 @@
 imgfmt_to_pixelformat( uint32_t format )
 {
      switch (format) {
-     case IMGFMT_RGB32:
      case IMGFMT_BGR32:
 	  return DSPF_RGB32;
-     case IMGFMT_RGB24:
      case IMGFMT_BGR24:
 	  return DSPF_RGB24;
-     case IMGFMT_RGB16:
      case IMGFMT_BGR16:
 	  return DSPF_RGB16;
-     case IMGFMT_RGB15:
      case IMGFMT_BGR15:
 	  return DSPF_ARGB1555;
      case IMGFMT_YUY2:
@@ -838,13 +834,9 @@
 query_format( uint32_t format )
 {
      switch (format) {
-          case IMGFMT_RGB32:
           case IMGFMT_BGR32:
-          case IMGFMT_RGB24:
           case IMGFMT_BGR24:
-          case IMGFMT_RGB16:
           case IMGFMT_BGR16:
-          case IMGFMT_RGB15:
           case IMGFMT_BGR15:
           case IMGFMT_UYVY:
           case IMGFMT_YV12:




More information about the MPlayer-cvslog mailing list