]> git.sesse.net Git - vlc/blob - plugins/mga/vout_mga.h
* Ported Glide and MGA plugins to the new module API. MGA never worked,
[vlc] / plugins / mga / vout_mga.h
1 /*****************************************************************************
2  * vout_mga.h: MGA video output display method headers
3  *****************************************************************************
4  * Copyright (C) 1999 Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
5  * Copyright (C) 2000, 2001 VideoLAN
6  *
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  * 
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Boston, MA 02111-1307, USA.
21  *****************************************************************************/
22
23 #ifndef __LINUX_MGAVID_H
24 #define __LINUX_MGAVID_H
25
26 typedef struct mga_vid_config_s
27 {
28     u32     card_type;
29     u32     ram_size;
30     u32     src_width;
31     u32     src_height;
32     u32     dest_width;
33     u32     dest_height;
34     u32     x_org;
35     u32     y_org;
36     u8      colkey_on;
37     u8      colkey_red;
38     u8      colkey_green;
39     u8      colkey_blue;
40 } mga_vid_config_t;
41
42 #define MGA_VID_CONFIG _IOR('J', 1, mga_vid_config_t)
43 #define MGA_VID_ON     _IO ('J', 2)
44 #define MGA_VID_OFF    _IO ('J', 3)
45
46 #define MGA_G200 0x1234
47 #define MGA_G400 0x5678
48
49 #endif
50