[Mplayer-cvslog] CVS: main mp_image.h,1.5,1.6

Arpi of Ize arpi at mplayer.dev.hu
Thu Mar 7 00:40:34 CET 2002


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv12887

Modified Files:
	mp_image.h 
Log Message:
ACCEPT_WIDTH flag added

Index: mp_image.h
===================================================================
RCS file: /cvsroot/mplayer/main/mp_image.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- mp_image.h	3 Mar 2002 18:47:26 -0000	1.5
+++ mp_image.h	6 Mar 2002 23:40:31 -0000	1.6
@@ -11,10 +11,12 @@
 #define MP_IMGFLAG_DIRECT 0x08
 // codec accept any stride (>=width):
 #define MP_IMGFLAG_ACCEPT_STRIDE 0x10
+// codec accept any width (width*bpp=stride) (>=width):
+#define MP_IMGFLAG_ACCEPT_WIDTH 0x20
 // stride should be aligned to 16-byte (MB) boundary:
-#define MP_IMGFLAG_ALIGNED_STRIDE 0x20
+#define MP_IMGFLAG_ALIGNED_STRIDE 0x40
 // codec uses drawing/rendering callbacks (draw_slice()-like thing, DR method 2)
-#define MP_IMGFLAG_DRAW_CALBACK 0x40
+#define MP_IMGFLAG_DRAW_CALLBACK 0x80
 
 // set if number of planes > 1
 #define MP_IMGFLAG_PLANAR 0x100




More information about the MPlayer-cvslog mailing list