📄 osd_dat.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_AutoAdjustSuccess;
extern BYTE ROM B_OE_RemoveOSD;
extern BYTE ROM B_OE_OutOfRange;
extern BYTE ROM B_OE_AnyEvent;
extern BYTE ROM B_OE_AutoAdjustStart;
extern BYTE ROM B_OE_Idle;
extern BYTE ROM B_OE_TransitionComplete;
typedef enum UserEventsEnum
{
// OE_None = 0,
OE_EnterState = 1,// Sent when the state machine enters a state
OE_ExitState = 2,// Sent when the state machine leaves a state
OE_LeftDown = 3,
OE_RightDown = 4,
OE_OneDown = 5,
OE_TwoDown = 6,
OE_Ikey = 7,
OE_AutoAdjustSuccess = 8,// Sent by the mode handle after the auto adjust process has completed successfully
OE_PowerOff = 9,// Sent when the power is truned OFF
OE_PowerOn = 10,
OE_AutoColor = 11,
OE_OsdCustomTimeOut = 12,
OE_HotKey = 13,
OE_MUTE_PC = 14,
OE_RemoveOSD = 15,// Sent when the mode handler needs to remove the OSD
OE_AUTOCOLOR_PC = 16,
OE_Brightness = 17,
OE_Contrast = 18,
OE_NoSync = 19,// Sent when the mode handler is detecting no sync
OE_OSDTimeout = 20,// Sent by the OSD Timeout adjuster
OE_OsdTimeout = 21,
OE_OutOfRange = 22,// Sent by the mode handler when sync is out of range
OE_PseudoMode = 23,// Sent by the mode handler when the mode is not recognized but is close to a valid mode
OE_VOLUME_PC = 24,
OE_ValidMode = 25,// Sent when the mode handler detects a valid mode
OE_AnyEvent = 26,// Sent when any event occurs
OE_AutoAdjustStart = 27,// Sent by the mode handler before the auto adust starts
OE_Idle = 28,// Sent when the state machine is idling
OE_InternalPatterns = 29,// Sent to invoke an internal pattern generator
OE_NoCable = 30,// Sent by mode handler when theinput handler is not connected
OE_SplashScreen = 31,// Sent at system power up. If you have a splash screen, display it in the handler for this event
OE_TransitionComplete = 32// Sent when the state machine completes the state transition
} 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_NoSignalDlg = 2,// SID_NoSignalDlg
SID_OutOfRangeDlg = 3,// SID_OutOfRangeDlg
SID_ValidModeState = 4,// SID_ValidModeState
SID_SleepState = 5,// SID_SleepState
SID_PowerOffState = 6,// SID_PowerOffState
SID_AutoDlg = 7,// SID_AutoDlg
SID_BrightnessDlg = 8,// SID_BrightnessDlg
SID_ContrastDlg = 9,// SID_ContrastDlg
SID_FactorySetDlg = 10,// SID_FactorySetDlg
SID_BrightContrTab = 11,// SID_BrightContrTab
SID_AudioTab = 12,// SID_AudioTab
SID_ColorTab = 13,// SID_ColorTab
SID_ImageTab = 14,// SID_ImageTab
SID_ToolsTab = 15,// SID_ToolsTab
SID_LanguageTab = 16,// SID_LanguageTab
SID_ExitTab = 17,// SID_ExitTab
SID_InvMenuBrightContr = 18,// SID_InvMenuBrightContr
SID_Brightness = 19,// SID_Brightness
SID_Contrast = 20,// SID_Contrast
SID_BrightContrExit = 21,// SID_BrightContrExit
SID_BrightContrastTxt = 22,// SID_BrightContrastTxt
SID_InvBrightnessTxt = 23,// SID_InvBrightnessTxt
SID_BrightnessSlider = 24,// SID_BrightnessSlider
SID_InvContrastTxt = 25,// SID_InvContrastTxt
SID_ContrastSlider = 26,// SID_ContrastSlider
SID_InvMenuAudio = 27,// SID_InvMenuAudio
SID_Volume = 28,// SID_Volume
SID_Mute = 29,// SID_Mute
SID_AudioExit = 30,// SID_AudioExit
SID_AudioTxt = 31,// SID_AudioTxt
SID_InvvolumeTxt = 32,// SID_InvvolumeTxt
SID_volumeslider = 33,// SID_volumeslider
SID_m_on = 34,// SID_m_on
SID_m_off = 35,// SID_m_off
SID_InvMenuColor = 36,// SID_InvMenuColor
SID_ColorAutoConf = 37,// SID_ColorAutoConf
SID_UserColorCfg = 38,// SID_UserColorCfg
SID_ColorExit = 39,// SID_ColorExit
SID_K6500 = 40,// SID_K6500
SID_K9300 = 41,// SID_K9300
SID_ColorTxt = 42,// SID_ColorTxt
SID_UserColorTxt = 43,// SID_UserColorTxt
SID_InvAdjustR = 44,// SID_InvAdjustR
SID_InvAdjustG = 45,// SID_InvAdjustG
SID_InvAdjustB = 46,// SID_InvAdjustB
SID_InvMenuImage = 47,// SID_InvMenuImage
SID_ImageAutoConf = 48,// SID_ImageAutoConf
SID_Width = 49,// SID_Width
SID_Phase = 50,// SID_Phase
SID_HPos = 51,// SID_HPos
SID_VPos = 52,// SID_VPos
SID_ImageExit = 53,// SID_ImageExit
SID_ImageTxt = 54,// SID_ImageTxt
SID_InvClockTxt = 55,// SID_InvClockTxt
SID_ClockSlider = 56,// SID_ClockSlider
SID_InvPhaseTxt = 57,// SID_InvPhaseTxt
SID_PhaseSlider = 58,// SID_PhaseSlider
SID_InvHPosTxt = 59,// SID_InvHPosTxt
SID_HPosSlider = 60,// SID_HPosSlider
SID_InvVPosTxt = 61,// SID_InvVPosTxt
SID_VPosSlider = 62,// SID_VPosSlider
SID_InvMenuTools = 63,// SID_InvMenuTools
SID_FactoryReset = 64,// SID_FactoryReset
SID_ToolsExit = 65,// SID_ToolsExit
SID_OSDHPos = 66,// SID_OSDHPos
SID_OSDVPos = 67,// SID_OSDVPos
SID_OSDSize = 68,// SID_OSDSize
SID_OSDTimeOut = 69,// SID_OSDTimeOut
SID_ToolsTxt = 70,// SID_ToolsTxt
SID_InvOHPosTxt = 71,// SID_InvOHPosTxt
SID_OHPosSlider = 72,// SID_OHPosSlider
SID_InvOVPosTxt = 73,// SID_InvOVPosTxt
SID_OVPosSlider = 74,// SID_OVPosSlider
SID_InvOTimeOutTxt = 75,// SID_InvOTimeOutTxt
SID_OTimeoutSlider = 76,// SID_OTimeoutSlider
SID_InvLanguage = 77,// SID_InvLanguage
SID_English = 78,// SID_English
SID_Chinese = 79,// SID_Chinese
SID_French = 80,// SID_French
SID_Germany = 81,// SID_Germany
SID_Italian = 82,// SID_Italian
SID_Spanish = 83,// SID_Spanish
SID_LanguageExit = 84,// SID_LanguageExit
SID_LanguageTxt = 85,// SID_LanguageTxt
SID_Brightness1 = 86,// SID_Brightness1
SID_Contrast1 = 87,// SID_Contrast1
SID_BurninTab = 88,// SID_BurninTab
SID_AutoTab = 89,// SID_AutoTab
SID_C65Tab = 90,// SID_C65Tab
SID_C93Tab = 91,// SID_C93Tab
SID_FResetTab = 92,// SID_FResetTab
SID_FExitTab = 93,// SID_FExitTab
SID_BurnInYesTxt = 94,// SID_BurnInYesTxt
SID_BurnInNoTxt = 95,// SID_BurnInNoTxt
SID_InvAuto = 96,// SID_InvAuto
SID_AutoTemp = 97,// SID_AutoTemp
SID_AutoImage = 98,// SID_AutoImage
SID_AutoRGB = 99,// SID_AutoRGB
SID_AutoExit = 100,// SID_AutoExit
SID_AutoTxt = 101,// SID_AutoTxt
SID_AutoColorTTxt = 102,// SID_AutoColorTTxt
SID_AutoTProcTxt = 103,// SID_AutoTProcTxt
SID_InvC65 = 104,// SID_InvC65
SID_C65Bri = 105,// SID_C65Bri
SID_C65Con = 106,// SID_C65Con
SID_C65R = 107,// SID_C65R
SID_C65G = 108,// SID_C65G
SID_C65B = 109,// SID_C65B
SID_C65Txt = 110,// SID_C65Txt
SID_InvC93 = 111,// SID_InvC93
SID_C93Bri = 112,// SID_C93Bri
SID_C93Con = 113,// SID_C93Con
SID_C93R = 114,// SID_C93R
SID_C93G = 115,// SID_C93G
SID_C93B = 116,// SID_C93B
SID_C93Txt = 117,// SID_C93Txt
SID_InvDebugOn = 118,// SID_InvDebugOn
SID_InvDebugOff = 119// SID_InvDebugOff
};
#define St_DefaultState TopMostState
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 = LastUserOSDTimer
};
extern WORD ROM W_OsdTimerResolution;
#define OSD_TIMERS_NUM 2
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_RemoveOSDEVT,
ATID_OsdTimeOut,
ATID_ResetOsdTimerTbl
};
extern BYTE ROM * ROM ActTableSet[];
#endif // ifndef OSD_DAT_H_DEFINED
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -