⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 osd_dat.h

📁 genesis芯片点屏程序
💻 H
字号:
////////////////////////////////////////////////////////////////////////////////
//    Genesis Microchip, Inc.
// This file was generated by Genesis Workbench. PLEASE DO NOT EDIT MANUALLY
////////////////////////////////////////////////////////////////////////////////

#ifndef OSD_DAT_H_DEFINED
#define OSD_DAT_H_DEFINED

// User Events defenition

extern BYTE ROM B_OE_EnterState;
extern BYTE ROM B_OE_ExitState;
extern BYTE ROM B_OE_ValidMode;
extern BYTE ROM B_OE_RemoveOSD;
extern BYTE ROM B_OE_NoSync;
extern BYTE ROM B_OE_NoCable;
extern BYTE ROM B_OE_OutOfRange;
extern BYTE ROM B_OE_TransitionComplete;
extern BYTE ROM B_OE_OSDTimeout;
extern BYTE ROM B_OE_AnyEvent;
extern BYTE ROM B_OE_Idle;

typedef enum UserEventsEnum
{
	// OE_None = 0,
	OE_EnterState = 1,
	OE_ExitState = 2,
	OE_OneDown = 3,
	OE_RightDown = 4,
	OE_LeftDown = 5,
	OE_TwoDown = 6,
	OE_OsdCustomTimeOut = 7,
	OE_NextInputSource = 8,// to select next available source
	OE_Aging = 9,
	OE_ValidMode = 10,
	OE_RemoveOSD = 11,
	OE_PowerOff = 12,
	OE_PowerOn = 13,
	OE_NoSync = 14,
	OE_NoCable = 15,
	OE_OutOfRange = 16,
	OE_SplashScreenTimeout = 17,
	OE_TransitionComplete = 18,
	OE_HotKey = 19,
	OE_OSDTimeout = 20,
	OE_OneUp = 21,
	OE_AnyEvent = 22,
	OE_AutoAdjustComplete = 23,// auto adjust was successful
	OE_Brightness = 24,
	OE_Contrast = 25,
	OE_Factory = 26,
	OE_PowerDownNotice = 27,
	OE_PseudoMode = 28,// Sent by the mode handler when the mode is not recognized but is close to a valid mode
	OE_SplashScreen = 29,
	OE_StartPowerDown = 30,// system decided to go to Power OFF mode
	OE_TheftDeterrence = 31,// THEFT_DETERRENCE_SUPPORT
	OE_AnalogInput = 32,// signal detected on VGA port
	OE_AutoAdjSuccess = 33,
	OE_AutoAdjustFailed = 34,// auto adjust failed
	OE_AutoAdjustStart = 35,// system is going to start auto adjust on the next pass of the main loop
	OE_DigitalInput = 36,// signal detected on DVI port
	OE_ExitPowerSaving = 37,// system is coming out of DPMS mode
	OE_Idle = 38,
	OE_InternalPatterns = 39,
	OE_InvalidMode = 40,
	OE_PowerDownNow = 41,// system will enter the power OFF state on the next pass of the main loop
	OE_PowerSavingNow = 42,// system will enter the DPMS state on the next pass of the main loop
	OE_PowerUp = 43,// coming out Power OFF mode
	OE_Sleep = 44,
	OE_StartPowerSaving = 45,// system decided to enter DPMS mode
	OE_SystemStartUp = 46// coming out of AC power off or hard reset
} UserEvents;

/*

Begin block defined in libs

#define SAT_CB_00_EVT_SHIFT		0x0003
#define SAT_CB_10_EVT_SHIFT		0x0002
#define SAT_CB_11_MAC_SHIFT		0x0002

#define SAT_CB_00_EVT_MASK		(BIT3 | BIT4 | BIT5)
#define SAT_CB_00_ACT_MASK		(BIT0 | BIT1 | BIT2)

#define SAT_CB_10_EVT_MASK		(BIT2 | BIT3 | BIT4 | BIT5)
#define SAT_CB_10_CND_MASK		(BIT0 | BIT1)

#define SAT_CB_11_MAC_MASK		(BIT2 | BIT3 | BIT4)
#define SAT_CB_11_CND_MASK		(BIT0 | BIT1)
#define SAT_CB_11_ATREF		(BIT5)
#define SAT_CB_11_ATREF_MASK		(BIT4 | BIT3 | BIT2 | BIT1 | BIT0)

#define SAT_CB_MASK		(BIT7 | BIT6)

#define Fit_00(Event,Action)		(((Event) << SAT_CB_00_EVT_SHIFT) | (Action))
#define Fit_10(Event,CndCtrl)		(((Event) << SAT_CB_10_EVT_SHIFT) | (CndCtrl))
#define Fit_11(CndCtrl, MultiActn)		(((MultiActn) << SAT_CB_11_MAC_SHIFT) | (CndCtrl))



End block defined in libs*/

