]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - include/media/davinci/vpfe_types.h
Merge branches 'for-4.11/upstream-fixes', 'for-4.12/accutouch', 'for-4.12/cp2112...
[mirror_ubuntu-artful-kernel.git] / include / media / davinci / vpfe_types.h
1 /*
2 * Copyright (C) 2008-2009 Texas Instruments Inc
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option)any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 */
14 #ifndef _VPFE_TYPES_H
15 #define _VPFE_TYPES_H
16
17 #ifdef __KERNEL__
18
19 enum vpfe_pin_pol {
20 VPFE_PINPOL_POSITIVE,
21 VPFE_PINPOL_NEGATIVE
22 };
23
24 enum vpfe_hw_if_type {
25 /* BT656 - 8 bit */
26 VPFE_BT656,
27 /* BT1120 - 16 bit */
28 VPFE_BT1120,
29 /* Raw Bayer */
30 VPFE_RAW_BAYER,
31 /* YCbCr - 8 bit with external sync */
32 VPFE_YCBCR_SYNC_8,
33 /* YCbCr - 16 bit with external sync */
34 VPFE_YCBCR_SYNC_16,
35 /* BT656 - 10 bit */
36 VPFE_BT656_10BIT
37 };
38
39 /* interface description */
40 struct vpfe_hw_if_param {
41 enum vpfe_hw_if_type if_type;
42 enum vpfe_pin_pol hdpol;
43 enum vpfe_pin_pol vdpol;
44 };
45
46 #endif
47 #endif