[MPlayer-cvslog] r25396 - trunk/vidix/savage_vid.c

ben subversion at mplayerhq.hu
Fri Dec 14 19:19:51 CET 2007


Author: ben
Date: Fri Dec 14 19:19:50 2007
New Revision: 25396

Log:
bgr24 and bgr32 support

Modified:
   trunk/vidix/savage_vid.c

Modified: trunk/vidix/savage_vid.c
==============================================================================
--- trunk/vidix/savage_vid.c	(original)
+++ trunk/vidix/savage_vid.c	Fri Dec 14 19:19:50 2007
@@ -287,6 +287,10 @@ unsigned int GetBlendForFourCC( int id )
 	    return 3;
 	case IMGFMT_BGR16:
 	    return 5;
+	case IMGFMT_BGR24:
+	    return 6;
+	case IMGFMT_BGR32:
+	    return 7;
         default:
 	    return 1;
     }
@@ -1057,7 +1061,8 @@ is_supported_fourcc (uint32_t fourcc)
     case IMGFMT_Y211:
     case IMGFMT_RGB15:
     case IMGFMT_RGB16:
-//    case IMGFMT_BGR32:
+    case IMGFMT_BGR24:
+    case IMGFMT_BGR32:
       return 1;
     default:
       return 0;



More information about the MPlayer-cvslog mailing list