annotate vidix/unichrome_regs.h @ 36667:b689a06daa40

Replace pixmap for muted audio by a better one.
author ib
date Mon, 27 Jan 2014 14:21:26 +0000
parents 0f1b5b68af32
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
1 /* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/via/via.h,v 1.5 2004/01/05 00:34:17 dawes Exp $ */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
2 /*
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
3 * Copyright 1998-2003 VIA Technologies, Inc. All Rights Reserved.
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
4 * Copyright 2001-2003 S3 Graphics, Inc. All Rights Reserved.
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
5 *
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
6 * Permission is hereby granted, free of charge, to any person obtaining a
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
7 * copy of this software and associated documentation files (the "Software"),
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
8 * to deal in the Software without restriction, including without limitation
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
9 * the rights to use, copy, modify, merge, publish, distribute, sub license,
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
10 * and/or sell copies of the Software, and to permit persons to whom the
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
11 * Software is furnished to do so, subject to the following conditions:
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
12 *
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
13 * The above copyright notice and this permission notice (including the
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
14 * next paragraph) shall be included in all copies or substantial portions
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
15 * of the Software.
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
16 *
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
18 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
19 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
20 * VIA, S3 GRAPHICS, AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
21 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
22 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
23 * DEALINGS IN THE SOFTWARE.
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
24 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
25
26030
a93e46adb54c Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 23934
diff changeset
26 #ifndef MPLAYER_UNICHROME_REGS_H
a93e46adb54c Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 23934
diff changeset
27 #define MPLAYER_UNICHROME_REGS_H
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
28
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
29 /* Video status flag */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
30
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
31 #define VIDEO_SHOW 0x80000000 /*Video on*/
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
32 #define VIDEO_HIDE 0x00000000 /*Video off*/
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
33 #define VIDEO_MPEG_INUSE 0x08000000 /*Video is used with MPEG */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
34 #define VIDEO_HQV_INUSE 0x04000000 /*Video is used with HQV*/
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
35 #define VIDEO_CAPTURE0_INUSE 0x02000000 /*Video is used with CAPTURE 0*/
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
36 #define VIDEO_CAPTURE1_INUSE 0x00000000 /*Video is used with CAPTURE 1*/
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
37 #define VIDEO_1_INUSE 0x01000000 /*Video 1 is used with software flip*/
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
38 #define VIDEO_3_INUSE 0x00000000 /*Video 3 is used with software flip*/
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
39 #define MPEG_USE_V1 0x00010000 /*[16] : 1:MPEG use V1, 0:MPEG use V3*/
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
40 #define MPEG_USE_V3 0x00000000 /*[16] : 1:MPEG use V1, 0:MPEG use V3*/
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
41 #define MPEG_USE_HQV 0x00020000 /*[17] : 1:MPEG use HQV,0:MPEG not use HQV*/
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
42 #define MPEG_USE_HW_FLIP 0x00040000 /*[18] : 1:MPEG use H/W flip,0:MPEG use S/W flip*/
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
43 #define MPEG_USE_SW_FLIP 0x00000000 /*[18] : 1:MPEG use H/W flip,0:MPEG use S/W flip*/
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
44 #define CAP0_USE_V1 0x00001000 /*[12] : 1:Capture 0 use V1, 0:Capture 0 use V3*/
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
45 #define CAP0_USE_V3 0x00000000 /*[12] : 1:Capture 0 use V1, 0:Capture 0 use V3*/
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
46 #define CAP0_USE_HQV 0x00002000 /*[13] : 1:Capture 0 use HQV,0:Capture 0 not use HQV*/
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
47 #define CAP0_USE_HW_FLIP 0x00004000 /*[14] : 1:Capture 0 use H/W flip,0:Capture 0 use S/W flip*/
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
48 #define CAP0_USE_CCIR656 0x00008000 /*[15] : 1:Capture 0 use CCIR656,0:Capture 0 CCIR601*/
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
49 #define CAP1_USE_V1 0x00000100 /*[ 8] : 1:Capture 1 use V1, 0:Capture 1 use V3*/
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
50 #define CAP1_USE_V3 0x00000000 /*[ 8] : 1:Capture 1 use V1, 0:Capture 1 use V3*/
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
51 #define CAP1_USE_HQV 0x00000200 /*[ 9] : 1:Capture 1 use HQV,0:Capture 1 not use HQV*/
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
52 #define CAP1_USE_HW_FLIP 0x00000400 /*[10] : 1:Capture 1 use H/W flip,0:Capture 1 use S/W flip */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
53 #define SW_USE_V1 0x00000010 /*[ 4] : 1:Capture 1 use V1, 0:Capture 1 use V3 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
54 #define SW_USE_V3 0x00000000 /*[ 4] : 1:Capture 1 use V1, 0:Capture 1 use V3 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
55 #define SW_USE_HQV 0x00000020 /*[ 5] : 1:Capture 1 use HQV,0:Capture 1 not use HQV */
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26030
diff changeset
56
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
57 /*
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
58 #define VIDEO1_INUSE 0x00000010 //[ 4] : 1:Video 1 is used with S/W flip
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
59 #define VIDEO1_USE_HQV 0x00000020 //[ 5] : 1:Video 1 use HQV with S/W flip
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
60 #define VIDEO3_INUSE 0x00000001 //[ 0] : 1:Video 3 is used with S/W flip
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
61 #define VIDEO3_USE_HQV 0x00000002 //[ 1] : 1:Video 3 use HQV with S/W flip
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
62 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
63
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
64 /* H/W registers for Video Engine */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
65
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
66 /*
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
67 * bus master
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
68 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
69 #define PCI_MASTER_ENABLE 0x01
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
70 #define PCI_MASTER_SCATTER 0x00
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
71 #define PCI_MASTER_SINGLE 0x02
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
72 #define PCI_MASTER_GUI 0x00
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
73 #define PCI_MASTER_VIDEO 0x04
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
74 #define PCI_MASTER_INPUT 0x00
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
75 #define PCI_MASTER_OUTPUT 0x08
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
76
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
77 /*
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
78 * video registers
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
79 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
80 #define V_FLAGS 0x00
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
81 #define V_CAP_STATUS 0x04
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
82 #define V_FLIP_STATUS 0x04
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
83 #define V_ALPHA_WIN_START 0x08
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
84 #define V_ALPHA_WIN_END 0x0C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
85 #define V_ALPHA_CONTROL 0x10
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
86 #define V_CRT_STARTADDR 0x14
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
87 #define V_CRT_STARTADDR_2 0x18
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
88 #define V_ALPHA_STRIDE 0x1C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
89 #define V_COLOR_KEY 0x20
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
90 #define V_ALPHA_STARTADDR 0x24
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
91 #define V_CHROMAKEY_LOW 0x28
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
92 #define V_CHROMAKEY_HIGH 0x2C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
93 #define V1_CONTROL 0x30
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
94 #define V12_QWORD_PER_LINE 0x34
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
95 #define V1_STARTADDR_1 0x38
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
96 #define V1_STARTADDR_Y1 V1_STARTADDR_1
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
97 #define V1_STRIDE 0x3C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
98 #define V1_WIN_START_Y 0x40
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
99 #define V1_WIN_START_X 0x42
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
100 #define V1_WIN_END_Y 0x44
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
101 #define V1_WIN_END_X 0x46
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
102 #define V1_STARTADDR_2 0x48
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
103 #define V1_STARTADDR_Y2 V1_STARTADDR_2
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
104 #define V1_ZOOM_CONTROL 0x4C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
105 #define V1_MINI_CONTROL 0x50
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
106 #define V1_STARTADDR_0 0x54
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
107 #define V1_STARTADDR_Y0 V1_STARTADDR_0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
108 #define V_FIFO_CONTROL 0x58
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
109 #define V1_STARTADDR_3 0x5C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
110 #define V1_STARTADDR_Y3 V1_STARTADDR_3
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
111 #define HI_CONTROL 0x60
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
112 #define SND_COLOR_KEY 0x64
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
113 #define ALPHA_V3_PREFIFO_CONTROL 0x68
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
114 #define V1_SOURCE_HEIGHT 0x6C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
115 #define HI_TRANSPARENT_COLOR 0x70
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
116 #define V_DISPLAY_TEMP 0x74 /* No use */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
117 #define ALPHA_V3_FIFO_CONTROL 0x78
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
118 #define V3_SOURCE_WIDTH 0x7C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
119 #define V3_COLOR_KEY 0x80
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
120 #define V1_ColorSpaceReg_1 0x84
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
121 #define V1_ColorSpaceReg_2 0x88
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
122 #define V1_STARTADDR_CB0 0x8C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
123 #define V1_OPAQUE_CONTROL 0x90 /* To be deleted */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
124 #define V3_OPAQUE_CONTROL 0x94 /* To be deleted */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
125 #define V_COMPOSE_MODE 0x98
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
126 #define V3_STARTADDR_2 0x9C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
127 #define V3_CONTROL 0xA0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
128 #define V3_STARTADDR_0 0xA4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
129 #define V3_STARTADDR_1 0xA8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
130 #define V3_STRIDE 0xAC
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
131 #define V3_WIN_START_Y 0xB0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
132 #define V3_WIN_START_X 0xB2
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
133 #define V3_WIN_END_Y 0xB4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
134 #define V3_WIN_END_X 0xB6
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
135 #define V3_ALPHA_QWORD_PER_LINE 0xB8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
136 #define V3_ZOOM_CONTROL 0xBC
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
137 #define V3_MINI_CONTROL 0xC0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
138 #define V3_ColorSpaceReg_1 0xC4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
139 #define V3_ColorSpaceReg_2 0xC8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
140 #define V3_DISPLAY_TEMP 0xCC /* No use */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
141 #define V1_STARTADDR_CB1 0xE4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
142 #define V1_STARTADDR_CB2 0xE8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
143 #define V1_STARTADDR_CB3 0xEC
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
144 #define V1_STARTADDR_CR0 0xF0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
145 #define V1_STARTADDR_CR1 0xF4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
146 #define V1_STARTADDR_CR2 0xF8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
147 #define V1_STARTADDR_CR3 0xFC
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
148
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26030
diff changeset
149 /* Video Capture Engine Registers
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
150 * Capture Port 1
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
151 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
152 #define CAP0_MASKS 0x100
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
153 #define CAP1_MASKS 0x104
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
154 #define CAP0_CONTROL 0x110
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
155 #define CAP0_H_RANGE 0x114
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
156 #define CAP0_V_RANGE 0x118
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26030
diff changeset
157 #define CAP0_SCAL_CONTROL 0x11C
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
158 #define CAP0_VBI_H_RANGE 0x120
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
159 #define CAP0_VBI_V_RANGE 0x124
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
160 #define CAP0_VBI_STARTADDR 0x128
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26030
diff changeset
161 #define CAP0_VBI_STRIDE 0x12C
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
162 #define CAP0_ANCIL_COUNT 0x130
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
163 #define CAP0_MAXCOUNT 0x134
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
164 #define CAP0_VBIMAX_COUNT 0x138
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26030
diff changeset
165 #define CAP0_DATA_COUNT 0x13C
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
166 #define CAP0_FB_STARTADDR0 0x140
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
167 #define CAP0_FB_STARTADDR1 0x144
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
168 #define CAP0_FB_STARTADDR2 0x148
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
169 #define CAP0_STRIDE 0x150
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
170 /* Capture Port 2 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
171 #define CAP1_CONTROL 0x154
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
172 #define CAP1_SCAL_CONTROL 0x160
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
173 #define CAP1_VBI_H_RANGE 0x164 /*To be deleted*/
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
174 #define CAP1_VBI_V_RANGE 0x168 /*To be deleted*/
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
175 #define CAP1_VBI_STARTADDR 0x16C /*To be deleted*/
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
176 #define CAP1_VBI_STRIDE 0x170 /*To be deleted*/
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
177 #define CAP1_ANCIL_COUNT 0x174 /*To be deleted*/
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
178 #define CAP1_MAXCOUNT 0x178
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
179 #define CAP1_VBIMAX_COUNT 0x17C /*To be deleted*/
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26030
diff changeset
180 #define CAP1_DATA_COUNT 0x180
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
181 #define CAP1_FB_STARTADDR0 0x184
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
182 #define CAP1_FB_STARTADDR1 0x188
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26030
diff changeset
183 #define CAP1_STRIDE 0x18C
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
184
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
185 /* SUBPICTURE Registers */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
186 #define SUBP_CONTROL_STRIDE 0x1C0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
187 #define SUBP_STARTADDR 0x1C4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
188 #define RAM_TABLE_CONTROL 0x1C8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
189 #define RAM_TABLE_READ 0x1CC
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
190
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
191 /* HQV Registers */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
192 #define HQV_CONTROL 0x1D0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
193 #define HQV_SRC_STARTADDR_Y 0x1D4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
194 #define HQV_SRC_STARTADDR_U 0x1D8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
195 #define HQV_SRC_STARTADDR_V 0x1DC
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
196 #define HQV_SRC_FETCH_LINE 0x1E0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
197 #define HQV_FILTER_CONTROL 0x1E4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
198 #define HQV_MINIFY_CONTROL 0x1E8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
199 #define HQV_DST_STARTADDR0 0x1EC
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
200 #define HQV_DST_STARTADDR1 0x1F0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
201 #define HQV_DST_STARTADDR2 0x1FC
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
202 #define HQV_DST_STRIDE 0x1F4
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
203 #define HQV_SRC_STRIDE 0x1F8
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
204
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
205
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
206 /*
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
207 * Video command definition
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
208 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
209 /* #define V_ALPHA_CONTROL 0x210 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
210 #define ALPHA_WIN_EXPIRENUMBER_4 0x00040000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
211 #define ALPHA_WIN_CONSTANT_FACTOR_4 0x00004000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
212 #define ALPHA_WIN_CONSTANT_FACTOR_12 0x0000c000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
213 #define ALPHA_WIN_BLENDING_CONSTANT 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
214 #define ALPHA_WIN_BLENDING_ALPHA 0x00000001
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
215 #define ALPHA_WIN_BLENDING_GRAPHIC 0x00000002
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
216 #define ALPHA_WIN_PREFIFO_THRESHOLD_12 0x000c0000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
217 #define ALPHA_WIN_FIFO_THRESHOLD_8 0x000c0000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
218 #define ALPHA_WIN_FIFO_DEPTH_16 0x00100000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
219
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
220 /* V_CHROMAKEY_LOW 0x228 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
221 #define V_CHROMAKEY_V3 0x80000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
222
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
223 /* V1_CONTROL 0x230 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
224 #define V1_ENABLE 0x00000001
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
225 #define V1_FULL_SCREEN 0x00000002
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
226 #define V1_YUV422 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
227 #define V1_RGB32 0x00000004
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
228 #define V1_RGB15 0x00000008
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
229 #define V1_RGB16 0x0000000C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
230 #define V1_YCbCr420 0x00000010
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
231 #define V1_COLORSPACE_SIGN 0x00000080
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
232 #define V1_SRC_IS_FIELD_PIC 0x00000200
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
233 #define V1_SRC_IS_FRAME_PIC 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
234 #define V1_BOB_ENABLE 0x00400000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
235 #define V1_FIELD_BASE 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
236 #define V1_FRAME_BASE 0x01000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
237 #define V1_SWAP_SW 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
238 #define V1_SWAP_HW_HQV 0x02000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
239 #define V1_SWAP_HW_CAPTURE 0x04000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
240 #define V1_SWAP_HW_MC 0x06000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
241 /* #define V1_DOUBLE_BUFFERS 0x00000000 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
242 /* #define V1_QUADRUPLE_BUFFERS 0x18000000 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
243 #define V1_EXPIRE_NUM 0x00050000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
244 #define V1_EXPIRE_NUM_A 0x000a0000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
245 #define V1_EXPIRE_NUM_F 0x000f0000 /* jason */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
246 #define V1_FIFO_EXTENDED 0x00200000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
247 #define V1_ON_CRT 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
248 #define V1_ON_SND_DISPLAY 0x80000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
249 #define V1_FIFO_32V1_32V2 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
250 #define V1_FIFO_48V1_32V2 0x00200000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
251
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
252 /* V12_QWORD_PER_LINE 0x234 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
253 #define V1_FETCH_COUNT 0x3ff00000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
254 #define V1_FETCHCOUNT_ALIGNMENT 0x0000000f
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
255 #define V1_FETCHCOUNT_UNIT 0x00000004 /* Doubld QWORD */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
256
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
257 /* V1_STRIDE */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
258 #define V1_STRIDE_YMASK 0x00001fff
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
259 #define V1_STRIDE_UVMASK 0x1ff00000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
260
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
261 /* V1_ZOOM_CONTROL 0x24C */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
262 #define V1_X_ZOOM_ENABLE 0x80000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
263 #define V1_Y_ZOOM_ENABLE 0x00008000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
264
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
265 /* V1_MINI_CONTROL 0x250 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
266 #define V1_X_INTERPOLY 0x00000002 /* X interpolation */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
267 #define V1_Y_INTERPOLY 0x00000001 /* Y interpolation */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
268 #define V1_YCBCR_INTERPOLY 0x00000004 /* Y, Cb, Cr all interpolation */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
269 #define V1_X_DIV_2 0x01000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
270 #define V1_X_DIV_4 0x03000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
271 #define V1_X_DIV_8 0x05000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
272 #define V1_X_DIV_16 0x07000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
273 #define V1_Y_DIV_2 0x00010000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
274 #define V1_Y_DIV_4 0x00030000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
275 #define V1_Y_DIV_8 0x00050000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
276 #define V1_Y_DIV_16 0x00070000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
277
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
278 /* V1_STARTADDR0 0x254 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
279 #define SW_FLIP_ODD 0x08000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
280
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
281 /* V_FIFO_CONTROL 0x258
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
282 * IA2 has 32 level FIFO for packet mode video format
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
283 * 32 level FIFO for planar mode video YV12. with extension reg 230 bit 21 enable
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
284 * 16 level FIFO for planar mode video YV12. with extension reg 230 bit 21 disable
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
285 * BCos of 128 bits. 1 level in IA2 = 2 level in VT3122
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
286 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
287 #define V1_FIFO_DEPTH12 0x0000000B
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
288 #define V1_FIFO_DEPTH16 0x0000000F
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
289 #define V1_FIFO_DEPTH32 0x0000001F
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
290 #define V1_FIFO_DEPTH48 0x0000002F
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26030
diff changeset
291 #define V1_FIFO_DEPTH64 0x0000003F
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
292 #define V1_FIFO_THRESHOLD6 0x00000600
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
293 #define V1_FIFO_THRESHOLD8 0x00000800
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
294 #define V1_FIFO_THRESHOLD12 0x00000C00
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
295 #define V1_FIFO_THRESHOLD16 0x00001000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
296 #define V1_FIFO_THRESHOLD24 0x00001800
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
297 #define V1_FIFO_THRESHOLD32 0x00002000
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26030
diff changeset
298 #define V1_FIFO_THRESHOLD40 0x00002800
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26030
diff changeset
299 #define V1_FIFO_THRESHOLD48 0x00003000
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26030
diff changeset
300 #define V1_FIFO_THRESHOLD56 0x00003800
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26030
diff changeset
301 #define V1_FIFO_THRESHOLD61 0x00003D00
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
302 #define V1_FIFO_PRETHRESHOLD10 0x0A000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
303 #define V1_FIFO_PRETHRESHOLD12 0x0C000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
304 #define V1_FIFO_PRETHRESHOLD29 0x1d000000
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26030
diff changeset
305 #define V1_FIFO_PRETHRESHOLD40 0x28000000
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
306 #define V1_FIFO_PRETHRESHOLD44 0x2c000000
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26030
diff changeset
307 #define V1_FIFO_PRETHRESHOLD56 0x38000000
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26030
diff changeset
308 #define V1_FIFO_PRETHRESHOLD61 0x3D000000
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
309
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
310 /* ALPHA_V3_FIFO_CONTROL 0x278
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
311 * IA2 has 32 level FIFO for packet mode video format
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
312 * 32 level FIFO for planar mode video YV12. with extension reg 230 bit 21 enable
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
313 * 16 level FIFO for planar mode video YV12. with extension reg 230 bit 21 disable
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
314 * 8 level FIFO for ALPHA
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
315 * BCos of 128 bits. 1 level in IA2 = 2 level in VT3122
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
316 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
317 #define V3_FIFO_DEPTH16 0x0000000F
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
318 #define V3_FIFO_DEPTH24 0x00000017
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
319 #define V3_FIFO_DEPTH32 0x0000001F
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
320 #define V3_FIFO_DEPTH48 0x0000002F
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26030
diff changeset
321 #define V3_FIFO_DEPTH64 0x0000003F
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
322 #define V3_FIFO_THRESHOLD8 0x00000800
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
323 #define V3_FIFO_THRESHOLD12 0x00000C00
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
324 #define V3_FIFO_THRESHOLD16 0x00001000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
325 #define V3_FIFO_THRESHOLD24 0x00001800
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
326 #define V3_FIFO_THRESHOLD32 0x00002000
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26030
diff changeset
327 #define V3_FIFO_THRESHOLD40 0x00002800
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26030
diff changeset
328 #define V3_FIFO_THRESHOLD48 0x00003000
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26030
diff changeset
329 #define V3_FIFO_THRESHOLD56 0x00003800
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26030
diff changeset
330 #define V3_FIFO_THRESHOLD61 0x00003D00
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
331 #define V3_FIFO_PRETHRESHOLD10 0x0000000A
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
332 #define V3_FIFO_PRETHRESHOLD12 0x0000000C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
333 #define V3_FIFO_PRETHRESHOLD29 0x0000001d
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26030
diff changeset
334 #define V3_FIFO_PRETHRESHOLD40 0x00000028
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
335 #define V3_FIFO_PRETHRESHOLD44 0x0000002c
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26030
diff changeset
336 #define V3_FIFO_PRETHRESHOLD56 0x00000038
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26030
diff changeset
337 #define V3_FIFO_PRETHRESHOLD61 0x0000003D
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
338 #define V3_FIFO_MASK 0x0000007F
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
339 #define ALPHA_FIFO_DEPTH8 0x00070000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
340 #define ALPHA_FIFO_THRESHOLD4 0x04000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
341 #define ALPHA_FIFO_MASK 0xffff0000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
342 #define ALPHA_FIFO_PRETHRESHOLD4 0x00040000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
343
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
344 /* IA2 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
345 #define ColorSpaceValue_1 0x140020f2
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
346 #define ColorSpaceValue_2 0x0a0a2c00
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
347
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
348 #define ColorSpaceValue_1_3123C0 0x13000DED
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
349 #define ColorSpaceValue_2_3123C0 0x13171000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
350
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
351 /* For TV setting */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
352 #define ColorSpaceValue_1TV 0x140020f2
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
353 #define ColorSpaceValue_2TV 0x0a0a2c00
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
354
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
355 /* V_COMPOSE_MODE 0x298 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
356 #define SELECT_VIDEO_IF_COLOR_KEY 0x00000001 /* select video if (color key),otherwise select graphics */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
357 #define SELECT_VIDEO3_IF_COLOR_KEY 0x00000020 /* For 3123C0, select video3 if (color key),otherwise select graphics */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
358 #define SELECT_VIDEO_IF_CHROMA_KEY 0x00000002 /* 0x0000000a //select video if (chroma key ),otherwise select graphics */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
359 #define ALWAYS_SELECT_VIDEO 0x00000000 /* always select video,Chroma key and Color key disable */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
360 #define COMPOSE_V1_V3 0x00000000 /* V1 on top of V3 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
361 #define COMPOSE_V3_V1 0x00100000 /* V3 on top of V1 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
362 #define COMPOSE_V1_TOP 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
363 #define COMPOSE_V3_TOP 0x00100000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
364 #define V1_COMMAND_FIRE 0x80000000 /* V1 commands fire */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
365 #define V3_COMMAND_FIRE 0x40000000 /* V3 commands fire */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
366 #define V_COMMAND_LOAD 0x20000000 /* Video register always loaded */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
367 #define V_COMMAND_LOAD_VBI 0x10000000 /* Video register always loaded at vbi without waiting source flip */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
368 #define V3_COMMAND_LOAD 0x08000000 /* CLE_C0 Video3 register always loaded */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
369 #define V3_COMMAND_LOAD_VBI 0x00000100 /* CLE_C0 Video3 register always loaded at vbi without waiting source flip */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
370 #define SECOND_DISPLAY_COLOR_KEY_ENABLE 0x00010000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
371
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
372 /* V3_ZOOM_CONTROL 0x2bc */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
373 #define V3_X_ZOOM_ENABLE 0x80000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
374 #define V3_Y_ZOOM_ENABLE 0x00008000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
375
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
376 /* V3_MINI_CONTROL 0x2c0 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
377 #define V3_X_INTERPOLY 0x00000002 /* X interpolation */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
378 #define V3_Y_INTERPOLY 0x00000001 /* Y interpolation */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
379 #define V3_YCBCR_INTERPOLY 0x00000004 /* Y, Cb, Cr all interpolation */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
380 #define V3_X_DIV_2 0x01000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
381 #define V3_X_DIV_4 0x03000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
382 #define V3_X_DIV_8 0x05000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
383 #define V3_X_DIV_16 0x07000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
384 #define V3_Y_DIV_2 0x00010000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
385 #define V3_Y_DIV_4 0x00030000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
386 #define V3_Y_DIV_8 0x00050000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
387 #define V3_Y_DIV_16 0x00070000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
388
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
389 /* SUBP_CONTROL_STRIDE 0x3c0 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
390 #define SUBP_HQV_ENABLE 0x00010000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
391 #define SUBP_IA44 0x00020000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
392 #define SUBP_AI44 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
393 #define SUBP_STRIDE_MASK 0x00001fff
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
394 #define SUBP_CONTROL_MASK 0x00070000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
395
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
396 /* RAM_TABLE_CONTROL 0x3c8 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
397 #define RAM_TABLE_RGB_ENABLE 0x00000007
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
398
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
399 /* CAPTURE0_CONTROL 0x310 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
400 #define C0_ENABLE 0x00000001
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
401 #define BUFFER_2_MODE 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
402 #define BUFFER_3_MODE 0x00000004
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
403 #define BUFFER_4_MODE 0x00000006
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26030
diff changeset
404 #define SWAP_YUYV 0x00000000
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26030
diff changeset
405 #define SWAP_UYVY 0x00000100
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
406 #define SWAP_YVYU 0x00000200
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
407 #define SWAP_VYUY 0x00000300
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
408 #define IN_601_8 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
409 #define IN_656_8 0x00000010
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
410 #define IN_601_16 0x00000020
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
411 #define IN_656_16 0x00000030
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
412 #define DEINTER_ODD 0x00000000
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26030
diff changeset
413 #define DEINTER_EVEN 0x00001000
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
414 #define DEINTER_ODD_EVEN 0x00002000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
415 #define DEINTER_FRAME 0x00003000
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26030
diff changeset
416 #define VIP_1 0x00000000
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
417 #define VIP_2 0x00000400
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
418 #define H_FILTER_2 0x00010000
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26030
diff changeset
419 #define H_FILTER_4 0x00020000
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26030
diff changeset
420 #define H_FILTER_8_1331 0x00030000
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
421 #define H_FILTER_8_12221 0x00040000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
422 #define VIP_ENABLE 0x00000008
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26030
diff changeset
423 #define EN_FIELD_SIG 0x00000800
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
424 #define VREF_INVERT 0x00100000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
425 #define FIELD_INPUT_INVERSE 0x00400000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
426 #define FIELD_INVERSE 0x40000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
427
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
428 #define C1_H_MINI_EN 0x00000800
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
429 #define C0_H_MINI_EN 0x00000800
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
430 #define C1_V_MINI_EN 0x04000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
431 #define C0_V_MINI_EN 0x04000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
432 #define C1_H_MINI_2 0x00000400
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
433
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
434 /* CAPTURE1_CONTROL 0x354 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
435 #define C1_ENABLE 0x00000001
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
436
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
437 /* V3_CONTROL 0x2A0 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
438 #define V3_ENABLE 0x00000001
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
439 #define V3_FULL_SCREEN 0x00000002
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
440 #define V3_YUV422 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
441 #define V3_RGB32 0x00000004
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
442 #define V3_RGB15 0x00000008
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
443 #define V3_RGB16 0x0000000C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
444 #define V3_COLORSPACE_SIGN 0x00000080
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
445 #define V3_EXPIRE_NUM 0x00040000
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26030
diff changeset
446 #define V3_EXPIRE_NUM_F 0x000f0000
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
447 #define V3_BOB_ENABLE 0x00400000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
448 #define V3_FIELD_BASE 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
449 #define V3_FRAME_BASE 0x01000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
450 #define V3_SWAP_SW 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
451 #define V3_SWAP_HW_HQV 0x02000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
452 #define V3_FLIP_HW_CAPTURE0 0x04000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
453 #define V3_FLIP_HW_CAPTURE1 0x06000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
454
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
455 /* V3_ALPHA_FETCH_COUNT 0x2B8 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
456 #define V3_FETCH_COUNT 0x3ff00000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
457 #define ALPHA_FETCH_COUNT 0x000003ff
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
458
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
459 /* HQV_CONTROL 0x3D0 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
460 #define HQV_RGB32 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
461 #define HQV_RGB16 0x20000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
462 #define HQV_RGB15 0x30000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
463 #define HQV_YUV422 0x80000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
464 #define HQV_YUV420 0xC0000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
465 #define HQV_ENABLE 0x08000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
466 #define HQV_SRC_SW 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
467 #define HQV_SRC_MC 0x01000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
468 #define HQV_SRC_CAPTURE0 0x02000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
469 #define HQV_SRC_CAPTURE1 0x03000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
470 #define HQV_FLIP_EVEN 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
471 #define HQV_FLIP_ODD 0x00000020
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
472 #define HQV_SW_FLIP 0x00000010 /* Write 1 to flip HQV buffer */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
473 #define HQV_DEINTERLACE 0x00010000 /* First line of odd field will be repeated 3 times */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
474 #define HQV_FIELD_2_FRAME 0x00020000 /* Src is field. Display each line 2 times */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
475 #define HQV_FRAME_2_FIELD 0x00040000 /* Src is field. Display field */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
476 #define HQV_FRAME_UV 0x00000000 /* Src is Non-interleaved */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
477 #define HQV_FIELD_UV 0x00100000 /* Src is interleaved */
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26030
diff changeset
478 #define HQV_IDLE 0x00000008
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26030
diff changeset
479 #define HQV_FLIP_STATUS 0x00000001
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
480 #define HQV_DOUBLE_BUFF 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
481 #define HQV_TRIPLE_BUFF 0x04000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
482 #define HQV_SUBPIC_FLIP 0x00008000
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26030
diff changeset
483 #define HQV_FIFO_STATUS 0x00001000
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
484
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
485 /* HQV_FILTER_CONTROL 0x3E4 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
486 #define HQV_H_LOWPASS_2TAP 0x00000001
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
487 #define HQV_H_LOWPASS_4TAP 0x00000002
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
488 #define HQV_H_LOWPASS_8TAP1 0x00000003 /* To be deleted */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
489 #define HQV_H_LOWPASS_8TAP2 0x00000004 /* To be deleted */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
490 #define HQV_H_HIGH_PASS 0x00000008
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
491 #define HQV_H_LOW_PASS 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
492 #define HQV_V_LOWPASS_2TAP 0x00010000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
493 #define HQV_V_LOWPASS_4TAP 0x00020000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
494 #define HQV_V_LOWPASS_8TAP1 0x00030000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
495 #define HQV_V_LOWPASS_8TAP2 0x00040000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
496 #define HQV_V_HIGH_PASS 0x00080000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
497 #define HQV_V_LOW_PASS 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
498 #define HQV_H_HIPASS_F1_DEFAULT 0x00000040
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
499 #define HQV_H_HIPASS_F2_DEFAULT 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
500 #define HQV_V_HIPASS_F1_DEFAULT 0x00400000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
501 #define HQV_V_HIPASS_F2_DEFAULT 0x00000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
502 #define HQV_H_HIPASS_F1_2TAP 0x00000050
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
503 #define HQV_H_HIPASS_F2_2TAP 0x00000100
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
504 #define HQV_V_HIPASS_F1_2TAP 0x00500000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
505 #define HQV_V_HIPASS_F2_2TAP 0x01000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
506 #define HQV_H_HIPASS_F1_4TAP 0x00000060
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
507 #define HQV_H_HIPASS_F2_4TAP 0x00000200
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
508 #define HQV_V_HIPASS_F1_4TAP 0x00600000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
509 #define HQV_V_HIPASS_F2_4TAP 0x02000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
510 #define HQV_H_HIPASS_F1_8TAP 0x00000080
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
511 #define HQV_H_HIPASS_F2_8TAP 0x00000400
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
512 #define HQV_V_HIPASS_F1_8TAP 0x00800000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
513 #define HQV_V_HIPASS_F2_8TAP 0x04000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
514 /* IA2 NEW */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
515 #define HQV_V_FILTER2 0x00080000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
516 #define HQV_H_FILTER2 0x00000008
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
517 #define HQV_H_TAP2_11 0x00000041
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
518 #define HQV_H_TAP4_121 0x00000042
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
519 #define HQV_H_TAP4_1111 0x00000401
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
520 #define HQV_H_TAP8_1331 0x00000221
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
521 #define HQV_H_TAP8_12221 0x00000402
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
522 #define HQV_H_TAP16_1991 0x00000159
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
523 #define HQV_H_TAP16_141041 0x0000026A
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
524 #define HQV_H_TAP32 0x0000015A
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
525 #define HQV_V_TAP2_11 0x00410000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
526 #define HQV_V_TAP4_121 0x00420000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
527 #define HQV_V_TAP4_1111 0x04010000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
528 #define HQV_V_TAP8_1331 0x02210000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
529 #define HQV_V_TAP8_12221 0x04020000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
530 #define HQV_V_TAP16_1991 0x01590000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
531 #define HQV_V_TAP16_141041 0x026A0000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
532 #define HQV_V_TAP32 0x015A0000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
533 #define HQV_V_FILTER_DEFAULT 0x00420000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
534 #define HQV_H_FILTER_DEFAULT 0x00000040
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
535
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
536
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
537
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
538
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
539 /* HQV_MINI_CONTROL 0x3E8 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
540 #define HQV_H_MINIFY_ENABLE 0x00000800
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
541 #define HQV_V_MINIFY_ENABLE 0x08000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
542 #define HQV_VDEBLOCK_FILTER 0x80000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
543 #define HQV_HDEBLOCK_FILTER 0x00008000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
544
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
545
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
546 #define CHROMA_KEY_LOW 0x00FFFFFF
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
547 #define CHROMA_KEY_HIGH 0x00FFFFFF
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
548
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
549 /* V_CAP_STATUS */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
550 #define V_ST_UPDATE_NOT_YET 0x00000003
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
551 #define V1_ST_UPDATE_NOT_YET 0x00000001
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
552 #define V3_ST_UPDATE_NOT_YET 0x00000008
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
553
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
554 #define VBI_STATUS 0x00000002
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
555
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
556 /*
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
557 * Macros for Video MMIO
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
558 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
559 #ifndef V4L2
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
560 #define VIDInB(port) *((volatile CARD8 *)(pVia->VidMapBase + (port)))
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
561 #define VIDInW(port) *((volatile CARD16 *)(pVia->VidMapBase + (port)))
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
562 #define VIDInD(port) *((volatile CARD32 *)(pVia->VidMapBase + (port)))
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
563 #define VIDOutB(port, data) *((volatile CARD8 *)(pVia->VidMapBase + (port))) = (data)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
564 #define VIDOutW(port, data) *((volatile CARD16 *)(pVia->VidMapBase + (port))) = (data)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
565 #define VIDOutD(port, data) *((volatile CARD32 *)(pVia->VidMapBase + (port))) = (data)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
566 #define MPGOutD(port, data) *((volatile CARD32 *)(lpMPEGMMIO +(port))) = (data)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
567 #define MPGInD(port) *((volatile CARD32 *)(lpMPEGMMIO +(port)))
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26030
diff changeset
568 #endif
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
569
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
570 /*
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
571 * Macros for GE MMIO
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
572 */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
573 #define GEInW(port) *((volatile CARD16 *)(lpGEMMIO + (port)))
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
574 #define GEInD(port) *((volatile CARD32 *)(lpGEMMIO + (port)))
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
575 #define GEOutW(port, data) *((volatile CARD16 *)(lpGEMMIO + (port))) = (data)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
576 #define GEOutD(port, data) *((volatile CARD32 *)(lpGEMMIO + (port))) = (data)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
577
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
578 /*
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
579 * MPEG 1/2 Slice Engine (at 0xC00 relative to base)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
580 */
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 26030
diff changeset
581
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
582 #define MPG_CONTROL 0x00
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
583 #define MPG_CONTROL_STRUCT 0x03
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
584 #define MPG_CONTROL_STRUCT_TOP 0x01
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
585 #define MPG_CONTROL_STRUCT_BOTTOM 0x02
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
586 #define MPG_CONTROL_STRUCT_FRAME 0x03
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
587 /* Use TOP if interlaced */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
588 #define MPG_CONTROL_TYPE 0x3C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
589 #define MPG_CONTROL_TYPE_I (0x01 << 2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
590 #define MPG_CONTROL_TYPE_B (0x02 << 2)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
591 #define MPG_CONTROL_TYPE_P (0x03 << 3)
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
592 #define MPG_CONTROL_ALTSCAN 0x40
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
593 #define MPG_BLOCK 0x08 /* Unsure */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
594 #define MPG_COMMAND 0x0C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
595 #define MPG_DATA1 0x10
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
596 #define MPG_DATA2 0x14
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
597 #define MPG_DATA3 0x18
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
598 #define MPG_DATA4 0x1C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
599
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
600 #define MPG_YPHYSICAL(x) (0x20 + 12*(x))
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
601 #define MPG_CbPHYSICAL(x) (0x24 + 12*(x))
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
602 #define MPG_CrPHYSICAL(x) (0x28 + 12*(x))
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
603
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
604 #define MPG_PITCH 0x50
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
605 #define MPG_STATUS 0x54
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
606
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
607 #define MPG_MATRIX_IDX 0x5C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
608 #define MPG_MATRIX_IDX_INTRA 0x00
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
609 #define MPG_MATRIX_IDX_NON 0x01
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
610 #define MPG_MATRIX_DATA 0x60
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
611
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
612 #define MPG_SLICE_CTRL_1 0x90
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
613 #define MPG_SLICE_MBAMAX 0x2FFF
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
614 #define MPG_SLICE_PREDICTIVE_DCT 0x4000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
615 #define MPG_SLICE_TOP_FIRST 0x8000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
616 #define MPG_SLICE_MACROBLOCK_WIDTH(x) ((x)<<18) /* in 64's */
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
617 #define MPG_SLICE_CTRL_2 0x94
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
618 #define MPG_SLICE_CONCEAL_MVEC 0x0000001
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
619 #define MPG_SLICE_QSCALE_TYPE 0x0000002
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
620 #define MPG_SLICE_DCPRECISION 0x000000C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
621 #define MPG_SLICE_MACROBQUOT 0x0FFFFF0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
622 #define MPG_SLICE_INTRAVLC 0x1000000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
623 #define MPG_SLICE_CTRL_3 0x98
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
624 #define MPG_SLICE_FHMVR 0x0000003
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
625 #define MPG_SLICE_FVMVR 0x000000C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
626 #define MPG_SLICE_BHMVR 0x0000030
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
627 #define MPG_SLICE_BVMVR 0x00000C0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
628 #define MPG_SLICE_SECOND_FIELD 0x0100000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
629 #define MPG_SLICE_RESET 0x0400000
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
630 #define MPG_SLICE_LENGTH 0x9C
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
631 #define MPG_SLICE_DATA 0xA0
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
632
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
633
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents:
diff changeset
634
26030
a93e46adb54c Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 23934
diff changeset
635 #endif /* MPLAYER_UNICHROME_REGS_H */