1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20#ifndef _SAA7196_H_
21#define _SAA7196_H_
22
23#define SAA7196_NUMREGS 0x31
24#define NUM_SUPPORTED_NORM 3
25
26
27#define SAA7196_IDEL 0x00
28#define SAA7196_HSB5 0x01
29#define SAA7196_HSS5 0x02
30#define SAA7196_HCB5 0x03
31#define SAA7196_HCS5 0x04
32#define SAA7196_HSP5 0x05
33#define SAA7196_LUMC 0x06
34#define SAA7196_HUEC 0x07
35#define SAA7196_CKTQ 0x08
36#define SAA7196_CKTS 0x09
37#define SAA7196_PALS 0x0a
38#define SAA7196_SECAMS 0x0b
39#define SAA7196_CGAINC 0x0c
40#define SAA7196_STDC 0x0d
41#define SAA7196_IOCC 0x0e
42#define SAA7196_CTRL1 0x0f
43#define SAA7196_CTRL2 0x10
44#define SAA7196_CGAINR 0x11
45#define SAA7196_CSAT 0x12
46#define SAA7196_CONT 0x13
47#define SAA7196_HSB6 0x14
48#define SAA7196_HSS6 0x15
49#define SAA7196_HCB6 0x16
50#define SAA7196_HCS6 0x17
51#define SAA7196_HSP6 0x18
52#define SAA7196_BRIG 0x19
53
54
55#define SAA7196_FMTS 0x20
56#define SAA7196_OUTPIX 0x21
57#define SAA7196_INPIX 0x22
58#define SAA7196_HWS 0x23
59#define SAA7196_HFILT 0x24
60#define SAA7196_OUTLINE 0x25
61#define SAA7196_INLINE 0x26
62#define SAA7196_VWS 0x27
63#define SAA7196_VYP 0x28
64#define SAA7196_VBS 0x29
65#define SAA7196_VBCNT 0x2a
66#define SAA7196_VBP 0x2b
67#define SAA7196_VLOW 0x2c
68#define SAA7196_VHIGH 0x2d
69#define SAA7196_ULOW 0x2e
70#define SAA7196_UHIGH 0x2f
71#define SAA7196_DPATH 0x30
72
73
74
75unsigned char saa_regs[NUM_SUPPORTED_NORM][SAA7196_NUMREGS] = {
76
77
78
79 { 0x50, 0x30, 0x00, 0xe8, 0xb6, 0xe5, 0x63, 0xff,
80 0xfe, 0xf0, 0xfe, 0xe0, 0x20, 0x06, 0x3b, 0x98,
81 0x00, 0x59, 0x41, 0x45, 0x34, 0x0a, 0xf4, 0xd2,
82 0xe9, 0xa2,
83
84 0x80, 0x80, 0x80, 0x80, 0x80, 0x80,
85
86 0x72, 0x80, 0x00, 0x03, 0x8d, 0x20, 0x20, 0x12,
87 0xa5, 0x12, 0x00, 0x00, 0x04, 0x00, 0x04, 0x00,
88 0x87 },
89
90
91
92 { 0x50, 0x30, 0x00, 0xe8, 0xb6, 0xe5, 0x50, 0x00,
93 0xf8, 0xf0, 0xfe, 0xe0, 0x00, 0x06, 0x3b, 0x98,
94 0x00, 0x2c, 0x3d, 0x40, 0x34, 0x0a, 0xf4, 0xd2,
95 0xe9, 0x98,
96
97 0x80, 0x80, 0x80, 0x80, 0x80, 0x80,
98
99 0x72, 0x80, 0x80, 0x03, 0x89, 0xf0, 0xf0, 0x0d,
100 0xa0, 0x0d, 0x00, 0x00, 0x04, 0x00, 0x04, 0x00,
101 0x87 },
102
103
104
105 { 0x50, 0x30, 0x00, 0xe8, 0xb6, 0xe5, 0x63, 0xff,
106 0xfe, 0xf0, 0xfe, 0xe0, 0x20, 0x07, 0x3b, 0x98,
107 0x00, 0x59, 0x41, 0x45, 0x34, 0x0a, 0xf4, 0xd2,
108 0xe9, 0xa2,
109
110 0x80, 0x80, 0x80, 0x80, 0x80, 0x80,
111
112 0x72, 0x80, 0x00, 0x03, 0x8d, 0x20, 0x20, 0x12,
113 0xa5, 0x12, 0x00, 0x00, 0x04, 0x00, 0x04, 0x00,
114 0x87 }
115 };
116
117#endif
118