typedef struct
{
        BYTE 	VideoMode;				// Input video mode
	BYTE    Format;
	BYTE	Phase;					// Initial phase value
	WORD	PLLdivisor;				// 
	BYTE	VCO;					// Initial PLL charge pump setting	
	BYTE    PreCoast;				//
	BYTE	PostCoast;				//
	WORD	Hstart;					// H start for capture window	
	BYTE	Vstart;					// V start for capture window
	WORD	Hactive;				// H active for capture window
	WORD	Vactive;				// V active for capture window
	WORD	Hcount;					// H count for detection
	BYTE	Htol;					// H tolerance		
	WORD	Vcount;					// V count for detection
	BYTE	Vtol;					// V tolerance
	
} ST_INPUT_MODE;