[Mplayer-cvslog] CVS: main/vidix vidix.h,1.7,1.8

Alex Beregszaszi alex at mplayer.dev.hu
Wed Jan 23 20:30:32 CET 2002


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

Modified Files:
	vidix.h 
Log Message:
some typos fixed ;), added author to capabilites and extended name to 64 bytes. added interleaved uv planes support

Index: vidix.h
===================================================================
RCS file: /cvsroot/mplayer/main/vidix/vidix.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- vidix.h	23 Jan 2002 16:55:25 -0000	1.7
+++ vidix.h	23 Jan 2002 19:30:26 -0000	1.8
@@ -40,7 +40,8 @@
 
 typedef struct vidix_capability_s
 {
-	char	name[32];	/* Driver name */
+	char	name[64];	/* Driver name */
+	char	author[64];	/* Author name */
 #define TYPE_OUTPUT	0x00000000	/* Is a video playback device */
 #define TYPE_CAPTURE	0x00000001	/* Is a capture device */
 #define TYPE_CODEC	0x00000002	/* Device supports hw (de)coding */
@@ -62,7 +63,7 @@
 	unsigned flags;		/* Feature flags, see above */
 	unsigned short vendor_id;
 	unsigned short device_id;
-	unsigned reserved[4];
+	unsigned reserved1[4];
 }vidix_capability_t;
 
 			/* Should fill at least type before init.
@@ -139,14 +140,18 @@
 {
 	unsigned	fourcc;		/* app -> driver: movies's fourcc */
 	unsigned	capability;	/* app -> driver: what capability to use */
-	unsigned	blend_factor;	/* app -> driver: blenfing factor */
+	unsigned	blend_factor;	/* app -> driver: blending factor */
 	vidix_rect_t	src;            /* app -> driver: original movie size */
 	vidix_rect_t	dest;           /* app -> driver: destinition movie size. driver->app dest_pitch */
+#define VID_PLAY_INTERLEAVED_UV	0x00000001	/* driver -> app: interleaved UV planes */
+#define INTERLEAVING_UV		0x00001000	/* UVUVUVUVUV used by Matrox G200 */
+#define INTERLEAVING_VU		0x00001001	/* VUVUVUVUVU */
+	int		flags;
 	/* memory model */
-	unsigned	frame_size;		/* driver -> app; destinition frame size */
+	unsigned	frame_size;		/* driver -> app: destinition frame size */
 	unsigned	num_frames;		/* app -> driver: after call: driver -> app */
-#define LVO_MAXFRAMES 32
-	unsigned	offsets[LVO_MAXFRAMES];	/* driver -> app */
+#define VID_PLAY_MAXFRAMES 32
+	unsigned	offsets[VID_PLAY_MAXFRAMES];	/* driver -> app */
 	vidix_yuv_t	offset;			/* driver -> app: relative offsets within frame for yuv planes */
 	void*		dga_addr;		/* driver -> app: linear address */
 }vidix_playback_t;




More information about the MPlayer-cvslog mailing list