[Mplayer-cvslog] CVS: main/libmpcodecs mp_image.h,1.9,1.10

Alex Beregszaszi alex at mplayerhq.hu
Fri Jun 21 18:01:26 CEST 2002


Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv18339

Modified Files:
	mp_image.h 
Log Message:
added yvu9

Index: mp_image.h
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/mp_image.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- mp_image.h	20 Apr 2002 22:24:19 -0000	1.9
+++ mp_image.h	21 Jun 2002 16:01:18 -0000	1.10
@@ -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:
@@ -73,6 +75,10 @@
     case IMGFMT_YV12:
 	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;





More information about the MPlayer-cvslog mailing list