#define OSD_WB_USED		
#define NO_OPERAND		0

// States enum definition
typedef enum MainThreadStateEnum
{
	SID_DefaultState = 0,// SID_DefaultState
	SID_MainDlg = 1,// SID_MainDlg
	SID_YesNoDlg = 2,// SID_YesNoDlg
	SID_NoSignalDlg = 3,// SID_NoSignalDlg
	SID_OutOfRangeDlg = 4,// SID_OutOfRangeDlg
	SID_YesNoAutoColorDlg = 5,// SID_YesNoAutoColorDlg
	SID_ValidModeState = 6,// SID_ValidModeState
	SID_SleepState = 7,// SID_SleepState
	SID_PowerOffState = 8,// SID_PowerOffState
	SID_SplashScreenState = 9,// SID_SplashScreenState
	SID_NoCableDlg = 10,// SID_NoCableDlg
	SID_YesNosRGBDlg = 11,// SID_YesNosRGBDlg
	SID_UpdateOsdDrectionState = 12,// SID_UpdateOsdDrectionState
	SID_FactoryDialog = 13,// SID_FactoryDialog
	SID_MLockTransitState = 14,// SID_MLockTransitState
	SID_MLockedMenu = 15,// SID_MLockedMenu
	SID_MUnlockedMenu = 16,// SID_MUnlockedMenu
	SID_FactoryResetTransitState = 17,// SID_FactoryResetTransitState
	SID_TestPatternAging = 18,// SID_TestPatternAging
	SID_AutoAdjustWait = 19,// SID_AutoAdjustWait
	SID_TheftDeterrenceDlg = 20,// SID_TheftDeterrenceDlg
	SID_InputTab = 21,// SID_InputTab
	SID_BrightContrTab = 22,// SID_BrightContrTab
	SID_ColorTab = 23,// SID_ColorTab
	SID_ImageTab = 24,// SID_ImageTab
	SID_ToolsTab = 25,// SID_ToolsTab
	SID_ExitTab = 26,// SID_ExitTab
	SID_InvMenuInput = 27,// SID_InvMenuInput
	SID_Input1BitmapButton = 28,// SID_Input1BitmapButton
	SID_Input2BitmapButton = 29,// SID_Input2BitmapButton
	SID_ExitTab1 = 30,// SID_ExitTab1
	SID_InvBrightness = 31,// SID_InvBrightness
	SID_InvContrast = 32,// SID_InvContrast
	SID_InvSaturation = 33,// SID_InvSaturation
	SID_InvHue = 34,// SID_InvHue
	SID_InvMenuBrightContr = 35,// SID_InvMenuBrightContr
	SID_TitleSaturation = 36,// SID_TitleSaturation
	SID_SliderSaturation = 37,// SID_SliderSaturation
	SID_TitleHue = 38,// SID_TitleHue
	SID_SliderHue = 39,// SID_SliderHue
	SID_Brightness = 40,// SID_Brightness
	SID_Contrast = 41,// SID_Contrast
	SID_BrightContrExit = 42,// SID_BrightContrExit
	SID_InvColorTemp = 43,// SID_InvColorTemp
	SID_InvMenuColor = 44,// SID_InvMenuColor
	SID_InvSliders = 45,// SID_InvSliders
	SID_Sliders = 46,// SID_Sliders
	SID_K4200 = 47,// SID_K4200
	SID_K5000 = 48,// SID_K5000
	SID_K6500 = 49,// SID_K6500
	SID_K7500 = 50,// SID_K7500
	SID_K9300 = 51,// SID_K9300
	SID_ColorTempExit = 52,// SID_ColorTempExit
	SID_ColorAutoConf = 53,// SID_ColorAutoConf
	SID_sRGB = 54,// SID_sRGB
	SID_ColorTemp = 55,// SID_ColorTemp
	SID_ColorExit = 56,// SID_ColorExit
	SID_RedSlider = 57,// SID_RedSlider
	SID_GreenSlider = 58,// SID_GreenSlider
	SID_BlueSlider = 59,// SID_BlueSlider
	SID_InvWidth = 60,// SID_InvWidth
	SID_InvPhase = 61,// SID_InvPhase
	SID_InvHPos = 62,// SID_InvHPos
	SID_InvVPos = 63,// SID_InvVPos
	SID_InvMenuImage = 64,// SID_InvMenuImage
	SID_ImageAutoConf = 65,// SID_ImageAutoConf
	SID_Width = 66,// SID_Width
	SID_Phase = 67,// SID_Phase
	SID_HPos = 68,// SID_HPos
	SID_VPos = 69,// SID_VPos
	SID_ImageExit = 70,// SID_ImageExit
	SID_InvOSD = 71,// SID_InvOSD
	SID_InvMenuTools = 72,// SID_InvMenuTools
	SID_InvSharpness = 73,// SID_InvSharpness
	SID_InvOSDTimeOut = 74,// SID_InvOSDTimeOut
	SID_InvOSDHPos = 75,// SID_InvOSDHPos
	SID_InvOSDVPos = 76,// SID_InvOSDVPos
	SID_InvOSDDir = 77,// SID_InvOSDDir
	SID_InvOsdMenuTools = 78,// SID_InvOsdMenuTools
	SID_Normal = 79,// SID_Normal
	SID_Mirror = 80,// SID_Mirror
	SID_Left = 81,// SID_Left
	SID_Right = 82,// SID_Right
	SID_UpDown = 83,// SID_UpDown
	SID_Exit = 84,// SID_Exit
	SID_OSDTimeOut = 85,// SID_OSDTimeOut
	SID_OSDHPos = 86,// SID_OSDHPos
	SID_OSDVPos = 87,// SID_OSDVPos
	SID_OSDDir = 88,// SID_OSDDir
	SID_OsdMenuTools = 89,// SID_OsdMenuTools
	SID_OSD = 90,// SID_OSD
	SID_FactoryReset = 91,// SID_FactoryReset
	SID_FactoryResetColor = 92,// SID_FactoryResetColor
	SID_FactoryResetPosition = 93,// SID_FactoryResetPosition
	SID_Sharpness = 94,// SID_Sharpness
	SID_OverlappedMode = 95,// SID_OverlappedMode
	SID_ToolsExit = 96,// SID_ToolsExit
	SID_Happy = 97,// SID_Happy
	SID_Sad = 98,// SID_Sad
	SID_HappyAutoColor = 99,// SID_HappyAutoColor
	SID_SadAutoColor = 100,// SID_SadAutoColor
	SID_LogoBitmap = 101,// SID_LogoBitmap
	SID_HappysRGB = 102,// SID_HappysRGB
	SID_SadsRGB = 103,// SID_SadsRGB
	SID_InvFactorySetup = 104,// SID_InvFactorySetup
	SID_InvADC = 105,// SID_InvADC
	SID_InvColorTemperature = 106,// SID_InvColorTemperature
	SID_InvTimer = 107,// SID_InvTimer
	SID_InvChipAccess = 108,// SID_InvChipAccess
	SID_Blending = 109,// SID_Blending
	SID_Timer = 110,// SID_Timer
	SID_BurnInMode = 111,// SID_BurnInMode
	SID_ChipAccess = 112,// SID_ChipAccess
	SID_ClearUserPrefNVRAM = 113,// SID_ClearUserPrefNVRAM
	SID_FactorysetupADC = 114,// SID_FactorysetupADC
	SID_FactorysetupColorTemp = 115,// SID_FactorysetupColorTemp
	SID_RestoreFactoryDefaultNVRAM = 116,// SID_RestoreFactoryDefaultNVRAM
	SID_AllowHDSource = 117,// SID_AllowHDSource
	SID_InvBlend = 118,// SID_InvBlend
	SID_BlendValue = 119,// SID_BlendValue
	SID_ON = 120,// SID_ON
	SID_OFF = 121,// SID_OFF
	SID_Yes = 122,// SID_Yes
	SID_No = 123,// SID_No
	SID_RestoreYes = 124,// SID_RestoreYes
	SID_RestoreNo = 125,// SID_RestoreNo
	SID_HDYes = 126,// SID_HDYes
	SID_HDNo = 127,// SID_HDNo
	SID_Gain = 128,// SID_Gain
	SID_AutoColor = 129,// SID_AutoColor
	SID_AutoADCCalib = 130,// SID_AutoADCCalib
	SID_FactoryGainSetting = 131,// SID_FactoryGainSetting
	SID_RGainslider = 132,// SID_RGainslider
	SID_GGainSlider = 133,// SID_GGainSlider
	SID_BGainSlider = 134,// SID_BGainSlider
	SID_AutoYes = 135,// SID_AutoYes
	SID_AutoNo = 136,// SID_AutoNo
	SID_4200K = 137,// SID_4200K
	SID_5000K = 138,// SID_5000K
	SID_6500K = 139,// SID_6500K
	SID_7500K = 140,// SID_7500K
	SID_9300K = 141,// SID_9300K
	SID_sRGBButton = 142,// SID_sRGBButton
	SID_UserButton = 143,// SID_UserButton
	SID_BrightnessControl = 144,// SID_BrightnessControl
	SID_ContrastsRGBControl = 145,// SID_ContrastsRGBControl
	SID_Inv4200K = 146,// SID_Inv4200K
	SID_Red4200KBtn = 147,// SID_Red4200KBtn
	SID_Green4200KBtn = 148,// SID_Green4200KBtn
	SID_Blue4200KBtn = 149,// SID_Blue4200KBtn
	SID_Inv5000K = 150,// SID_Inv5000K
	SID_Red5000KBtn = 151,// SID_Red5000KBtn
	SID_Green5000KBtn = 152,// SID_Green5000KBtn
	SID_Blue5000KBtn = 153,// SID_Blue5000KBtn
	SID_Inv6500K = 154,// SID_Inv6500K
	SID_Red6500KBtn = 155,// SID_Red6500KBtn
	SID_Green6500KBtn = 156,// SID_Green6500KBtn
	SID_Blue6500KBtn = 157,// SID_Blue6500KBtn
	SID_Inv7500K = 158,// SID_Inv7500K
	SID_Red7500KBtn = 159,// SID_Red7500KBtn
	SID_Green7500KBtn = 160,// SID_Green7500KBtn
	SID_Blue7500KBtn = 161,// SID_Blue7500KBtn
	SID_Inv9300K = 162,// SID_Inv9300K
	SID_Red9300KBtn = 163,// SID_Red9300KBtn
	SID_Green9300KBtn = 164,// SID_Green9300KBtn
	SID_Blue9300KBtn = 165,// SID_Blue9300KBtn
	SID_InvsRGB = 166,// SID_InvsRGB
	SID_RedsRGBBtn = 167,// SID_RedsRGBBtn
	SID_GreensRGBBtn = 168,// SID_GreensRGBBtn
	SID_BluesRGBBtn = 169,// SID_BluesRGBBtn
	SID_InvUser = 170,// SID_InvUser
	SID_RedUserBtn = 171,// SID_RedUserBtn
	SID_GreenUserBtn = 172,// SID_GreenUserBtn
	SID_BlueUserBtn = 173,// SID_BlueUserBtn
	SID_InvBrightControl = 174,// SID_InvBrightControl
	SID_FactoryBrightnessValue = 175,// SID_FactoryBrightnessValue
	SID_InvcontrastsRGBControl = 176,// SID_InvcontrastsRGBControl
	SID_FactorysRGBContrastValue = 177,// SID_FactorysRGBContrastValue
	SID_MonitorOnTime = 178,// SID_MonitorOnTime
	SID_MonitorOnTimeValue = 179,// SID_MonitorOnTimeValue
	SID_BackLightOnTime = 180,// SID_BackLightOnTime
	SID_BackLightOnTimeValue = 181,// SID_BackLightOnTimeValue
	SID_PowerOnTimes = 182,// SID_PowerOnTimes
	SID_PowerOnTimeValue = 183,// SID_PowerOnTimeValue
	SID_AddressEntry = 184,// SID_AddressEntry
	SID_ValueEntry = 185,// SID_ValueEntry
	SID_gmChipRead = 186,// SID_gmChipRead
	SID_gmChipWrite = 187,// SID_gmChipWrite
	SID_MLockedIcon = 188,// SID_MLockedIcon
	SID_MUnlockedIcon = 189// SID_MUnlockedIcon
};

extern BYTE ROM St_DefaultState[];

extern BYTE ROM * ROM GlobalStateSet[];

#define MainThreadGlobalStateSet		GlobalStateSet
#define NUMBER_OF_THREADS 1

// User Timers definition

extern BYTE ROM B_OSD_TimeoutTid;
typedef enum TimerOpIDEnum
{
	B_OsdCustomTimerTid = 0,
	B_OsdSplashScreenTimerTid = 1
};


extern WORD ROM W_OsdTimerResolution;

#define OSD_TIMERS_NUM		3
extern WORD gW_OsdTimers[OSD_TIMERS_NUM];

extern BYTE gB_OsdTimerStart[OSD_TIMERS_NUM];

extern BYTE ROM gB_OsdTimerEvents[];


// State Action Table definition
typedef enum ActionTableEnum
{
	ATID_PowerOffEVT,
	ATID_RemoveMenuEVT,
	ATID_OsdTimeOut,
	ATID_ResetOsdTimerTbl
};

extern BYTE ROM * ROM ActTableSet[];

// Block ID Enum
// Block ID Enum
// Block ID Enum

#endif  // ifndef OSD_DAT_H_DEFINED

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -