📄 osd_act.c
字号:
////////////////////////////////////////////////////////////////////////////////
// Genesis Microchip, Inc.
// This file was generated by Genesis Workbench. PLEASE DO NOT EDIT MANUALLY
////////////////////////////////////////////////////////////////////////////////
#include "std_inc.h"
// Actions definition
BYTE ROM * ROM ActionSet[159] =
{
(BYTE ROM *) gm_GoToState,
(BYTE ROM *) DrawBitmap,
(BYTE ROM *) SelectLongValueButton,
(BYTE ROM *) LoadBitmap,
(BYTE ROM *) SelectBitmapButton,
(BYTE ROM *) gm_DecState,
(BYTE ROM *) EraseControl,
(BYTE ROM *) gm_IncState,
(BYTE ROM *) DrawLongValue,
(BYTE ROM *) gm_DecAdjuster,
(BYTE ROM *) DrawSlider,
(BYTE ROM *) gm_IncAdjuster,
(BYTE ROM *) LoadColorsInvisibleState,
(BYTE ROM *) DrawStaticText,
(BYTE ROM *) SelectTextButton,
(BYTE ROM *) UnselectTextButton,
(BYTE ROM *) gm_SetAdjuster,
(BYTE ROM *) DisableThreeColorBitmapButton,
(BYTE ROM *) ResetTimer,
(BYTE ROM *) SaveModeIndependentSettings,
(BYTE ROM *) LoadControlChars,
(BYTE ROM *) UnselectOnOffBitmapButton,
(BYTE ROM *) AllocateTile,
(BYTE ROM *) DeallocateTile,
(BYTE ROM *) EnableTile,
(BYTE ROM *) LoadColorsDialog,
(BYTE ROM *) SelectSliderButton,
(BYTE ROM *) AdjustFactoryColorTempAction,
(BYTE ROM *) LoadFactoryColorTempSettings,
(BYTE ROM *) ResetOSDTimer,
(BYTE ROM *) SaveFactoryColorTempSettings,
(BYTE ROM *) UnselectTabControl,
(BYTE ROM *) ChangePort,
(BYTE ROM *) SelectTabControl,
(BYTE ROM *) gm_IncStateBy,
(BYTE ROM *) InternalTestPatterns,
(BYTE ROM *) RestoreModeDependentSettings,
(BYTE ROM *) RestoreModeIndepSettings,
(BYTE ROM *) SelectOnOffBitmapButton,
(BYTE ROM *) ToggleOnOffBitmapButton,
(BYTE ROM *) FactoryReset,
(BYTE ROM *) SaveFactorySettings,
(BYTE ROM *) StartFloating,
(BYTE ROM *) StopFloating,
(BYTE ROM *) AutoColor,
(BYTE ROM *) DrawTimingInfo,
(BYTE ROM *) RefreshFactoryGlobals,
(BYTE ROM *) SaveModeDependentSettings,
(BYTE ROM *) StartADCCalibrationISR,
(BYTE ROM *) UpdateModeDependentSettings,
(BYTE ROM *) UpdateUserPrefAdcSettings,
(BYTE ROM *) ACM_Disable,
(BYTE ROM *) AdjustFactoryBlendValueFromOsdDisplay,
(BYTE ROM *) AdjustsRGB,
(BYTE ROM *) ChangeLockUnlockOSD,
(BYTE ROM *) ChangeToComponentVideoPort,
(BYTE ROM *) ChangeToCompositeVideoPort,
(BYTE ROM *) ChangeToDVIPort,
(BYTE ROM *) ChangeToSVideoPort,
(BYTE ROM *) ChangeToVGAPort,
(BYTE ROM *) ClearPowerOnFlag,
(BYTE ROM *) DisableVideoWindow,
(BYTE ROM *) DoAutoColor,
(BYTE ROM *) DoAutoConfig,
(BYTE ROM *) DoAutoGeometry,
(BYTE ROM *) DrawDynamicText,
(BYTE ROM *) DrawTabControl,
(BYTE ROM *) EnableVideoWindow,
(BYTE ROM *) EnterDefaultState,
(BYTE ROM *) EnterFactoryMenu,
(BYTE ROM *) EnterNoCableState,
(BYTE ROM *) EnterNoSignalState,
(BYTE ROM *) EnterOutOfRangeState,
(BYTE ROM *) EnterSleepState,
(BYTE ROM *) EnterValidModeState,
(BYTE ROM *) ExitFactoryMenu,
(BYTE ROM *) FactoryColorReset,
(BYTE ROM *) FactoryMenuGmRead,
(BYTE ROM *) FactoryMenuGmWrite,
(BYTE ROM *) FactoryPositionReset,
(BYTE ROM *) InitCalValues,
(BYTE ROM *) InitFactoryDependentSettings,
(BYTE ROM *) InitPanelNameForDynamicControl,
(BYTE ROM *) RequestSoftPowerOff,
(BYTE ROM *) RequestSoftPowerOn,
(BYTE ROM *) SendPowerDownMessage,
(BYTE ROM *) SetColorWindowDDCCI,
(BYTE ROM *) SetColorWindowFullScreen,
(BYTE ROM *) SetColorWindowLeftLetterBox,
(BYTE ROM *) SetColorWindowLetterBox,
(BYTE ROM *) SetColorWindowLetterBox2,
(BYTE ROM *) SetOverlappedMode,
(BYTE ROM *) SetPowerOnFlag,
(BYTE ROM *) SetSplashScreenOff,
(BYTE ROM *) SetYUVFormat,
(BYTE ROM *) SetYUVFormatInDVIPort,
(BYTE ROM *) StopADCCalibrationISR,
(BYTE ROM *) gm_AutoADCInitMain,
(BYTE ROM *) Condition1,
(BYTE ROM *) Condition44,
(BYTE ROM *) Condition43,
(BYTE ROM *) Condition38,
(BYTE ROM *) Condition39,
(BYTE ROM *) Condition57,
(BYTE ROM *) Condition24,
(BYTE ROM *) Condition22,
(BYTE ROM *) Condition18,
(BYTE ROM *) Condition20,
(BYTE ROM *) Condition16,
(BYTE ROM *) Condition35,
(BYTE ROM *) Condition31,
(BYTE ROM *) Condition25,
(BYTE ROM *) Condition28,
(BYTE ROM *) Condition41,
(BYTE ROM *) Condition2,
(BYTE ROM *) Condition42,
(BYTE ROM *) Condition40,
(BYTE ROM *) Condition37,
(BYTE ROM *) Condition23,
(BYTE ROM *) Condition13,
(BYTE ROM *) Condition21,
(BYTE ROM *) Condition12,
(BYTE ROM *) Condition17,
(BYTE ROM *) Condition10,
(BYTE ROM *) Condition19,
(BYTE ROM *) Condition11,
(BYTE ROM *) Condition15,
(BYTE ROM *) Condition9,
(BYTE ROM *) Condition36,
(BYTE ROM *) Condition32,
(BYTE ROM *) Condition27,
(BYTE ROM *) Condition26,
(BYTE ROM *) Condition0,
(BYTE ROM *) Condition14,
(BYTE ROM *) Condition34,
(BYTE ROM *) Condition29,
(BYTE ROM *) Condition3,
(BYTE ROM *) Condition8,
(BYTE ROM *) Condition7,
(BYTE ROM *) Condition5,
(BYTE ROM *) Condition6,
(BYTE ROM *) Condition4,
(BYTE ROM *) Condition58,
(BYTE ROM *) Condition51,
(BYTE ROM *) Condition60,
(BYTE ROM *) Condition59,
(BYTE ROM *) Condition33,
(BYTE ROM *) Condition30,
(BYTE ROM *) Condition49,
(BYTE ROM *) Condition45,
(BYTE ROM *) Condition47,
(BYTE ROM *) Condition48,
(BYTE ROM *) Condition46,
(BYTE ROM *) Condition52,
(BYTE ROM *) Condition53,
(BYTE ROM *) Condition54,
(BYTE ROM *) Condition55,
(BYTE ROM *) Condition56,
(BYTE ROM *) Condition50
};
////////////////////////////////////////////////////////////////////////////////
// Action pointer set data block size: 636 Bytes
////////////////////////////////////////////////////////////////////////////////
#define VARIABLE(_name) UserPref##_name
// Conditions defenition
BYTE Condition1()
{
return !UserPrefLockUnlockOSD;
}
BYTE Condition44()
{
return (!(UserPrefW_OsdAccAcmFlag & WindowEnableBit));
}
BYTE Condition43()
{
return (UserPrefW_OsdAccAcmFlag & WindowEnableBit);
}
BYTE Condition38()
{
return !InputPortArray[gmvb_CurrentPortMain].YUV;
}
BYTE Condition39()
{
return InputPortArray[gmvb_CurrentPortMain].PowerDev == gmd_PCD_RGB;
}
BYTE Condition57()
{
return !IsAcmCurrentelyEnabled();
}
BYTE Condition24()
{
return !IsComponentInput();
}
BYTE Condition22()
{
return !IsCompositeInput();
}
BYTE Condition18()
{
return !IsDVIInput();
}
BYTE Condition20()
{
return !IsSVideoInput();
}
BYTE Condition16()
{
return !IsVGAInput();
}
BYTE Condition35()
{
return !IsYUVFormatInDVIPort();
}
BYTE Condition31()
{
return !IsYUVFormatInDVIPort() && IsDVIInput();
}
BYTE Condition25()
{
return !IsYUVFormatInVGAPort() && IsVGAInput();
}
BYTE Condition28()
{
return !IsYUVFormatInVGAPort() || !IsVGAInput();
}
BYTE Condition41()
{
return ((!(gmvw_InputFlagsMain & gmd_SUB_SAMPLE)) && IsVGAInput());
}
BYTE Condition2()
{
return (((!(gmvw_InputFlagsMain & gmd_SUB_SAMPLE)) && IsVGAInput()) && (!UserPrefLockUnlockOSD));
}
BYTE Condition42()
{
return ((gmvw_InputFlagsMain & gmd_SUB_SAMPLE) || (!IsVGAInput()));
}
BYTE Condition40()
{
return InputPortArray[gmvb_CurrentPortMain].PowerDev != gmd_PCD_RGB;
}
BYTE Condition37()
{
return InputPortArray[gmvb_CurrentPortMain].YUV;
}
BYTE Condition23()
{
return IsComponentInput();
}
BYTE Condition13()
{
return IsComponentInputLastActive();
}
BYTE Condition21()
{
return IsCompositeInput();
}
BYTE Condition12()
{
return IsCompositeInputLastActive();
}
BYTE Condition17()
{
return IsDVIInput();
}
BYTE Condition10()
{
return IsDVIInputLastActive();
}
BYTE Condition19()
{
return IsSVideoInput();
}
BYTE Condition11()
{
return IsSVideoInputLastActive();
}
BYTE Condition15()
{
return IsVGAInput();
}
BYTE Condition9()
{
return IsVGAInputLastActive();
}
BYTE Condition36()
{
return IsYUVFormatInDVIPort();
}
BYTE Condition32()
{
return IsYUVFormatInDVIPort() || !IsDVIInput();
}
BYTE Condition27()
{
return IsYUVFormatInVGAPort() && IsVGAInput();
}
BYTE Condition26()
{
return IsYUVFormatInVGAPort() || !IsVGAInput();
}
BYTE Condition0()
{
return SystemFlags.TestPatternRunning;
}
BYTE Condition14()
{
return UserPrefLockUnlockOSD;
}
BYTE Condition34()
{
return !IsYUVFormatInDVIPort() || !IsDVIInput();
}
BYTE Condition29()
{
return !IsYUVFormatInVGAPort();
}
BYTE Condition3()
{
return !SystemFlags.TestPatternRunning;
}
BYTE Condition8()
{
return !UserPrefLockUnlockOSD && IsComponentInputLastActive();
}
BYTE Condition7()
{
return !UserPrefLockUnlockOSD && IsCompositeInputLastActive();
}
BYTE Condition5()
{
return !UserPrefLockUnlockOSD && IsDVIInputLastActive();
}
BYTE Condition6()
{
return !UserPrefLockUnlockOSD && IsSVideoInputLastActive();
}
BYTE Condition4()
{
return !UserPrefLockUnlockOSD && IsVGAInputLastActive();
}
BYTE Condition58()
{
return (!(UserPrefW_OsdAccAcmFlag & WindowEnableBit)) && !IsAccCurrentelyEnabled() && !IsAcmCurrentelyEnabled();
}
BYTE Condition51()
{
return (UserPrefColor==CTEMP_NON_SRGB)||(UserPrefColor==CTEMP_USER);
}
BYTE Condition60()
{
return (UserPrefOsdDirection != FactoryDefaultInROM.OsdDirection);
}
BYTE Condition59()
{
return (UserPrefW_OsdAccAcmFlag & WindowEnableBit) && !IsAccCurrentelyEnabled() && !IsAcmCurrentelyEnabled();
}
BYTE Condition33()
{
return IsYUVFormatInDVIPort() && IsDVIInput();
}
BYTE Condition30()
{
return IsYUVFormatInVGAPort();
}
BYTE Condition49()
{
return UserPrefACMMode == 0;
}
BYTE Condition45()
{
return UserPrefACMMode == ACM_MODE_CINEMA;
}
BYTE Condition47()
{
return UserPrefACMMode == ACM_MODE_NATURE;
}
BYTE Condition48()
{
return UserPrefACMMode == ACM_MODE_SPORT;
}
BYTE Condition46()
{
return UserPrefACMMode == ACM_MODE_VIVID;
}
BYTE Condition52()
{
return UserPrefColor==CTEMP_4200K;
}
BYTE Condition53()
{
return UserPrefColor==CTEMP_5000K;
}
BYTE Condition54()
{
return UserPrefColor==CTEMP_6500K;
}
BYTE Condition55()
{
return UserPrefColor==CTEMP_7500K;
}
BYTE Condition56()
{
return UserPrefColor==CTEMP_9300K;
}
BYTE Condition50()
{
return UserPrefColor==CTEMP_SRGB;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -