Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ks0127.h
Go to the documentation of this file.
1 /*
2  * Video Capture Driver ( Video for Linux 1/2 )
3  * for the Matrox Marvel G200,G400 and Rainbow Runner-G series
4  *
5  * This module is an interface to the KS0127 video decoder chip.
6  *
7  * Copyright (C) 1999 Ryan Drake <[email protected]>
8  *
9  * This program is free software; you can redistribute it and/or
10  * modify it under the terms of the GNU General Public License
11  * as published by the Free Software Foundation; either version 2
12  * of the License, or (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software
21  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22  */
23 
24 #ifndef KS0127_H
25 #define KS0127_H
26 
27 /* input channels */
28 #define KS_INPUT_COMPOSITE_1 0
29 #define KS_INPUT_COMPOSITE_2 1
30 #define KS_INPUT_COMPOSITE_3 2
31 #define KS_INPUT_COMPOSITE_4 4
32 #define KS_INPUT_COMPOSITE_5 5
33 #define KS_INPUT_COMPOSITE_6 6
34 
35 #define KS_INPUT_SVIDEO_1 8
36 #define KS_INPUT_SVIDEO_2 9
37 #define KS_INPUT_SVIDEO_3 10
38 
39 #define KS_INPUT_YUV656 15
40 #define KS_INPUT_COUNT 10
41 
42 /* output channels */
43 #define KS_OUTPUT_YUV656E 0
44 #define KS_OUTPUT_EXV 1
45 
46 /* video standards */
47 #define KS_STD_NTSC_N 112 /* 50 Hz NTSC */
48 #define KS_STD_PAL_M 113 /* 60 Hz PAL */
49 
50 #endif /* KS0127_H */
51