changeset 25368:8362d7605961

bgr24 and bgr32 support
author ben
date Fri, 14 Dec 2007 18:19:50 +0000
parents c84e99bead4b
children 6f8d4937dd98
files vidix/savage_vid.c
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/vidix/savage_vid.c	Fri Dec 14 18:15:34 2007 +0000
+++ b/vidix/savage_vid.c	Fri Dec 14 18:19:50 2007 +0000
@@ -287,6 +287,10 @@
 	    return 3;
 	case IMGFMT_BGR16:
 	    return 5;
+	case IMGFMT_BGR24:
+	    return 6;
+	case IMGFMT_BGR32:
+	    return 7;
         default:
 	    return 1;
     }
@@ -1057,7 +1061,8 @@
     case IMGFMT_Y211:
     case IMGFMT_RGB15:
     case IMGFMT_RGB16:
-//    case IMGFMT_BGR32:
+    case IMGFMT_BGR24:
+    case IMGFMT_BGR32:
       return 1;
     default:
       return 0;