changeset 14626:13ffc5167c2d

- Don't advertise IMGFMT_RGBxx - Updated copyright line
author syrjala
date Mon, 31 Jan 2005 17:59:36 +0000
parents e85e3894520f
children cd16b26cf6e0
files libvo/vo_dfbmga.c
diffstat 1 files changed, 1 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_dfbmga.c	Mon Jan 31 15:57:27 2005 +0000
+++ b/libvo/vo_dfbmga.c	Mon Jan 31 17:59:36 2005 +0000
@@ -1,7 +1,7 @@
 /*
    MPlayer video driver for DirectFB / Matrox G200/G400/G450/G550
 
-   Copyright (C) 2002,2003 Ville Syrjala <syrjala@sci.fi>
+   Copyright (C) 2002-2005 Ville Syrjala <syrjala@sci.fi>
 
    Originally based on vo_directfb.c by
    Jiri Svoboda <Jiri.Svoboda@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: