Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003  * Copyright (C) 2008-2009 Texas Instruments Inc
0004  */
0005 #ifndef _VPFE_TYPES_H
0006 #define _VPFE_TYPES_H
0007 
0008 #ifdef __KERNEL__
0009 
0010 enum vpfe_pin_pol {
0011     VPFE_PINPOL_POSITIVE,
0012     VPFE_PINPOL_NEGATIVE
0013 };
0014 
0015 enum vpfe_hw_if_type {
0016     /* BT656 - 8 bit */
0017     VPFE_BT656,
0018     /* BT1120 - 16 bit */
0019     VPFE_BT1120,
0020     /* Raw Bayer */
0021     VPFE_RAW_BAYER,
0022     /* YCbCr - 8 bit with external sync */
0023     VPFE_YCBCR_SYNC_8,
0024     /* YCbCr - 16 bit with external sync */
0025     VPFE_YCBCR_SYNC_16,
0026     /* BT656 - 10 bit */
0027     VPFE_BT656_10BIT
0028 };
0029 
0030 /* interface description */
0031 struct vpfe_hw_if_param {
0032     enum vpfe_hw_if_type if_type;
0033     enum vpfe_pin_pol hdpol;
0034     enum vpfe_pin_pol vdpol;
0035 };
0036 
0037 #endif
0038 #endif