18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Video Capture Driver ( Video for Linux 1/2 )
48c2ecf20Sopenharmony_ci * for the Matrox Marvel G200,G400 and Rainbow Runner-G series
58c2ecf20Sopenharmony_ci *
68c2ecf20Sopenharmony_ci * This module is an interface to the KS0127 video decoder chip.
78c2ecf20Sopenharmony_ci *
88c2ecf20Sopenharmony_ci * Copyright (C) 1999  Ryan Drake <stiletto@mediaone.net>
98c2ecf20Sopenharmony_ci */
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci#ifndef KS0127_H
128c2ecf20Sopenharmony_ci#define KS0127_H
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci/* input channels */
158c2ecf20Sopenharmony_ci#define KS_INPUT_COMPOSITE_1    0
168c2ecf20Sopenharmony_ci#define KS_INPUT_COMPOSITE_2    1
178c2ecf20Sopenharmony_ci#define KS_INPUT_COMPOSITE_3    2
188c2ecf20Sopenharmony_ci#define KS_INPUT_COMPOSITE_4    4
198c2ecf20Sopenharmony_ci#define KS_INPUT_COMPOSITE_5    5
208c2ecf20Sopenharmony_ci#define KS_INPUT_COMPOSITE_6    6
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ci#define KS_INPUT_SVIDEO_1       8
238c2ecf20Sopenharmony_ci#define KS_INPUT_SVIDEO_2       9
248c2ecf20Sopenharmony_ci#define KS_INPUT_SVIDEO_3       10
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ci#define KS_INPUT_YUV656		15
278c2ecf20Sopenharmony_ci#define KS_INPUT_COUNT          10
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ci/* output channels */
308c2ecf20Sopenharmony_ci#define KS_OUTPUT_YUV656E       0
318c2ecf20Sopenharmony_ci#define KS_OUTPUT_EXV           1
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ci/* video standards */
348c2ecf20Sopenharmony_ci#define KS_STD_NTSC_N           112       /* 50 Hz NTSC */
358c2ecf20Sopenharmony_ci#define KS_STD_PAL_M            113       /* 60 Hz PAL  */
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_ci#endif /* KS0127_H */
388c2ecf20Sopenharmony_ci
39