[Mplayer-cvslog] CVS: main/drivers mgavid.patch,NONE,1.1

Dariush Pietrzak eyck at mplayer.dev.hu
Mon Apr 15 02:08:25 CEST 2002


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

Added Files:
	mgavid.patch 
Log Message:

mga_vid driver in form of a patch against linux-2.4.18
applicable using for example cd linux && patch -p1 < ~/mgavid.patch


--- NEW FILE ---
diff -ruN linux.orig/Documentation/Configure.help linux/Documentation/Configure.help
--- linux.orig/Documentation/Configure.help	Mon Apr 15 00:58:14 2002
+++ linux/Documentation/Configure.help	Mon Apr 15 01:04:11 2002
@@ -4542,6 +4542,15 @@
   There is no need for enabling 'Matrox multihead support' if you have
   only one Matrox card in the box.
 
+Matrox mga_vid driver
+CONFIG_FB_MATROX_MGAVID
+  Say Y here if you want to use /dev/mga_vid driver used by
+  advanced video players like mplayer and aviplay.
+  You'll need to mknod /dev/mga_vid c 178 0
+  If you compile it as module, it will create a module named
+  mga_vid.o.
+
+
 3Dfx Voodoo Graphics / Voodoo2 frame buffer support
 CONFIG_FB_VOODOO1
   Say Y here if you have a 3Dfx Voodoo Graphics (Voodoo1/sst1) or 
[...1672 lines suppressed...]
+
+#define MGA_VID_FORMAT_YV12 0x32315659
+#define MGA_VID_FORMAT_IYUV (('I'<<24)|('Y'<<16)|('U'<<8)|'V')
+#define MGA_VID_FORMAT_I420 (('I'<<24)|('4'<<16)|('2'<<8)|'0')
+#define MGA_VID_FORMAT_YUY2 (('Y'<<24)|('U'<<16)|('Y'<<8)|'2')
+#define MGA_VID_FORMAT_UYVY (('U'<<24)|('Y'<<16)|('V'<<8)|'Y')
+
+#define MGA_VID_CONFIG    _IOR('J', 1, mga_vid_config_t)
+#define MGA_VID_ON        _IO ('J', 2)
+#define MGA_VID_OFF       _IO ('J', 3)
+#define MGA_VID_FSEL _IOR('J', 4, int)
+#define MGA_VID_GET_LUMA _IOR('J', 5, int)
+#define MGA_VID_SET_LUMA _IOR('J', 6, int)
+
+#define MGA_G200 0x1234
+#define MGA_G400 0x5678
+
+#define MGA_VID_VERSION 0x0201
+
+#endif




More information about the MPlayer-cvslog mailing list