changeset 6478:feb97a44080b

added yvu9
author alex
date Fri, 21 Jun 2002 16:01:18 +0000
parents 08712c93b643
children 45ec7f24de06
files libmpcodecs/mp_image.h
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/mp_image.h	Fri Jun 21 07:06:46 2002 +0000
+++ b/libmpcodecs/mp_image.h	Fri Jun 21 16:01:18 2002 +0000
@@ -26,6 +26,8 @@
 #define MP_IMGFLAG_SWAPPED 0x400
 // type displayed (do not set this flag - it's for internal use!)
 #define MP_IMGFLAG_TYPE_DISPLAYED 0x800
+// using palette for RGB data
+#define MP_IMGFLAG_TYPE_RGB_PALETTE 0x1000
 
 // codec doesn't support any form of direct rendering - it has own buffer
 // allocation. so we just export its buffer pointers:
@@ -74,6 +76,10 @@
 	mpi->flags|=MP_IMGFLAG_PLANAR;
 	mpi->bpp=12;
 	return;
+    case IMGFMT_YVU9:
+	mpi->flags|=MP_IMGFLAG_PLANAR;
+	mpi->bpp=9;
+	return;
     case IMGFMT_UYVY:
 	mpi->flags|=MP_IMGFLAG_SWAPPED;
     case IMGFMT_YUY2: