blob: 48ec03c4ef23258cf7080259c21d7a437d77f77f [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001/*
2 * upd64031a - NEC Electronics Ghost Reduction input defines
3 *
4 * 2006 by Hans Verkuil (hverkuil@xs4all.nl)
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2
9 * of the License, or (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 */
16
17#ifndef _UPD64031A_H_
18#define _UPD64031A_H_
19
20/* Ghost reduction modes */
21#define UPD64031A_GR_ON 0
22#define UPD64031A_GR_OFF 1
23#define UPD64031A_GR_THROUGH 3
24
25/* Direct 3D/YCS Connection */
26#define UPD64031A_3DYCS_DISABLE (0 << 2)
27#define UPD64031A_3DYCS_COMPOSITE (2 << 2)
28#define UPD64031A_3DYCS_SVIDEO (3 << 2)
29
30/* Composite sync digital separation circuit */
31#define UPD64031A_COMPOSITE_EXTERNAL (1 << 4)
32
33/* Vertical sync digital separation circuit */
34#define UPD64031A_VERTICAL_EXTERNAL (1 << 5)
35
36#endif