blob: 1eba24dfee488439b6f948fc539d10b90f0b958f [file] [log] [blame]
Hans Verkuiladd953c2006-03-29 14:56:17 -03001/*
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.
Hans Verkuiladd953c2006-03-29 14:56:17 -030015 */
16
17#ifndef _UPD64031A_H_
18#define _UPD64031A_H_
19
20/* Ghost reduction modes */
Mauro Carvalho Chehab6e6a8b52018-01-04 13:08:56 -050021#define UPD64031A_GR_ON 0
22#define UPD64031A_GR_OFF 1
23#define UPD64031A_GR_THROUGH 3
Hans Verkuiladd953c2006-03-29 14:56:17 -030024
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