diff libmpcodecs/img_format.c @ 9171:898e5270a46e

fixing rgb4 & bgr4 (2 pixels per byte) adding bg4b & rg4b (1 pixel per byte)
author michael
date Thu, 30 Jan 2003 09:15:09 +0000
parents 713182435a76
children 3e40b8f879c8
line wrap: on
line diff
--- a/libmpcodecs/img_format.c	Wed Jan 29 23:28:55 2003 +0000
+++ b/libmpcodecs/img_format.c	Thu Jan 30 09:15:09 2003 +0000
@@ -6,6 +6,7 @@
     {
 	case IMGFMT_RGB1: return("RGB 1-bit");
 	case IMGFMT_RGB4: return("RGB 4-bit");
+	case IMGFMT_RG4B: return("RGB 4-bit per byte");
 	case IMGFMT_RGB8: return("RGB 8-bit");
 	case IMGFMT_RGB15: return("RGB 15-bit");
 	case IMGFMT_RGB16: return("RGB 16-bit");
@@ -13,6 +14,7 @@
 	case IMGFMT_RGB32: return("RGB 32-bit");
 	case IMGFMT_BGR1: return("BGR 1-bit");
 	case IMGFMT_BGR4: return("BGR 4-bit");
+	case IMGFMT_BG4B: return("BGR 4-bit per byte");
 	case IMGFMT_BGR8: return("BGR 8-bit");
 	case IMGFMT_BGR15: return("BGR 15-bit");
 	case IMGFMT_BGR16: return("BGR 16-bit");