xref: /openbmc/linux/drivers/media/i2c/ks0127.h (revision c942fddf)
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * Video Capture Driver ( Video for Linux 1/2 )
4  * for the Matrox Marvel G200,G400 and Rainbow Runner-G series
5  *
6  * This module is an interface to the KS0127 video decoder chip.
7  *
8  * Copyright (C) 1999  Ryan Drake <stiletto@mediaone.net>
9  */
10 
11 #ifndef KS0127_H
12 #define KS0127_H
13 
14 /* input channels */
15 #define KS_INPUT_COMPOSITE_1    0
16 #define KS_INPUT_COMPOSITE_2    1
17 #define KS_INPUT_COMPOSITE_3    2
18 #define KS_INPUT_COMPOSITE_4    4
19 #define KS_INPUT_COMPOSITE_5    5
20 #define KS_INPUT_COMPOSITE_6    6
21 
22 #define KS_INPUT_SVIDEO_1       8
23 #define KS_INPUT_SVIDEO_2       9
24 #define KS_INPUT_SVIDEO_3       10
25 
26 #define KS_INPUT_YUV656		15
27 #define KS_INPUT_COUNT          10
28 
29 /* output channels */
30 #define KS_OUTPUT_YUV656E       0
31 #define KS_OUTPUT_EXV           1
32 
33 /* video standards */
34 #define KS_STD_NTSC_N           112       /* 50 Hz NTSC */
35 #define KS_STD_PAL_M            113       /* 60 Hz PAL  */
36 
37 #endif /* KS0127_H */
38 
39