annotate drivers/README.Matrox @ 33421:f10754220d42

Workaround embedded ssa/ass never hiding with -noass. The subtitles are not parsed, thus endpts is always invalid. Limit it to 4 seconds in that case.
author iive
date Sat, 28 May 2011 20:53:14 +0000
parents 0ad2da052b2e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
22691
544914dadb52 Move files from radeon/ subdirectory here.
diego
parents:
diff changeset
1 The code in this directory is the old mga_vid driver for Linux kernels
544914dadb52 Move files from radeon/ subdirectory here.
diego
parents:
diff changeset
2 prior to 2.6. It does _not_ compile for version 2.6.x.
544914dadb52 Move files from radeon/ subdirectory here.
diego
parents:
diff changeset
3
544914dadb52 Move files from radeon/ subdirectory here.
diego
parents:
diff changeset
4 For Linux kernel 2.6.x please get the newest version of the 2.6 port from
544914dadb52 Move files from radeon/ subdirectory here.
diego
parents:
diff changeset
5 http://attila.kinali.ch/mga/
544914dadb52 Move files from radeon/ subdirectory here.
diego
parents:
diff changeset
6
544914dadb52 Move files from radeon/ subdirectory here.
diego
parents:
diff changeset
7
544914dadb52 Move files from radeon/ subdirectory here.
diego
parents:
diff changeset
8 mga_vid - MGA G200/G400 YUV Overlay kernel module
544914dadb52 Move files from radeon/ subdirectory here.
diego
parents:
diff changeset
9
30990
0ad2da052b2e the great MPlayer tab removal: part I
diego
parents: 22691
diff changeset
10 Author:
0ad2da052b2e the great MPlayer tab removal: part I
diego
parents: 22691
diff changeset
11 Aaron Holtzman <aholtzma@ess.engr.uvic.ca>, Oct 1999
22691
544914dadb52 Move files from radeon/ subdirectory here.
diego
parents:
diff changeset
12
30990
0ad2da052b2e the great MPlayer tab removal: part I
diego
parents: 22691
diff changeset
13 Contributions by:
0ad2da052b2e the great MPlayer tab removal: part I
diego
parents: 22691
diff changeset
14 Fredrik Vraalsen <vraalsen@cs.uiuc.edu>
0ad2da052b2e the great MPlayer tab removal: part I
diego
parents: 22691
diff changeset
15 Alan Cox <alan@lxorguk.ukuu.org.uk>
22691
544914dadb52 Move files from radeon/ subdirectory here.
diego
parents:
diff changeset
16
544914dadb52 Move files from radeon/ subdirectory here.
diego
parents:
diff changeset
17 WARNING ----- WARNING
544914dadb52 Move files from radeon/ subdirectory here.
diego
parents:
diff changeset
18
544914dadb52 Move files from radeon/ subdirectory here.
diego
parents:
diff changeset
19 This code messes with your video card and your X server. It will probably
544914dadb52 Move files from radeon/ subdirectory here.
diego
parents:
diff changeset
20 lock up your box, format your hard drive, and cause your brand new G400
544914dadb52 Move files from radeon/ subdirectory here.
diego
parents:
diff changeset
21 MAX to spout 6 inch flames. You have been warned.
544914dadb52 Move files from radeon/ subdirectory here.
diego
parents:
diff changeset
22
544914dadb52 Move files from radeon/ subdirectory here.
diego
parents:
diff changeset
23 WARNING ----- WARNING
544914dadb52 Move files from radeon/ subdirectory here.
diego
parents:
diff changeset
24
544914dadb52 Move files from radeon/ subdirectory here.
diego
parents:
diff changeset
25 What does this code do?
544914dadb52 Move files from radeon/ subdirectory here.
diego
parents:
diff changeset
26
30990
0ad2da052b2e the great MPlayer tab removal: part I
diego
parents: 22691
diff changeset
27 mga_vid is a kernel module that utilitizes the Matrox G200/G400/G550
0ad2da052b2e the great MPlayer tab removal: part I
diego
parents: 22691
diff changeset
28 video scaler/overlay unit to perform YUV->RGB colorspace conversion
0ad2da052b2e the great MPlayer tab removal: part I
diego
parents: 22691
diff changeset
29 and arbitrary video scaling.
22691
544914dadb52 Move files from radeon/ subdirectory here.
diego
parents:
diff changeset
30
30990
0ad2da052b2e the great MPlayer tab removal: part I
diego
parents: 22691
diff changeset
31 mga_vid is also a monster hack.
22691
544914dadb52 Move files from radeon/ subdirectory here.
diego
parents:
diff changeset
32
544914dadb52 Move files from radeon/ subdirectory here.
diego
parents:
diff changeset
33 How does mga_vid work?
544914dadb52 Move files from radeon/ subdirectory here.
diego
parents:
diff changeset
34
30990
0ad2da052b2e the great MPlayer tab removal: part I
diego
parents: 22691
diff changeset
35 This kernel module sets up the BES (backend scaler) with appropriate
0ad2da052b2e the great MPlayer tab removal: part I
diego
parents: 22691
diff changeset
36 values based on parameters supplied via ioctl. It also maps a chunk of
0ad2da052b2e the great MPlayer tab removal: part I
diego
parents: 22691
diff changeset
37 video memory into userspace via mmap. This memory is stolen from X
0ad2da052b2e the great MPlayer tab removal: part I
diego
parents: 22691
diff changeset
38 (which may decide to write to it later). The application can then write
0ad2da052b2e the great MPlayer tab removal: part I
diego
parents: 22691
diff changeset
39 image data directly to the framebuffer (if it knows the right padding,
0ad2da052b2e the great MPlayer tab removal: part I
diego
parents: 22691
diff changeset
40 etc).
22691
544914dadb52 Move files from radeon/ subdirectory here.
diego
parents:
diff changeset
41
544914dadb52 Move files from radeon/ subdirectory here.
diego
parents:
diff changeset
42
544914dadb52 Move files from radeon/ subdirectory here.
diego
parents:
diff changeset
43 How do I know if mga_vid works on my system?
544914dadb52 Move files from radeon/ subdirectory here.
diego
parents:
diff changeset
44
30990
0ad2da052b2e the great MPlayer tab removal: part I
diego
parents: 22691
diff changeset
45 There is a test application called mga_vid_test. This test code should
0ad2da052b2e the great MPlayer tab removal: part I
diego
parents: 22691
diff changeset
46 draw some nice 256x256 images for you if all is working well.