[MPlayer-cvslog] r27621 - trunk/libvo/vo_dfbmga.c

syrjala subversion at mplayerhq.hu
Mon Sep 15 22:35:07 CEST 2008


Author: syrjala
Date: Mon Sep 15 22:35:05 2008
New Revision: 27621

Log:
Remove BGR24 support since it has never worked anyway.


Modified:
   trunk/libvo/vo_dfbmga.c

Modified: trunk/libvo/vo_dfbmga.c
==============================================================================
--- trunk/libvo/vo_dfbmga.c	(original)
+++ trunk/libvo/vo_dfbmga.c	Mon Sep 15 22:35:05 2008
@@ -136,8 +136,6 @@ pixelformat_name( DFBSurfacePixelFormat 
           return "ARGB";
      case DSPF_RGB32:
           return "RGB32";
-     case DSPF_RGB24:
-	  return "RGB24";
      case DSPF_RGB16:
 	  return "RGB16";
      case DSPF_ARGB1555:
@@ -169,8 +167,6 @@ imgfmt_to_pixelformat( uint32_t format )
      switch (format) {
      case IMGFMT_BGR32:
 	  return DSPF_RGB32;
-     case IMGFMT_BGR24:
-	  return DSPF_RGB24;
      case IMGFMT_BGR16:
 	  return DSPF_RGB16;
      case IMGFMT_BGR15:
@@ -894,7 +890,6 @@ query_format( uint32_t format )
 {
      switch (format) {
           case IMGFMT_BGR32:
-          case IMGFMT_BGR24:
           case IMGFMT_BGR16:
           case IMGFMT_BGR15:
           case IMGFMT_UYVY:
@@ -991,11 +986,6 @@ draw_alpha( int x0, int y0,
                                dst + pitch * y0 + 4 * x0,
                                pitch );
 	  break;
-     case DSPF_RGB24:
-	  vo_draw_alpha_rgb24( w, h, src, srca, stride,
-                               dst + pitch * y0 + 3 * x0,
-                               pitch );
-	  break;
      case DSPF_RGB16:
 	  vo_draw_alpha_rgb16( w, h, src, srca, stride,
                                dst + pitch * y0 + 2 * x0,



More information about the MPlayer-cvslog mailing list