📄 maindef.h
字号:
//--------------------------------------------------
#define _DISP_INFO_BY_MODE _OFF
//--------------------------------------------------
// Set DClk Spread Spectrum Range
//--------------------------------------------------
#define _DCLK_SPREAD_RANGE 0 //0~15, 0△disable, 15△7.5%
//--------------------------------------------------
// Set Last Line Finetune Method
//--------------------------------------------------
//_LAST_LINE_METHOD_NONE,_LAST_LINE_METHOD_0,_LAST_LINE_METHOD_1,_LAST_LINE_METHOD_2
#define _LAST_LINE_FINETUNE _LAST_LINE_METHOD_NONE
#define _LAST_LINE_TARGET 800//1024//1680
//--------------------------------------------------
// Hardware Load Font Supported (Only No Swap)
//--------------------------------------------------
#define _HARDWARE_LOAD_FONT _ON
//--------------------------------------------------
// Audio PLL Lock Mode
//--------------------------------------------------
//_HARDWARE_TRACKING,_N_CTS
#define _AUDIO_LOCK_MODE _N_CTS
//--------------------------------------------------
// Set Adjusting Vertical Position Direction Method
//--------------------------------------------------
//_V_POSITION_METHOD_0,_V_POSITION_METHOD_1
#define _V_POSITION_DIRECTION _V_POSITION_METHOD_0
//--------------------------------------------------
// RTD2553V Set Method of Hsync Type Detection for Analog Input
//--------------------------------------------------
#define _NORMAL_RUN 0
#define _AUTO_RUN 1
#define _HSYNC_TYPE_DETECTION _AUTO_RUN
#define _LD_OPTION _DISABLE
#define _BLACK_LEVEL _ENABLE
//-------------------------------------------------------
// YPBPR Auto SOY function
//-------------------------------------------------------
#define _YPBPR_AUTO_SOY _ENABLE
//--------------------------------------------------
// YPbPr source non-check APLL unlock for DVD player
//--------------------------------------------------
#define _YPBPR_NONE_CHECK_APLL _ENABLE
//--------------------------------------------------
// YPBPR AUTO COLOR OPTION
//--------------------------------------------------
#define _ORIGINAL_TYPE 0
#define _NEW_TYPE 1
#define _YPBPR_AUTO_TYPE _NEW_TYPE
//-------------------------------------------------------
// YPBPR support cc
//-------------------------------------------------------
#define _YPBPR_CC _DISABLE
//-------------------------------------------------------
// De-Interlace Supported
//-------------------------------------------------------
#define _DE_INTERLACE_SUPPORT _ON
//-------------------------------------------------------
//
//-------------------------------------------------------
#define _DCC_FUNC _DISABLE
//-------------------------------------------------------
// Double Scaling
//-------------------------------------------------------
#define _Double_Scaling _DISABLE
//-------------------------------------------------------
// AdjustCustomerColorMode
//-------------------------------------------------------
#define _AdjustCustomerColorMode _DISABLE
//--------------------------------------------------
// De-Interlace TEST OPTION
//--------------------------------------------------
#define _DE_INTERLACE_TEST_OPTION _ENABLE
//---------------------------------------------------
//key1 and key6 function defined
//---------------------------------------------------
#define KEY1_RESET 0
#define KEY1_TIMER 1
#define KEY6_AV2 0
#define KEY6_169 1
#define _KEY1_TYPE KEY1_RESET
#define _KEY6_TYPE KEY6_169
//---------------------------------------------------
//if enable need chage _C_MCU_XTAL
//---------------------------------------------------
#define _SPEED_UP_FLASH _DISABLE//_ENABLE
#if (_SPEED_UP_FLASH)
//--------------------------------------------------
// Definitions of MCU Clock Divider Number
//--------------------------------------------------
//_FLASH_CLK_80MHZ,_FLASH_CLK_60MHZ,_FLASH_CLK_48MHZ,_FLASH_CLK_34MHZ,_FLASH_CLK_27MHZ
#define _FLASH_CLK_DIV _FLASH_CLK_48MHZ
#define _TURBO_MODE _OFF
#if(_FLASH_CLK_DIV == _FLASH_CLK_27MHZ)
#define _FAST_READ _OFF
#else
#define _FAST_READ _ON
#endif
#if(_FLASH_CLK_DIV > _FLASH_CLK_48MHZ)
#define _MCU_CLK_DIV _DIV_1
#else
#define _MCU_CLK_DIV _DIV_2
#endif
#else//#if (_SPEED_UP_FLASH)
#define _FAST_READ _OFF
#endif//#if (_SPEED_UP_FLASH)
//--------------------------------------------------
// Definitions of Memory Size
//--------------------------------------------------
#define _1M_16BIT_1PCE 16
#define _1M_16BIT_2PCE 32
#define _2M_32BIT_1PCE 32
#define _2M_32BIT_2PCE 64
#define _MEMORY_SIZE _2M_32BIT_2PCE
//--------------------------------------------------
// Definitions of Memory Size
//--------------------------------------------------
#define _MEMORY_16MB 16
#define _MEMORY_32MB 32
#define _MEMORY_64MB 64
#define _MEMORY_128MB 128
//--------------------------------------------------
// Definitions of Memory Speed
//--------------------------------------------------
#define _166MHZ 166
#define _200MHZ 200
#define _MEMORY_SPEED _166MHZ
/*
MCLK = 100 MHz 120 166 200
M value 1E 25 34 3F
N value 02 02 02 02
*/
#define _VIDEO_AUTO_WHITE_BLANCE _ENABLE//_FALSE
//---------------------------------------------------------
// Sharpness table
// Panel resolution >1024x768 use table 1
// Panel resolution <1024x768 use table 2
//---------------------------------------------------------
#define SharpnessNoneTable 0
#define SharpnessTable1 1
#define SharpnessTable2 2
#define _Peaking_Coring_Table SharpnessTable2
//-------------------------------------------------------
// sRGB Color Enhance
// used sRGB to enhance Color
//-------------------------------------------------------
#define sRGB_Color_Enhance _ENABLE
//---------------------------------------
//2660 ver B IC need set 1
//---------------------------------------
#define _2660_IC_VERB 1
// Key Define's
// Support pcb : _PCB_GMI2660_DEMO1
// Support osd : OSD001
#define _KT_PCB2660_001 0
// Support pcb : _PCB_GMI2660_DEMO1
// Support osd : OSD002/OSD003
// 7 key
#define _KT_PCB2660_002 1
// Support pcb : all
// Support osd : OSD002/OSD003
// 7 key
#define _KT_PCB2660_003 2
// Support pcb : all
// Support osd : OSD007
// 7/5 key
#define _KT_PCB2660_007 3
// Support pcb : all
// Support osd : OSD003
// 5 key
#define _KT_PCB2660_003_5KEY 4
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -