10l: comparison of char* ptrs with string literals
[mplayer.git] / drivers / README
blobbea354f489cd6f7d3caa77374a60a6956661488d
2 mga_vid  -  MGA G200/G400 YUV Overlay kernel module
4         Author:
5                 Aaron Holtzman <aholtzma@ess.engr.uvic.ca>, Oct 1999
7         Contributions by:
8                 Fredrik Vraalsen <vraalsen@cs.uiuc.edu>
9                 Alan Cox <alan@lxorguk.ukuu.org.uk>
11                        WARNING  -----  WARNING
13 This code messes with your video card and your xserver. It will probably
14 lock up your box, format your hard drive, and cause your brand new g400 
15 MAX to spout 6 inch flames. You have been warned.
17                        WARNING  -----  WARNING
19 What does this code do?
21          mga_vid is a kernel module that utilitizes the Matrox g200/g400 video 
22          scaler/overlay unit to perform YUV->RGB colorspace conversion and
23          arbitrary video scaling.
25          mga_vid is also a monster hack.
27 How does mga_vid work?
29         This kernel module sets up the BES (backend scaler) with approriate values
30         based on parameters supplied via ioctl. It also maps a chunk of video
31         memory into userspace via mmap. This memory is stolen from X (which may
32         decide to write to it later). The application can then write image data
33         directly to the frame buffer (if it knows the right padding, etc).
36 How do I know if mga_vid works on my system?
38         There are test applications called mga_vid_test_g400 and mga_vid_test_g200.
39         Use the appropriate one for your card. This test code should draw some
40         nice 256x256 images for you if all is working well.