#ifndef _DRV_ADC_EXTERNAL_H_ #define _DRV_ADC_EXTERNAL_H_ typedef struct _VesaTiming { UINT16 usHtotal; UINT16 usVcount; UINT16 usHactive; UINT16 usVactive; UINT16 usHstart; UINT16 usVstart; UINT8 ucFlag; // HV Polarity + Interlace Flag + Other UINT8 ucPixelClock; UINT16 usHFrequency; UINT8 ucVFrequency; UINT16 usHs_Width; UINT8 ucVs_Width; UINT32 ucADCTableIndex; BOOL bSupport; }VesaTiming; typedef struct { UINT16 scOSDRGainValue; UINT16 scOSDGGainValue; UINT16 scOSDBGainValue; INT16 scOSDROffsetValue; INT16 scOSDGOffsetValue; INT16 scOSDBOffsetValue; BOOL bResult; } ADCCalibrate_OSDGainOffset_t; /* Input pin config */ typedef enum { INPUT_PIN_NO_USE = 0, INPUT_PIN_DTV, INPUT_PIN_AV_Y0_C0, INPUT_PIN_AV_Y1, INPUT_PIN_AV_Y2, INPUT_PIN_AV_Y3, INPUT_PIN_AV_Y4, INPUT_PIN_AV_Y_ON_G1, INPUT_PIN_AV_Y_ON_G2, INPUT_PIN_AV_Y_ON_G3, INPUT_PIN_COMP_R0, INPUT_PIN_COMP_G0, INPUT_PIN_COMP_B0, INPUT_PIN_COMP_SOG0, INPUT_PIN_COMP_R1, INPUT_PIN_COMP_G1, INPUT_PIN_COMP_B1, INPUT_PIN_COMP_SOG1, INPUT_PIN_COMP_R2, INPUT_PIN_COMP_G2, INPUT_PIN_COMP_B2, INPUT_PIN_COMP_SOG2, INPUT_PIN_COMP_R3, INPUT_PIN_COMP_G3, INPUT_PIN_COMP_B3, INPUT_PIN_COMP_SOG3, INPUT_PIN_HDMI1, INPUT_PIN_HDMI2, INPUT_PIN_HDMI3, INPUT_PIN_HDMI4, INPUT_PIN_MEDIA, } InputPin_e; typedef union { struct { InputPin_e cvbs_pin; InputPin_e r_pin; InputPin_e g_pin; InputPin_e b_pin; InputPin_e sog_pin; } scart_av_rgb; struct { InputPin_e pin; } cvbs; struct { InputPin_e y_pin; InputPin_e c_pin; } svideo; struct { InputPin_e r_pin; InputPin_e g_pin; InputPin_e b_pin; } rgb; struct { InputPin_e y_pin; InputPin_e pb_pin; InputPin_e pr_pin; InputPin_e soy_pin; } ypbpr; struct { InputPin_e pin; } hdmi; struct { InputPin_e pin; } digital; } InputVideoConf_st; typedef struct { UINT16 scFirstTimeSearchRGainValue; UINT16 scFirstTimeSearchGGainValue; UINT16 scFirstTimeSearchBGainValue; BOOL bFirstTime; } FirstTimeSearchGain; #endif