-
Notifications
You must be signed in to change notification settings - Fork 0
/
ati.h
58 lines (46 loc) · 1.7 KB
/
ati.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#ifndef fooatihfoo
#define fooatihfoo
/*
* This file is part of atitvout.
*
* asd is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* asd is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for more details.
*
* You should have received a copy of the GNU General Public License
* along with atitvout; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
#define ATI_DISPLAY_LCD 1
#define ATI_DISPLAY_CRT 2
#define ATI_DISPLAY_TV 4
#define ATI_DISPLAY_AUTOSWITCH 8
#define ATI_TV_COMPOSITE 1
#define ATI_TV_SVIDEO 2
#define ATI_TVOUT_NOTDETECTED 0
#define ATI_TVOUT_NOTSUPPORTED 1
#define ATI_TVOUT_DISABLED 2
#define ATI_TVOUT_ENABLED 3
#define ATI_TVOUT_REFFREQ29_49892 0
#define ATI_TVOUT_REFFREQ28_63636 1
#define ATI_TVOUT_REFFREQ14_31818 2
#define ATI_TVOUT_REFFREQ27_00000 3
extern float tvout_reffreq_table[];
#define TVOUT_REFFREQ(x) ((x >= 0) && (x <= 3) ? tvout_reffreq_table[x] : 0.0)
#define ATI_TVOUT_STANDARD_NTSC 0
#define ATI_TVOUT_STANDARD_PAL 1
#define ATI_TVOUT_STANDARD_PALM 2
#define ATI_TVOUT_STANDARD_PAL60 3
#define ATI_TVOUT_STANDARD_NTSCJ 4
#define ATI_TVOUT_STANDARD_PALCN 5
#define ATI_TVOUT_STANDARD_PALN 6
#define ATI_TVOUT_STANDARD_SCARTPAL 9
extern const char* tvout_standard_table[];
#define TVOUT_STANDARD_NAME(x) ((x >= 0) && (x <= 9) ? tvout_standard_table[x] : "??")
#endif