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-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #line 4329 "HeaderFONT.H" /0
-
- extern unsigned char code Font_East_J[];
- extern unsigned char code Font_East_C[];
- extern unsigned char code Font_Global[];
- extern unsigned char code Font_Icons[];
- extern unsigned char code Font_add[];
-
-
- #line 13 "CodeLcd_osd.c" /0
-
-
- #line 1 "HeaderOSD.H" /0
-
- #line 1 ".HEADERMain_def.h" /0
-
- #line 1 "HEADERCHAR_DEF.H" /0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-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
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #line 144 ".HEADERMain_def.h" /1
-
-
-
-
-
-
-
-
-
-
-
- #line 155 ".HEADERMain_def.h" /0
-
-
- #line 157 ".HEADERMain_def.h" /1
-
-
- #line 159 ".HEADERMain_def.h" /0
-
-
-
-
- #line 163 ".HEADERMain_def.h" /1
-
-
- #line 165 ".HEADERMain_def.h" /0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #line 270 ".HEADERMain_def.h" /1
-
-
- #line 272 ".HEADERMain_def.h" /0
-
- #line 273 ".HEADERMain_def.h" /1
-
-
- #line 275 ".HEADERMain_def.h" /0
-
- #line 276 ".HEADERMain_def.h" /1
-
-
- #line 278 ".HEADERMain_def.h" /0
-
- #line 279 ".HEADERMain_def.h" /1
-
-
- #line 281 ".HEADERMain_def.h" /0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #line 1 "HeaderOSD.H" /0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #line 27 "HeaderOSD.H" /1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-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
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #line 5116 "HeaderOSD.H" /0
-
-
- extern unsigned char code Row_Info[][19];
- extern unsigned char code FactRow_Info[][20];
-
- extern unsigned char code OSD_Window_Setting[];
-
- extern unsigned char code Page_All_Atb[];
- extern unsigned char code Page_All_ENG[];
- extern unsigned char code Page_All_GER[];
- extern unsigned char code Page_All_FRE[];
- extern unsigned char code Page_All_ITA[];
- extern unsigned char code Page_All_SPA[];
- extern unsigned char code Page_All_CHI_T[];
- extern unsigned char code Page_All_CHI_S[];
- extern unsigned char code Page_All_JAP[];
-
- extern unsigned char code Page1_Atb[];
- extern unsigned char code Page1_ENG[];
- extern unsigned char code Page1_GER[];
- extern unsigned char code Page1_FRE[];
- extern unsigned char code Page1_ITA[];
- extern unsigned char code Page1_SPA[];
- extern unsigned char code Page1_CHI_T[];
- extern unsigned char code Page1_CHI_S[];
- extern unsigned char code Page1_JAP[];
-
- extern unsigned char code Page2_Atb[];
- extern unsigned char code Page2_ENG[];
- extern unsigned char code Page2_GER[];
- extern unsigned char code Page2_FRE[];
- extern unsigned char code Page2_ITA[];
- extern unsigned char code Page2_SPA[];
- extern unsigned char code Page2_CHI_T[];
- extern unsigned char code Page2_CHI_S[];
- extern unsigned char code Page2_JAP[];
-
- extern unsigned char code Page3_Atb[];
- extern unsigned char code Page3_ENG[];
- extern unsigned char code Page3_GER[];
- extern unsigned char code Page3_FRE[];
- extern unsigned char code Page3_ITA[];
- extern unsigned char code Page3_SPA[];
- extern unsigned char code Page3_CHI_T[];
- extern unsigned char code Page3_CHI_S[];
- extern unsigned char code Page3_JAP[];
-
- extern unsigned char code Page4_Atb[];
- extern unsigned char code Page4_ENG[];
- extern unsigned char code Page4_GER[];
- extern unsigned char code Page4_FRE[];
- extern unsigned char code Page4_ITA[];
- extern unsigned char code Page4_SPA[];
- extern unsigned char code Page4_CHI_T[];
- extern unsigned char code Page4_CHI_S[];
- extern unsigned char code Page4_JAP[];
-
- extern unsigned char code Page5_Atb[];
- extern unsigned char code Page5_ENG[];
- extern unsigned char code Page5_GER[];
- extern unsigned char code Page5_FRE[];
- extern unsigned char code Page5_ITA[];
- extern unsigned char code Page5_SPA[];
- extern unsigned char code Page5_CHI_T[];
- extern unsigned char code Page5_CHI_S[];
- extern unsigned char code Page5_JAP[];
-
- extern unsigned char code Page6_Atb[];
- extern unsigned char code Page6_ENG[];
- extern unsigned char code Page6_GER[];
- extern unsigned char code Page6_FRE[];
- extern unsigned char code Page6_ITA[];
- extern unsigned char code Page6_SPA[];
- extern unsigned char code Page6_CHI_T[];
- extern unsigned char code Page6_CHI_S[];
- extern unsigned char code Page6_JAP[];
-
- extern unsigned char code Page7_Atb[];
- extern unsigned char code Page7_ENG[];
- extern unsigned char code Page7_GER[];
- extern unsigned char code Page7_FRE[];
- extern unsigned char code Page7_ITA[];
- extern unsigned char code Page7_SPA[];
- extern unsigned char code Page7_CHI_T[];
- extern unsigned char code Page7_CHI_S[];
- extern unsigned char code Page7_JAP[];
-
- extern unsigned char code OSD_Version[];
-
- extern unsigned char code NoCable_ENG[];
- extern unsigned char code NoCable_GER[];
- extern unsigned char code NoCable_FRE[];
- extern unsigned char code NoCable_ITA[];
- extern unsigned char code NoCable_SPA[];
- extern unsigned char code NoCable_CHI_T[];
- extern unsigned char code NoCable_CHI_S[];
- extern unsigned char code NoCable_JAP[];
-
- extern unsigned char code NoSignal_ENG[];
- extern unsigned char code NoSignal_FRA[];
- extern unsigned char code NoSignal_DEU[];
- extern unsigned char code NoSignal_ESP[];
- extern unsigned char code NoSignal_ITA[];
- extern unsigned char code NoSignal_CHI_T[];
- extern unsigned char code NoSignal_CHI_S[];
- extern unsigned char code NoSignal_JAP[];
-
- extern unsigned char code NoSupport_ENG[];
- extern unsigned char code NoSupport_GER[];
- extern unsigned char code NoSupport_FRE[];
- extern unsigned char code NoSupport_ITA[];
- extern unsigned char code NoSupport_SPA[];
- extern unsigned char code NoSupport_CHI_T[];
- extern unsigned char code NoSupport_CHI_S[];
- extern unsigned char code NoSupport_JAP[];
-
- extern unsigned char code rgb_OSD_VOLUME[];
- extern unsigned char code OSD_VOLUME_ENG[];
- extern unsigned char code OSD_VOLUME_ESP[];
- extern unsigned char code OSD_VOLUME_JAP[];
- extern unsigned int code strTabVOLUME_Atb[];
-
- extern unsigned char code OSD_AUTO[];
- extern unsigned char code OSD_Auto_ENG[];
- extern unsigned char code OSD_Auto_DEU[];
- extern unsigned char code OSD_Auto_FRA[];
- extern unsigned char code OSD_Auto_ESP[];
- extern unsigned char code OSD_Auto_ITA[];
- extern unsigned char code OSD_Auto_CHI_T[];
- extern unsigned char code OSD_Auto_JAP[];
- extern unsigned int code strTabAuto_Atb[];
-
- extern unsigned char code OSD_RGB[];
- extern unsigned char code OSD_DVI[];
- extern unsigned char code OSD_AV[];
- extern unsigned char code OSD_SV[];
- extern unsigned char code OSD_YUV[];
- extern unsigned char code OSD_TV[];
-
- extern unsigned char code FactoryPageAtbFont[];
- extern unsigned char code OSD_Clean_All[];
- extern unsigned char code Version_Panel[];
- extern unsigned char code RecallOK[];
- extern unsigned char code AutoOK[];
-
- extern unsigned char code OSD_Reset[];
- extern unsigned char code OSD_Enable[];
-
-
- extern unsigned char code Page8_Atb[];
- extern unsigned char code Page8_Title_ENG[];
- extern unsigned char code Page8_Title_GER[];
- extern unsigned char code Page8_Title_FRE[];
- extern unsigned char code Page8_Title_ITA[];
- extern unsigned char code Page8_Title_SPA[];
- extern unsigned char code Page8_Title_CHI_T[];
- extern unsigned char code Page8_Title_CHI_S[];
- extern unsigned char code Page8_Title_JAP[];
- extern unsigned char code Page8_Content[];
-
- extern unsigned char code Page9_Atb[];
- extern unsigned char code Page9_Title_ENG[];
- extern unsigned char code Page9_Title_GER[];
- extern unsigned char code Page9_Title_FRE[];
- extern unsigned char code Page9_Title_ITA[];
- extern unsigned char code Page9_Title_SPA[];
- extern unsigned char code Page9_Title_CHI_T[];
- extern unsigned char code Page9_Title_CHI_S[];
- extern unsigned char code Page9_Title_JAP[];
- extern unsigned char code Page9_Content[];
-
- extern unsigned char code PageADC_Atb[];
- extern unsigned char code PageADC_ENG[];
- extern unsigned char code PageVDC_Atb[];
- extern unsigned char code PageVDC_ENG[];
-
-
-
-
- #line 5305 "HeaderOSD.H" /1
-
-
-
-
-
-
-
- #line 5312 "HeaderOSD.H" /0
-
-
- extern unsigned int code OSD_HINT_TABLE[][8];
- extern unsigned int code OSD_REMK_TABLE[][8];
- extern unsigned int code OSD_PAGE_TABLE[][8];
- extern unsigned int code OSD_PAGE_All_TABLE[][8];
-
-
-
- #line 14 "CodeLcd_osd.c" /0
-
-
- #line 1 "HeaderSRC_CTRL.H" /0
-
- #line 2 "HeaderSRC_CTRL.H" /1
-
-
-
-
-
-
-
-
-
-
-
- #line 13 "HeaderSRC_CTRL.H" /0
-
-
-
- extern bit bSourceScanEnable;
-
-
-
-
- extern bit Source_Control(void);
- extern void Change_Source(unsigned char source);
-
-
- extern void Source_Auto_Scan();
-
-
-
- #line 15 "CodeLcd_osd.c" /0
-
-
- #line 1 "HeaderOSD_TREE.H" /0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #line 89 "HeaderOSD_TREE.H" /1
-
-
-
-
-
-
-
-
-
-
- #line 99 "HeaderOSD_TREE.H" /0
-
-
-
-
-
-
-
-
-
-
-
-
- #line 111 "HeaderOSD_TREE.H" /1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #line 188 "HeaderOSD_TREE.H" /0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #line 202 "HeaderOSD_TREE.H" /1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #line 261 "HeaderOSD_TREE.H" /0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #line 16 "CodeLcd_osd.c" /0
-
-
-
- #line 1 "Headerrgb_echo.H" /0
-
-
-
-
-
-
-
-
- bit b_rgb_VOLUME_STATUS = 0;
-
- void rgb_OSD_Slider(unsigned char row, unsigned char col, unsigned char length, unsigned char value, unsigned char range,
- unsigned char color, unsigned char color_slider);
- void rgb_LED_LIGHT_CONTROL(void);
-
- void rgb_EXIT_KEY(void);
-
-
-
- #line 19 "Headerrgb_echo.H" /1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #line 18 "CodeLcd_osd.c" /0
- #line 18 "CodeLcd_osd.c" /0
-
-
-
- #line 21 "CodeLcd_osd.c" /1
-
-
- #line 23 "CodeLcd_osd.c" /0
-
-
-
-
-
-
- unsigned char GetNextPageIdx(unsigned char ucPageCurr)
- {
- switch (stGUD1.INPUT_SOURCE & 0x07)
- {
- case 0 :
- return (5 <= ucPageCurr) ? 1 : ucPageCurr + 1;
- case 1 :
- return (5 <= ucPageCurr) ? 1 : ucPageCurr + 1;
- case 2 :
- return (5 <= ucPageCurr) ? 1 : ucPageCurr + 1;
- case 3 :
- return (5 <= ucPageCurr) ? 1 : ucPageCurr + 1;
- case 4 :
- return (5 <= ucPageCurr) ? 1 : ucPageCurr + 1;
- default :
- return 1;
- }
-
- }
-
- unsigned char GetPrevPageIdx(unsigned char ucPageCurr)
- {
- switch (stGUD1.INPUT_SOURCE & 0x07)
- {
- case 0 :
- return (1 >= ucPageCurr) ? 5 : ucPageCurr - 1;
- case 1 :
- return (1 >= ucPageCurr) ? 5 : ucPageCurr - 1;
- case 2 :
- return (1 >= ucPageCurr) ? 5 : ucPageCurr - 1;
- case 3 :
- return (1 >= ucPageCurr) ? 5 : ucPageCurr - 1;
- case 4 :
- return (1 >= ucPageCurr) ? 5 : ucPageCurr - 1;
- default :
- return 1;
- }
-
- }
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- void OSD_Window(unsigned char win_no, unsigned int row_start, unsigned int row_end, unsigned int col_start, unsigned int col_end,
- unsigned char width, unsigned char height, unsigned char color, unsigned char color_sb, unsigned char gradient,
- unsigned char gray_level,unsigned char attr)
- {
- if(win_no > 7)
- return;
-
- Data[0] = 5;
- Data[1] = 0;
- Data[2] = 0x90;
- Data[3] = 0xc1;
- Data[4] = (win_no << 2);
- Data[5] = 0;
- RTDWrite(Data);
- Data[0] = 6;
- Data[1] = 1;
- Data[2] = 0x92;
- Data[3] = ((width & 0x07) << 3) | (height & 0x07);
- Data[4] = color_sb;
- Data[5] = gradient;
- Data[6] = 0;
- RTDWrite(Data);
-
- Data[0] = 5;
- Data[1] = 0;
- Data[2] = 0x90;
- Data[3] = 0xe1;
- Data[4] = (win_no << 2) + 1;
- Data[5] = 0;
- RTDWrite(Data);
- Data[0] = 9;
- Data[1] = 1;
- Data[2] = 0x92;
- Data[3] = (unsigned char)((unsigned int)(row_start & 0x003f) << 2);
- Data[4] = (unsigned char)((unsigned int)(col_start & 0x0007) << 5) |
- (unsigned char)((unsigned int)(row_start & 0x07c0) >> 6);
- Data[5] = (unsigned char)((unsigned int)(col_start & 0x07f8) >> 3);
-
- Data[6] = (unsigned char)((unsigned int)(row_end & 0x003f) << 2);
- Data[7] = (unsigned char)((unsigned int)(col_end & 0x0007) << 5) |
- (unsigned char)((unsigned int)(row_end & 0x07c0) >> 6);
- Data[8] = (unsigned char)((unsigned int)(col_end & 0x07f8) >> 3);
- Data[9] = 0;
- RTDWrite(Data);
-
- Delay_Xms(25);
-
-
-
- Data[0] = 5;
- Data[1] = 0;
- Data[2] = 0x90;
- Data[3] = 0xc1;
- Data[4] = (win_no << 2) + 3;
- Data[5] = 0;
- RTDWrite(Data);
- Data[0] = 6;
- Data[1] = 1;
- Data[2] = 0x92;
- Data[3] = 0x00;
- Data[4] = (unsigned char)((gray_level & 0x07) << 4) |( color & 0x0f);
- Data[5] = attr;
- Data[6] = 0;
- RTDWrite(Data);
-
- }
-
-
-
-
- void OSD_Fact_Line(unsigned char row, unsigned char col, unsigned char length,
- unsigned char value, unsigned char indicate)
- {
- unsigned int idata usStart_Addr;
- unsigned char idata ucTemp;
-
- usStart_Addr = 19;
-
-
- for(ucTemp = 1; ucTemp < row+1; ucTemp ++)
- usStart_Addr += FactRow_Info[0][ucTemp];
-
- Data[0] = 5;
- Data[1] = 0;
- Data[2] = 0x90;
-
- if( (col+1) > FactRow_Info[0][row + 1])
- return;
- else if((col + 1 + length) > FactRow_Info[0][row + 1])
- length = FactRow_Info[0][row + 1] - col;
-
-
- Data[3] = (unsigned char)( ((usStart_Addr + col) & 0x0fff) >> 8 ) | (((indicate << 2) + 1) << 4);
- Data[4] = (unsigned char)((usStart_Addr + col) & 0x00ff);
- Data[5] = 0;
- RTDWrite(Data);
-
- Data[0] = (indicate == 3) ? length * 3 + 3 : length + 3;
- Data[1] = 2;
- Data[2] = 0x92;
- Data[3] = value;
- Data[4] = 0;
- RTDWrite(Data);
-
- }
-
- void OSD_Fact_Clear(unsigned char row_start, unsigned char height, unsigned char col_start, unsigned char width)
- {
- width = width;
- if (height)
- {
- do
- {
- OSD_Fact_Line(row_start, col_start, FactRow_Info[0][row_start+1], 0x00, 3);
-
- row_start++;
- }
- while (--height);
- }
- }
-
- void ShowValue(unsigned char row, unsigned char col,unsigned char value, unsigned char color)
- {
- unsigned int idata usStart_Addr;
- unsigned char idata ucTemp;
-
- usStart_Addr = 19;
-
-
- for(ucTemp = 1; ucTemp < row+1; ucTemp ++)
- usStart_Addr += FactRow_Info[0][ucTemp];
-
- Data[10] = value/100;
- Data[11] = (value - (Data[10]*100))/10;
- Data[12] = value - (Data[10]*100) - (Data[11]*10);
- if(0 != Data[10])
- {
- Data[10] += 0x01;
- Data[11] += 0x01;
- }
- else
- {
- if(0 != Data[11]) Data[11] += 0x01;
- }
- Data[12] += 0x01;
-
- Data[0] = 5;
- Data[1] = 0;
- Data[2] = 0x90;
- Data[3] = (unsigned char)( ((usStart_Addr + col) & 0x0fff) >> 8 ) | 0x50;
- Data[4] = (unsigned char)((usStart_Addr + col) & 0x00ff);
- Data[5] = 0;
- RTDWrite(Data);
- Data[0] = 6;
- Data[1] = 1;
- Data[2] = 0x92;
- Data[3] = Data[10];
- Data[4] = Data[11];
- Data[5] = Data[12];
- Data[6] = 0;
- RTDWrite(Data);
-
- Data[0] = 5;
- Data[1] = 0;
- Data[2] = 0x90;
- Data[3] = (unsigned char)( ((usStart_Addr + col) & 0x0fff) >> 8 ) | 0x90;
- Data[4] = (unsigned char)((usStart_Addr + col) & 0x00ff);
- Data[5] = 0;
- RTDWrite(Data);
- Data[0] = 6;
- Data[1] = 1;
- Data[2] = 0x92;
- Data[3] = color;
- Data[4] = color;
- Data[5] = color;
- Data[6] = 0;
- RTDWrite(Data);
- }
-
- void Value_Adjust(unsigned char *Var, unsigned char Key, unsigned char VMax, unsigned char VMin)
- {
- if(0x04 == Key)
- {
- if(bKeyTurbo)
- *Var = (*Var < (VMax - 1)) ? (*Var + 2) : VMax;
- else
- *Var = (*Var < VMax) ? (*Var + 1) : VMax;
- }
- else
- {
- if(bKeyTurbo)
- *Var = (*Var > (VMin + 1)) ? *Var - 2 : VMin;
- else
- *Var = (*Var > VMin) ? (*Var - 1) : VMin;
- }
- }
-
- void SPREAD_Adjust(unsigned char* variable,unsigned char Key)
- {
- if (0x04 == Key)
- {
- if (15 <= *variable)
- return;
-
- if (!bKeyTurbo)
- *variable = 15 > *variable ? *variable + 1 : 15;
- else
- *variable = 14 > *variable ? *variable + 2 : 15;
- }
- else
- {
- if (0 == *variable)
- return;
-
- if (!bKeyTurbo)
- *variable = 0 < *variable ? *variable - 1 : 0;
- else
- *variable = 1 < *variable ? *variable - 2 : 0;
- }
- }
-
-
-
-
-
- void Get_OSD_Margin(void)
- {
- unsigned char ucH_Min, ucH_Max, ucV_Max;
-
-
- #line 340 "CodeLcd_osd.c" /1
-
-
-
-
-
-
-
- #line 347 "CodeLcd_osd.c" /0
- RTDRead(0x29, 0x02, 0);
- Data[2] = Data[1] & 0x07;
- Data[3] = Data[0];
-
-
- ucH_Max = ((((unsigned int *)Data)[1] - 512) / 4) + 1;
- ucH_Min = (((0x0520 - (0x0520 - 0x0020)) / 4) + 1);
-
-
- RTDRead(0x34, 0x02, 0);
- Data[2] = Data[1] & 0x07;
- Data[3] = Data[0];
-
- ucV_Max = (((unsigned int *)Data)[1] - 0x000c - 250 - 14) / 4;
-
- Data[0] = ucH_Min;
- Data[1] = ucH_Max;
- Data[2] = 3;
- Data[3] = ucV_Max;
-
- }
-
-
-
-
-
-
-
-
-
- void OSD_Position(unsigned char para)
- {
- Get_OSD_Margin();
-
- if (Data[0] > stGUD1.OSD_POSH || Data[1] < stGUD1.OSD_POSH ||
- Data[2] > stGUD1.OSD_POSV || Data[3] < stGUD1.OSD_POSV)
- {
- stGUD1.OSD_POSV = ((3 + (((0x040c - 0x000c) - 250 - 14) / 4)) / 2);
- stGUD1.OSD_POSH = (((((0x0520 - 544) / 4) + 1) + (((0x0520 - (0x0520 - 0x0020)) / 4) + 1)) / 2);
- Save_GUD1();
- }
-
- if(ucOSD_Page_Index == 15)
- {
- stGUD1.OSD_POSH = 230;
- stGUD1.OSD_POSV = 100;
- }
-
- Wait_For_Event(0x20);
-
- Data[0] = 5;
- Data[1] = 0;
- Data[2] = 0x90;
- Data[3] = 0xc0;
- Data[4] = 0x00;
- Data[5] = 6;
- Data[6] = 1;
- Data[7] = 0x92;
- Data[8] = stGUD1.OSD_POSV >> 1;
- Data[9] = (unsigned char)(stGUD1.OSD_POSH >> 2);
- Data[10] = ((unsigned char)(stGUD1.OSD_POSH & 0x0003) << 6) | ((stGUD1.OSD_POSV & 0x01) << 5) | para;
-
- Data[11] = 0;
- RTDWrite(Data);
-
- }
-
- void OSD_Line(unsigned char row, unsigned char col, unsigned char length,
- unsigned char value, unsigned char indicate)
- {
- unsigned int idata usStart_Addr;
- unsigned char idata ucTemp;
-
- usStart_Addr = 19;
-
-
- for(ucTemp = 1; ucTemp < row+1; ucTemp ++)
- usStart_Addr += Row_Info[0][ucTemp];
-
- Data[0] = 5;
- Data[1] = 0;
- Data[2] = 0x90;
-
- if( (col+1) > Row_Info[0][row + 1])
- return;
- else if((col + 1 + length) > Row_Info[0][row + 1])
- length = Row_Info[0][row + 1] - col;
-
-
- Data[3] = (unsigned char)( ((usStart_Addr + col) & 0x0fff) >> 8 ) | (((indicate << 2) + 1) << 4);
- Data[4] = (unsigned char)((usStart_Addr + col) & 0x00ff);
- Data[5] = 0;
- RTDWrite(Data);
-
- Data[0] = (indicate == 3) ? length * 3 + 3 : length + 3;
- Data[1] = 2;
- Data[2] = 0x92;
- Data[3] = value;
- Data[4] = 0;
- RTDWrite(Data);
-
- }
-
-
- void OSD_Slider(unsigned char row, unsigned char col, unsigned char length, unsigned char value, unsigned char range,
- unsigned char color, unsigned char color_slider)
- {
- unsigned int idata usStart_Addr;
- unsigned char idata ucTemp;
- unsigned int bound;
-
- usStart_Addr = 19;
-
- for(ucTemp = 1; ucTemp < row+1; ucTemp ++)
- usStart_Addr += Row_Info[0][ucTemp];
-
- length = length -5;
- bound = ((length-2)*6 + 2*3) * value;
-
-
- Data[0] = 6;
- Data[1] = 0;
- Data[2] = 0x90;
- Data[3] = (unsigned char)((((usStart_Addr + col) >>8 ) & 0x0f ) | 0x90);
- Data[4] = (unsigned char)( (usStart_Addr + col) & 0x00ff);
- Data[5] = (color << 4) & 0xf0;
- Data[6] = 0;
- RTDWrite(Data);
-
- Data[0] = 5;
- Data[1] = 1;
- Data[2] = 0x92;
- Data[3] = (color << 4) & 0xf0;
- Data[4] = (color << 4) & 0xf0;
- Data[5] = 0;
- RTDWrite(Data);
-
- OSD_Line(row,col+5,12,((color_slider<<4) & 0xf0),2);
- Data[0] = 6;
- Data[1] = 0;
- Data[2] = 0x90;
-
- Data[6] = 0;
-
- for (row = 0; row < length; row++)
- {
- Data[3] = (unsigned char)((((usStart_Addr + col + row + 5) >> 8 ) & 0x0f ) | 0x50);
- Data[4] = (unsigned char)( (usStart_Addr + col + row + 5) & 0x00ff);
-
- if( row == 0 || row == (length-1) )
- {
- if( bound )
- {
- if( bound >= (range*3) )
- {
- Data[5] = (row==0) ? 0x13 : 0x1e;
- bound = bound - range*3;
- }
- else
- {
- color = (bound << 4) / (range*3);
- bound = 0;
-
- if (4 > color)
- Data[5] = (row==0) ? 0x10 : 0x1b;
- else if (8 > color)
- Data[5] = (row==0) ? 0x11 : 0x1c;
- else if (12 > color)
- Data[5] = (row==0) ? 0x12 : 0x1d;
- else
- Data[5] = (row==0) ? 0x13 : 0x1e;
- }
- }
- else
- {
- Data[5] = (row==0) ? 0x10 : 0x1b;
- }
- }
- else
- {
- if( bound )
- {
- if( bound >= (range*6) )
- {
- Data[5] = 0x1a;
- bound = bound - range*6;
- }
- else
- {
- color = (bound << 4) / (range*6);
- bound = 0;
-
- if (1 > color)
- Data[5] = 0x14;
- else if (4 > color)
- Data[5] = 0x15;
- else if (6 > color)
- Data[5] = 0x16;
- else if (9 > color)
- Data[5] = 0x17;
- else if (11 > color)
- Data[5] = 0x18;
- else if (14 > color)
- Data[5] = 0x19;
- else
- Data[5] = 0x1a;
- }
- }
- else
- {
- Data[5] = 0x14;
- }
-
- }
-
- RTDWrite(Data);
-
- }
-
- range = value / 10;
- row = value - (range * 10);
- color = range / 10;
- range = range - (color * 10);
-
- row = row + 0x01;
- range = (range || color) ? range + 0x01 : 0x00;
- color = color ? color + 0x01 : 0x00;
-
- Data[0] = 5;
- Data[1] = 0;
- Data[2] = 0x90;
- Data[3] = (unsigned char)((((usStart_Addr + col) >>8 ) & 0x0f ) | 0x50);
- Data[4] = (unsigned char)( (usStart_Addr + col ) & 0x00ff);
- Data[5] = 0;
- RTDWrite(Data);
-
- Data[0] = 6;
- Data[1] = 1;
- Data[2] = 0x92;
- Data[3] = color;
- Data[4] = range;
- Data[5] = row;
- Data[6] = 0;
- RTDWrite(Data);
-
- }
-
-
- void Init_Page(unsigned char index)
- {
- index = index;
- OSD_Position(0x01);
- OSD_Clear(5, 11, 15, 1);
- if( ucOSD_Page_Index == 1)
- RTDOSDW(OSD_Window_Setting);
- }
-
- void Show_Osd_Page(unsigned char Page_Num,unsigned char* Page_Attr,unsigned char OSD_Table_Num)
- {
- Init_Page(Page_Num);
- RTDOSDW(Page_All_Atb);
- RTDOSDW(OSD_PAGE_All_TABLE[0][stGUD1.FUNCTION & 0x07]);
- RTDOSDW(Page_Attr);
- RTDOSDW(OSD_PAGE_TABLE[OSD_Table_Num][stGUD1.FUNCTION & 0x07]);
- Show_Mode();
- }
-
- void OSD_Clear(unsigned char row_start, unsigned char height, unsigned char col_start, unsigned char width)
- {
- width = width;
- if (height)
- {
- do
- {
- OSD_Line(row_start, col_start, Row_Info[0][row_start+1], 0x00, 3);
-
- row_start++;
- }
- while (--height);
- }
- }
-
- void Bright_Contrast_Adjust(unsigned char* variable,unsigned char Key)
- {
-
- if (0x04 == Key)
- {
- if (100 <= *variable)
- return;
-
- if (15 > ucKey_Issued)
- *variable = 100 > *variable ? *variable + 1 : 100;
- else
- *variable = 99 > *variable ? *variable + 2 : 100;
- }
- else
- {
- if (0 == *variable)
- return;
-
- if (15 > ucKey_Issued)
- *variable = 0 < *variable ? *variable - 1 : 0;
- else
- *variable = 1 < *variable ? *variable - 2 : 0;
- }
- }
-
- void Osd_Change_Item(unsigned char Pess_Key,unsigned char Item_Num)
- {
- if (ucOSD_Item_Index0)
- {
-
-
-
- if (0x03 == Pess_Key)
- ucOSD_Item_Index0 = (Item_Num == ucOSD_Item_Index0) ? 1 : (ucOSD_Item_Index0 + 1);
- else
- ucOSD_Item_Index0 = (1 == ucOSD_Item_Index0) ? Item_Num : (ucOSD_Item_Index0 - 1);
-
-
- OSD_Window( 6, 150, 282, (54 + (ucOSD_Item_Index0-1)*(29+4)), (84 + (ucOSD_Item_Index0-1)*(29+4))
- , 1, 1, 14, 251, 0, 1, 25);
- }
- else
- {
-
-
-
- if (0x03 == Pess_Key)
- ucOSD_Page_Index = GetNextPageIdx(ucOSD_Page_Index);
- else
- ucOSD_Page_Index = GetPrevPageIdx(ucOSD_Page_Index);
- }
- }
-
- void Show_Mode(void)
- {
- unsigned int idata usStart_Addr;
- unsigned char idata ucTemp;
-
- OSD_Line(3, 12, 15, 0, 1);
- usStart_Addr = 19;
-
-
- for(ucTemp = 1; ucTemp < 3+1; ucTemp ++)
- usStart_Addr += Row_Info[0][ucTemp];
-
- Data[0] = 5;
- Data[1] = 0;
- Data[2] = 0x90;
- Data[3] = (unsigned char)( (((usStart_Addr + 12) & 0x0fff) >> 8 ) | 0x50);
- Data[4] = (unsigned char)( (usStart_Addr + 12) & 0x00ff);
- Data[5] = 0;
- RTDWrite(Data);
-
-
-
- switch (ucMode_Curr)
- {
-
- default :
-
-
- {
- unsigned int usHwid;
- unsigned char ucTemp;
-
- usHwid = usIPH_ACT_WID;
-
- if (0 == (stGUD1.INPUT_SOURCE & 0x07))
- {
- if (46 == ucMode_Curr)
- {
- usHwid = 1600;
- }
- else
- {
- if (46 > ucMode_Curr)
- {
- if (39 <= ucMode_Curr)
- usHwid = 1280;
- else if (35 <= ucMode_Curr)
- usHwid = 1152;
- }
- else
- {
- if (59 == ucMode_Curr)
- usHwid = 1600;
- else if (57 <= ucMode_Curr)
- usHwid = 1280;
- else if (55 <= ucMode_Curr)
- usHwid = 1152;
- }
- }
-
- if ((8 == ucMode_Curr)||(9 == ucMode_Curr))
- {
- if(stGUD1.FUNCTION & 0x10)
- usHwid = 640;
- else
- usHwid = 720;
- }
- }
-
-
-
- Data[0] = 12;
- Data[1] = 1;
- Data[2] = 0x92;
-
- ucTemp = usHwid / 100;
-
- if (10 <= ucTemp)
- {
- Data[3] = 0x02;
- Data[4] = ucTemp - 10 + 0x01;
- }
- else
- {
- Data[3] = 0;
- Data[4] = ucTemp + 0x01;
- }
-
- ucTemp = usHwid - ((unsigned int)100 * ucTemp);
-
- Data[5] = ucTemp / 10;
-
- Data[6] = ucTemp - (10 * Data[5]) + 0x01;
- Data[5] = Data[5] + 0x01;
- Data[7] = 0x0e;
-
- ucTemp = usIPV_ACT_LEN / 100;
- Data[12] = usIPV_ACT_LEN - ((unsigned int)100 * ucTemp);
-
- if (10 <= ucTemp)
- {
- Data[0] = 13;
- Data[8] = 0x02;
- Data[9] = ucTemp - 10 + 0x01;
- Data[10] = Data[12] / 10;
- Data[11] = Data[12] - (10 * Data[10]) + 0x01;
- Data[10] = Data[10] + 0x01;
- Data[12] = 0x00;
- Data[13] = 0;
- }
- else
- {
- Data[8] = ucTemp + 0x01;
- Data[9] = Data[12] / 10;
- Data[10] = Data[12] - (10 * Data[9]) + 0x01;
- Data[9] = Data[9] + 0x01;
- Data[11] = 0x00;
- Data[12] = 0;
- }
-
- Data[12] = 0;
- RTDWrite(Data);
-
-
-
-
- Data[0] = 7;
- Data[1] = 1;
- Data[2] = 0x92;
- Data[3] = ucRefresh / 10;
- Data[4] = ucRefresh - (Data[3] * 10) + 0x01;
- Data[3] = Data[3] + 0x01;
- Data[5] = 0x27;
- Data[6] = 0x59;
- Data[7] = 0;
- RTDWrite(Data);
- if (10 <= ucTemp)
- OSD_Line( 3, 21, 1, 0x8c, 0);
- else
- OSD_Line( 3, 20, 1, 0x8c, 0);
- }
-
- break;
-
- }
- }
-
-
-
-
- void FACTORY_Key_Key(void)
- {
- ucOSD_Page_Index = 15;
- ucOSD_Item_Index0 = 1;
- }
-
-
-
- void Page0_Left_Right_Key(unsigned char Key)
- {
-
-
-
-
-
- if (!b_rgb_VOLUME_STATUS)
- {
- OSD_Position(0x01);
- RTDOSDW(rgb_OSD_VOLUME);
- RTDOSDW(strTabVOLUME_Atb[stGUD1.FUNCTION & 0x07]);
- RTDSetBit(0x6D, 0xfe, 0x01);
- b_rgb_VOLUME_STATUS = 1;
- }
-
- if(0x04 == Key)
- {
- if (stGUD3.VOLUME > 0x00) stGUD3.VOLUME--;
- SetVolume();
- Save_GUD3();
- rgb_OSD_Slider(0, 7, 24, 0x1f - stGUD3.VOLUME, 0x1f, 4, 14);
- }
-
- else if(0x03 == Key)
- {
- if (stGUD3.VOLUME < 0x1f) stGUD3.VOLUME++;
- SetVolume();
- Save_GUD3();
- rgb_OSD_Slider(0, 7, 24, 0x1f - stGUD3.VOLUME, 0x1f, 4, 14);
- }
-
-
- }
-
- void Page0_Enter_Key(void)
- {
- if((stGUD3.TV_SETTING & 0x08) == 0x08 )
- {
-
- ucOSD_Page_Index = 15;
- ucOSD_Item_Index0 = 1;
- ucOSD_Item_Index1 = 0;
- ucOSD_Item_Index2 = 0;
- }
- else
- {
-
- ucOSD_Page_Index = 1;
- ucOSD_Item_Index0 = 0;
- ucOSD_Item_Index1 = 0;
- ucOSD_Item_Index2 = 0;
- b_rgb_VOLUME_STATUS = 0;
- }
- }
-
- void Page0_LR_Key(void)
- {
-
- if (0 == (stGUD1.INPUT_SOURCE & 0x07))
- {
- ucOSD_Page_Index = 8;
- ucOSD_Item_Index0 = 1;
- ucOSD_Item_Index1 = 0;
- ucOSD_Item_Index2 = 0;
- }
- }
-
- void Page1_Enter_Key(void)
- {
- if (0 == ucOSD_Item_Index0)
- {
- if (0 != ucMode_Curr && 255 != ucMode_Curr)
- {
-
- ucOSD_Item_Index0 = 1;
- ucOSD_Item_Index1 = 0;
-
-
-
-
- OSD_Window( 6, 150, 282, 54, 84, 1, 1, 14, 251, 0, 1, 25);
- }
- }
- else
- {
- if (ucOSD_Item_Index1)
- {
-
- switch (ucOSD_Item_Index0)
- {
- case 5 :
- if (ucOSD_Item_Index1 == 1 )
- {
- if (0xfc == Auto_Balance())
- {
- ucMode_Curr = 254;
- return ;
- }
- }
- OSD_Line( 13, 36 + (ucOSD_Item_Index1-1)*(6+1), 4, 0x40, 2);
- break;
-
- case 1 :
-
- OSD_Slider(5, 31, 17, stGUD0.CONTRAST, 100, 4, 14);
- break;
-
- case 2 :
-
- OSD_Slider(7, 31, 17, stGUD0.BRIGHT, 100, 4, 14);
- break;
-
- case 7 :
-
- OSD_Line( 11, 36 + (ucOSD_Item_Index1-1)*(4+1), 4, 0x40, 2);
- break;
-
- case 3 :
-
- OSD_Line( 9, 36 + (ucOSD_Item_Index1-1)*(2+1), 1, 0x40, 2);
- break;
- }
-
- ucOSD_Item_Index1 = 0;
-
- }
- else
- {
- if (6 == ucOSD_Item_Index0)
- {
-
- OSD_Window( 6, 150, 282, (54 + (ucOSD_Item_Index0-1)*(29+4)), (84 + (ucOSD_Item_Index0-1)*(29+4))
- , 0, 0, 14, 251, 0, 1, 0);
-
- ucOSD_Item_Index0 = 0;
- ucOSD_Item_Index1 = 0;
- }
- else if (0 != ucMode_Curr && 255 != ucMode_Curr)
- {
- switch (ucOSD_Item_Index0)
- {
- case 5 :
- ucOSD_Item_Index1 = 2;
- OSD_Line( 13, 36 + (ucOSD_Item_Index1-1)*(6+1), 4, 0x20, 2);
- break;
-
- case 1 :
- ucOSD_Item_Index1 = 1;
-
-
- OSD_Slider(5, 31, 17, stGUD0.CONTRAST, 100, 2, 14);
- break;
-
- case 2 :
- ucOSD_Item_Index1 = 1;
-
-
- OSD_Slider(7, 31, 17, stGUD0.BRIGHT, 100, 2, 14);
- break;
-
- case 7 :
- ucOSD_Item_Index1 = ((stGUD1.INPUT_SOURCE & 0x18) >> 3) + 1;
-
-
- OSD_Line( 11, 36 + (ucOSD_Item_Index1-1)*(4+1), 4, 0x20, 2);
- break;
-
- case 3 :
- ucOSD_Item_Index1 = ((stGUD1.FUNCTION >> 5) & 0x03) + 1;
-
-
- OSD_Line( 9, 36 + (ucOSD_Item_Index1-1)*(2+1), 1, 0x20, 2);
- break;
-
- case 4 :
- OSD_Window( 6, 150, 282, (54 + (ucOSD_Item_Index0-1)*(29+4)), (84 + (ucOSD_Item_Index0-1)*(29+4))
- , 0, 0, 14, 251, 0, 1, 0);
- ucOSD_Item_Index1 = 1;
- ucOSD_Item_Index2 = 0;
- OSD_Proc_B(0x83);
- break;
- }
- }
- }
- }
- }
-
- void Page1_Left_Right_Key(unsigned char Key)
- {
- if (ucOSD_Item_Index1)
- {
- switch (ucOSD_Item_Index0)
- {
- case 5 :
-
- ucOSD_Item_Index1 = (0x03 == Key) ? 1 : 2;
- OSD_Line( 13, 36, 14, 0x40, 2);
- OSD_Line( 13, 36 + (ucOSD_Item_Index1-1)*(6+1), 4, 0x20, 2);
- break;
-
- case 1 :
- Bright_Contrast_Adjust(&stGUD0.CONTRAST,Key);
-
- OSD_Slider(5, 31, 17, stGUD0.CONTRAST, 100, 2, 14);
-
-
- if((stGUD1.INPUT_SOURCE & 0x07) == 0)
- SetADC_Gain();
- else
- Set_Bright_Contrast();
-
- #line 1101 "CodeLcd_osd.c" /1
-
-
- #line 1103 "CodeLcd_osd.c" /0
-
- Save_GUD0();
- break;
-
- case 2 :
- Bright_Contrast_Adjust(&stGUD0.BRIGHT,Key);
-
- OSD_Slider(7, 31, 17, stGUD0.BRIGHT, 100, 2, 14);
- Set_Bright_Contrast();
- Save_GUD0();
- break;
-
- case 7:
-
- if(0x04 == Key)
- ucOSD_Item_Index1 = (ucOSD_Item_Index1 == 4) ? 4 : ucOSD_Item_Index1 + 1;
- else
- ucOSD_Item_Index1 = (ucOSD_Item_Index1 == 1) ? 1 : ucOSD_Item_Index1 - 1;
-
- stGUD1.INPUT_SOURCE = (stGUD1.INPUT_SOURCE & 0xe7 ) | ((ucOSD_Item_Index1 - 1) << 3);
-
-
- OSD_Line( 11, 36, 20, 0x40, 2);
- OSD_Line( 11, 36 + (ucOSD_Item_Index1-1)*(4+1), 4, 0x20, 2);
-
- Set_Bright_Contrast();
- Save_GUD1();
- break;
-
- case 3 :
-
- if (0x04 == Key)
- {
- if (4 <= ucOSD_Item_Index1)
- break;
-
- ucOSD_Item_Index1 = ucOSD_Item_Index1 + 1;
- }
- else
- {
- if (1 >= ucOSD_Item_Index1)
- break;
-
- ucOSD_Item_Index1 = ucOSD_Item_Index1 - 1;
- }
-
- stGUD1.FUNCTION = (stGUD1.FUNCTION & 0x9f) | ((ucOSD_Item_Index1 - 1) << 5);
-
- OSD_Line( 9, 36, 14, 0x40, 2);
- OSD_Line( 9, 36 + (ucOSD_Item_Index1-1)*(2+1), 1, 0x20, 2);
-
- Set_Gamma();
- Save_GUD1();
- break;
-
- }
- }
- else
- {
- Osd_Change_Item(Key,6);
-
- }
- }
-
- void Page1_Show(void)
- {
- Show_Osd_Page(0,Page1_Atb,0);
-
-
- OSD_Window( 5, 10, 136, 54, 84, 1, 1, 14, 251, 0, 1, 25);
-
- if (0 == ucMode_Curr || 255 == ucMode_Curr)
- {
-
-
- }
-
- OSD_Slider(5, 31, 17, stGUD0.CONTRAST, 100, 4, 14);
- OSD_Slider(7, 31, 17, stGUD0.BRIGHT, 100, 4, 14);
-
- switch (ucOSD_Item_Index0)
- {
- case 1 :
- break;
-
- case 2 :
- break;
-
- case 3 :
- break;
-
- case 4 :
- OSD_Window( 6, 150, 282, (54 + (ucOSD_Item_Index0-1)*(29+4)), (84 + (ucOSD_Item_Index0-1)*(29+4))
- , 1, 1, 14, 251, 0, 1, 25);
- break;
- }
- }
-
- void Page1B_Enter_Key(void)
- {
- ucOSD_Page_Index = 7;
- if (4 == ucOSD_Item_Index1)
- {
-
- OSD_Window( 6, 150, 282, (54 + (ucOSD_Item_Index0-1)*(29+4)), (84 + (ucOSD_Item_Index0-1)*(29+4))
- , 0, 0, 14, 251, 0, 1, 0);
- ucOSD_Item_Index1 = 0;
- ucOSD_Item_Index2 = 0;
- }
- else
- {
- if (ucOSD_Item_Index2)
- {
- ucOSD_Item_Index2 = 0;
- switch (ucOSD_Item_Index1)
- {
- case 1 :
- OSD_Slider(5, 31, 17, stGUD0.RTD_R_CONTRAST, 100, 4, 2);
- break;
-
- case 2 :
- OSD_Slider(7, 31, 17, stGUD0.RTD_G_CONTRAST, 100, 4, 12);
- break;
-
- case 3 :
- OSD_Slider(9, 31, 17, stGUD0.RTD_B_CONTRAST, 100, 4, 3);
- break;
- }
- }
- else if (0 != ucMode_Curr && 255 != ucMode_Curr)
- {
- ucOSD_Item_Index2 = 1;
-
-
- switch (ucOSD_Item_Index1)
- {
- case 1 :
- OSD_Slider(5, 31, 17, stGUD0.RTD_R_CONTRAST, 100, 2, 2);
- break;
-
- case 2 :
- OSD_Slider(7, 31, 17, stGUD0.RTD_G_CONTRAST, 100, 12, 12);
- break;
-
- case 3 :
- OSD_Slider(9, 31, 17, stGUD0.RTD_B_CONTRAST, 100, 3, 3);
- break;
- }
- }
- }
- ucOSD_Page_Index = 1;
- }
-
- void Page1B_Left_Right_Key(unsigned char Key)
- {
- ucOSD_Page_Index = 7;
- if (ucOSD_Item_Index2)
- {
- switch (ucOSD_Item_Index1)
- {
- case 1 :
- Bright_Contrast_Adjust(&stGUD0.RTD_R_CONTRAST,Key);
-
- OSD_Slider(5, 31, 17, stGUD0.RTD_R_CONTRAST, 100, 2, 2);
- break;
-
- case 2 :
- Bright_Contrast_Adjust(&stGUD0.RTD_G_CONTRAST,Key);
-
- OSD_Slider(7, 31, 17, stGUD0.RTD_G_CONTRAST, 100, 12, 12);
- break;
-
- case 3 :
- Bright_Contrast_Adjust(&stGUD0.RTD_B_CONTRAST,Key);
-
- OSD_Slider(9, 31, 17, stGUD0.RTD_B_CONTRAST, 100, 3, 3);
- break;
- }
-
- Set_Bright_Contrast();
- Save_GUD0();
-
- }
- else
- {
-
- if (0x03 == Key)
- ucOSD_Item_Index1 = (4 == ucOSD_Item_Index1) ? 1 : (ucOSD_Item_Index1 + 1);
- else
- ucOSD_Item_Index1 = (1 == ucOSD_Item_Index1) ? 4 : (ucOSD_Item_Index1 - 1);
-
- OSD_Window( 6, 150, 282, (54 + (ucOSD_Item_Index1-1)*(29+4)), (84 + (ucOSD_Item_Index1-1)*(29+4))
- , 1, 1, 14, 251, 0, 1, 25);
- }
- ucOSD_Page_Index = 1;
- }
-
- void Page1B_Show(void)
- {
- Show_Osd_Page(0,Page7_Atb,6);
-
-
- OSD_Window( 6, 150, 282, 54, 84, 1, 1, 14, 251, 0, 1, 25);
-
- if (0 == ucMode_Curr || 255 == ucMode_Curr)
- ucOSD_Item_Index2 = 0;
-
- if (0 == ucOSD_Item_Index2)
- {
- ucOSD_Page_Index = 7;
- OSD_Slider(5, 31, 17, stGUD0.RTD_R_CONTRAST, 100, 4, 2);
- OSD_Slider(7, 31, 17, stGUD0.RTD_G_CONTRAST, 100, 4, 12);
- OSD_Slider(9, 31, 17, stGUD0.RTD_B_CONTRAST, 100, 4, 3);
- ucOSD_Page_Index = 1;
- }
- else
- {
-
-
- }
- }
-
- void Page2_Enter_Key()
- {
- if (0 == ucOSD_Item_Index0)
- {
- if (0 != ucMode_Curr && 255 != ucMode_Curr)
- {
-
- ucOSD_Item_Index0 = 1;
- ucOSD_Item_Index1 = 0;
-
-
- OSD_Window( 6, 150, 282, 54, 84, 1, 1, 14, 251, 0, 1, 25);
- }
- }
- else
- {
- if (ucOSD_Item_Index1)
- {
- switch (ucOSD_Item_Index0)
- {
- case 1 :
- OSD_Slider(5, 31, 17, ucH_Max_Margin - stMUD.H_POSITION, ucH_Max_Margin - ucH_Min_Margin, 4, 14);
- break;
-
- case 2 :
- OSD_Slider(7, 31, 17, (unsigned int)(stMUD.V_POSITION - ucV_Min_Margin) * 50 / (128 - ucV_Min_Margin), 100, 4, 14);
- break;
-
- case 4 :
-
- #line 1361 "CodeLcd_osd.c" /1
-
-
- #line 1363 "CodeLcd_osd.c" /0
- OSD_Slider(11, 31, 17, (stMUD.PHASE & 0x7c) >> 2, 31, 4, 14);
-
- break;
-
- case 5 :
-
-
- OSD_Slider(13, 31, 17, stMUD.CLOCK - 78, 100, 4, 14);
-
- #line 1372 "CodeLcd_osd.c" /1
-
-
- #line 1374 "CodeLcd_osd.c" /0
- break;
-
- case 3 :
- OSD_Line( 9, 36 + (ucOSD_Item_Index1-1)*(2+1), 1, 0x40, 2);
- break;
-
- }
-
- ucOSD_Item_Index1 = 0;
-
- }
- else
- {
- if (6 == ucOSD_Item_Index0)
- {
-
- OSD_Window( 6, 150, 282, (54 + (ucOSD_Item_Index0-1)*(29+4)), (84 + (ucOSD_Item_Index0-1)*(29+4))
- , 0, 0, 14, 251, 0, 1, 0);
-
- ucOSD_Item_Index0 = 0;
- ucOSD_Item_Index1 = 0;
- }
- else if (0 != ucMode_Curr && 255 != ucMode_Curr)
- {
- if (0 == (stGUD1.INPUT_SOURCE & 0x07) || 3 == ucOSD_Item_Index0)
- {
- switch (ucOSD_Item_Index0)
- {
- case 1 :
- ucOSD_Item_Index1 = 1;
- OSD_Slider(5, 31, 17, ucH_Max_Margin - stMUD.H_POSITION, ucH_Max_Margin - ucH_Min_Margin, 2, 14);
- break;
-
- case 2 :
- ucOSD_Item_Index1 = 1;
- OSD_Slider(7, 31, 17, (unsigned int)(stMUD.V_POSITION - ucV_Min_Margin) * 50 / (128 - ucV_Min_Margin), 100, 2, 14);
- break;
-
- case 4 :
- ucOSD_Item_Index1 = 1;
-
- #line 1415 "CodeLcd_osd.c" /1
-
-
- #line 1417 "CodeLcd_osd.c" /0
- OSD_Slider(11, 31, 17, (stMUD.PHASE & 0x7c) >> 2, 31, 2, 14);
-
- break;
-
- case 5 :
- ucOSD_Item_Index1 = 1;
-
- OSD_Slider(13, 31, 17, stMUD.CLOCK - 78, 100, 2, 14);
-
- #line 1426 "CodeLcd_osd.c" /1
-
-
- #line 1428 "CodeLcd_osd.c" /0
- break;
-
- case 3 :
- ucOSD_Item_Index1 = stGUD1.FILTER + 1;
- OSD_Line( 9, 36 + (ucOSD_Item_Index1-1)*(2+1), 1, 0x20, 2);
- break;
-
- }
- }
- }
- }
- }
- }
-
- void Page2_Left_Right_Key(unsigned char Key)
- {
- if (ucOSD_Item_Index1)
- {
- switch (ucOSD_Item_Index0)
- {
- case 1 :
-
- if (0x04 == Key)
- {
- if (ucH_Min_Margin >= stMUD.H_POSITION)
- break;
-
- if (15 > ucKey_Issued)
- stMUD.H_POSITION = stMUD.H_POSITION > ucH_Min_Margin ? stMUD.H_POSITION - 1 : ucH_Min_Margin;
- else
- stMUD.H_POSITION = stMUD.H_POSITION > (ucH_Min_Margin + 2) ? stMUD.H_POSITION - 3 : ucH_Min_Margin;
- }
- else
- {
- if (ucH_Max_Margin <= stMUD.H_POSITION)
- break;
-
- if (15 > ucKey_Issued)
- stMUD.H_POSITION = stMUD.H_POSITION < ucH_Max_Margin ? stMUD.H_POSITION + 1 : ucH_Max_Margin;
- else
- stMUD.H_POSITION = stMUD.H_POSITION < (ucH_Max_Margin - 2) ? stMUD.H_POSITION + 3 : ucH_Max_Margin;
- }
-
- OSD_Slider(5, 31, 17, ucH_Max_Margin - stMUD.H_POSITION, ucH_Max_Margin - ucH_Min_Margin, 2, 14);
- Set_H_Position();
- Set_Phase(stMUD.PHASE);
- Save_MUD(ucMode_Curr);
- break;
-
- case 2 :
-
- if (0x04 == Key)
- {
- if ((unsigned int)256 - ucV_Min_Margin <= stMUD.V_POSITION)
- break;
-
- stMUD.V_POSITION += 1;
- }
- else
- {
- if (ucV_Min_Margin >= stMUD.V_POSITION)
- break;
-
- stMUD.V_POSITION -= 1;
- }
-
- OSD_Slider(7, 31, 17, (unsigned int)(stMUD.V_POSITION - ucV_Min_Margin) * 50 / (128 - ucV_Min_Margin), 100, 2, 14);
- Set_V_Position();
- Save_MUD(ucMode_Curr);
- break;
-
- case 4 :
-
- #line 1501 "CodeLcd_osd.c" /1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #line 1519 "CodeLcd_osd.c" /0
- stMUD.PHASE &= 0x7c;
-
- if (0x04 == Key)
- {
- if (0x7c <= stMUD.PHASE)
- break;
-
- stMUD.PHASE += 4;
- }
- else
- {
- if (0x00 == stMUD.PHASE)
- break;
-
- stMUD.PHASE -= 4;
- }
-
- OSD_Slider(11, 31, 17, (stMUD.PHASE & 0x7c) >> 2, 31, 2, 14);
-
- Set_Phase(stMUD.PHASE);
- Save_MUD(ucMode_Curr);
- break;
-
- case 5 :
-
-
- if (0x04 == Key)
- {
- if (178 <= stMUD.CLOCK)
- break;
-
- if (15 > ucKey_Issued)
- stMUD.CLOCK = (177 >= stMUD.CLOCK) ? stMUD.CLOCK + 1 : 178;
- else
- stMUD.CLOCK = (176 >= stMUD.CLOCK) ? stMUD.CLOCK + 2 : 178;
-
- Set_Clock();
- Set_H_Position();
- }
- else
- {
- if (78 >= stMUD.CLOCK)
- break;
-
- if (15 > ucKey_Issued)
- stMUD.CLOCK = (79 <= stMUD.CLOCK) ? stMUD.CLOCK - 1 : 78;
- else
- stMUD.CLOCK = (80 <= stMUD.CLOCK) ? stMUD.CLOCK - 2 : 78;
-
- Set_H_Position();
- Set_Clock();
- }
-
- OSD_Slider(13, 31, 17, stMUD.CLOCK - 78, 100, 2, 14);
-
-
- #line 1575 "CodeLcd_osd.c" /1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #line 1605 "CodeLcd_osd.c" /0
- Save_MUD(ucMode_Curr);
- break;
-
- case 3 :
-
- if (0x04 == Key)
- {
- if (5 <= ucOSD_Item_Index1)
- break;
-
- ucOSD_Item_Index1 = ucOSD_Item_Index1 + 1;
- }
- else
- {
- if (1 >= ucOSD_Item_Index1)
- break;
-
- ucOSD_Item_Index1 = ucOSD_Item_Index1 - 1;
- }
-
- OSD_Line( 9, 36, 14, 0x40, 2);
- OSD_Line( 9, 36 + (ucOSD_Item_Index1-1)*(2+1), 1, 0x20, 2);
-
- stGUD1.FILTER = ucOSD_Item_Index1 - 1;
- Sharpness();
-
- if((usIPH_ACT_WID == 1280) && (2 == 2) && (stGUD1.FILTER == 0x02))
- RTDSetBit(0x15, 0xff, 0x01);
- else if((usIPH_ACT_WID == 1280) && (2 == 2) && (stGUD1.FILTER != 0x02))
- RTDSetBit(0x15, 0xfe, 0x00);
-
- Save_GUD1();
- break;
-
-
- }
- }
- else
- {
- Osd_Change_Item(Key,6);
- }
- }
-
-
- void Page2_Show()
- {
- Show_Osd_Page(1,Page2_Atb,1);
-
-
- OSD_Window( 5, 10, 136, 87, 117, 1, 1, 14, 251, 0, 1, 25);
-
- if (0 == ucMode_Curr || 255 == ucMode_Curr)
- {
- ucOSD_Item_Index0 = 0;
- ucOSD_Item_Index1 = 0;
- }
-
- if (0 != (stGUD1.INPUT_SOURCE & 0x07) && 3 != ucOSD_Item_Index0)
- {
- ucOSD_Item_Index1 = 0;
- }
-
- if (0 == ucOSD_Item_Index1)
- {
- OSD_Slider(5, 31, 17, ucH_Max_Margin - stMUD.H_POSITION, ucH_Max_Margin - ucH_Min_Margin, 4, 14);
- OSD_Slider(7, 31, 17, (unsigned int)(stMUD.V_POSITION - ucV_Min_Margin) * 50 / (128 - ucV_Min_Margin), 100, 4, 14);
-
- #line 1672 "CodeLcd_osd.c" /1
-
-
- #line 1674 "CodeLcd_osd.c" /0
- OSD_Slider(11, 31, 17, (stMUD.PHASE & 0x7c) >> 2, 31, 4, 14);
-
-
-
- OSD_Slider(13, 31, 17, stMUD.CLOCK - 78, 100, 4, 14);
-
- #line 1680 "CodeLcd_osd.c" /1
-
-
- #line 1682 "CodeLcd_osd.c" /0
- }
- else
- {
- switch (ucOSD_Item_Index0)
- {
- case 1 :
- break;
-
- case 2 :
- break;
-
- case 4 :
- break;
-
- case 5 :
- break;
-
- case 3 :
- break;
- }
- }
- }
-
-
-
-
-
- void Page4_Enter_Key(void)
- {
- if (0 == ucOSD_Item_Index0)
- {
-
- ucOSD_Item_Index0 = 1;
- ucOSD_Item_Index1 = 0;
-
- OSD_Window( 6, 150, 282, 54, 84, 1, 1, 14, 251, 0, 1, 25);
- }
- else
- {
- switch (ucOSD_Item_Index0)
- {
- case 1 :
- ucOSD_Item_Index1 = (stGUD1.FUNCTION & 0x07) + 1;
- OSD_Proc_B(0x83);
- break;
-
- case 2 :
- if (ucOSD_Item_Index1)
- {
- ucOSD_Item_Index1 = 0;
- Get_OSD_Margin();
- OSD_Slider(7, 31, 17, stGUD1.OSD_POSH - Data[0], Data[1] - Data[0], 4, 14);
- }
- else
- {
- ucOSD_Item_Index1 = 1;
- Get_OSD_Margin();
- OSD_Slider(7, 31, 17, stGUD1.OSD_POSH - Data[0], Data[1] - Data[0], 2, 14);
- }
- break;
-
- case 3 :
- if (ucOSD_Item_Index1)
- {
- ucOSD_Item_Index1 = 0;
- Get_OSD_Margin();
- OSD_Slider(9, 31, 17, stGUD1.OSD_POSV - Data[2], Data[3] - Data[2], 4, 14);
- }
- else
- {
- ucOSD_Item_Index1 = 1;
- Get_OSD_Margin();
- OSD_Slider(9, 31, 17, stGUD1.OSD_POSV - Data[2], Data[3] - Data[2], 2, 14);
- }
- break;
-
- case 4 :
- if(ucOSD_Item_Index2)
- {
- ucOSD_Item_Index2 = 0;
- ucOSD_Item_Index1 = 0;
-
-
- OSD_Line( 11, 31, 3, 0x40, 2);
- OSD_Line( 11, 31, 3, 0x00, 1);
-
- OSD_Line( 11, 36, 12, 0x8a, 0);
- OSD_Line( 11, 36, 12, 0x00, 1);
- switch( stGUD1.FUNCTION & 0x07 )
- {
- case 5:
- OSD_Line( 11, 37, 1, 0x8c, 0);
- OSD_Line( 11, 37, 1, 0xb3, 1);
- OSD_Line( 11, 43, 1, 0x8c, 0);
- OSD_Line( 11, 43, 1, 0xc9, 1);
- break;
-
- case 6:
- OSD_Line( 11, 37, 1, 0x8c, 0);
- OSD_Line( 11, 37, 1, 0xdb, 1);
- OSD_Line( 11, 43, 1, 0x8c, 0);
- OSD_Line( 11, 43, 1, 0xe5, 1);
- break;
-
- case 7:
- OSD_Line( 11, 37, 1, 0x8c, 0);
- OSD_Line( 11, 37, 1, 0x9b, 1);
- OSD_Line( 11, 43, 1, 0x8c, 0);
- OSD_Line( 11, 43, 1, 0x9c, 1);
- break;
-
- default:
- OSD_Line( 11, 37, 1, 0x2e, 1);
- OSD_Line( 11, 38, 1, 0x2d, 1);
- OSD_Line( 11, 43, 1, 0x2e, 1);
- OSD_Line( 11, 44, 2, 0x25, 1);
- break;
-
- }
- OSD_Line( 11, 36, 12, 0x40, 2);
-
- OSD_Line( 11, 35, 1, 0x00, 1);
- OSD_Line( 11, 48, 1, 0x00, 1);
-
- OSD_Window( 6, 150, 282, (54 + (ucOSD_Item_Index0-1)*(29+4)), (84 + (ucOSD_Item_Index0-1)*(29+4))
- , 1, 1, 14, 251, 0, 1, 25);
-
- }
- else if (ucOSD_Item_Index1)
- {
- if(ucOSD_Item_Index1 == 2)
- {
- OSD_Line( 11, 36 + (ucOSD_Item_Index1-1)*(6+1), 3, 0x40, 2);
- ucOSD_Item_Index1 = 0;
- }
- else
- {
- ucOSD_Item_Index2 = 1;
- if(stGUD1.OSD_TIMEOUT < 5)
- {
- stGUD1.OSD_TIMEOUT = 20;
- usOSD_Timer = 1020;
- Save_GUD1();
- }
-
- OSD_Line( 11, 36, 12, 0xe0, 2);
- OSD_Line( 11, 36, 12, 0x8c, 0);
- OSD_Line( 11, 35, 1, 0x40, 2);
- OSD_Line( 11, 35, 1, 0x0d, 1);
- OSD_Line( 11, 48, 1, 0x40, 2);
- OSD_Line( 11, 48, 1, 0x0c, 1);
- OSD_Slider(11, 31, 17, stGUD1.OSD_TIMEOUT, 60, 2, 14);
- }
- }
- else
- {
- ucOSD_Item_Index1 = stGUD1.OSD_TIMEOUT ? 1 : 2;
- OSD_Line( 11, 36 + (ucOSD_Item_Index1-1)*(6+1), 3, 0x20, 2);
- }
- break;
-
- case 5 :
- if (ucOSD_Item_Index1)
- {
- ucOSD_Item_Index1 = 0;
- OSD_Slider(13, 31, 17, (stGUD1.INPUT_SOURCE & 0xe0) >> 5, 7, 4, 14);
- }
- else
- {
- ucOSD_Item_Index1 = 1;
- OSD_Slider(13, 31, 17, (stGUD1.INPUT_SOURCE & 0xe0) >> 5, 7, 2, 14);
- }
- break;
-
- case 6 :
-
- OSD_Window( 6, 150, 282, (54 + (ucOSD_Item_Index0-1)*(29+4)), (84 + (ucOSD_Item_Index0-1)*(29+4))
- , 0, 0, 14, 251, 0, 1, 0);
-
- ucOSD_Item_Index0 = 0;
- ucOSD_Item_Index1 = 0;
-
- break;
-
- }
- }
- }
-
- void Page4_Left_Right_Key(unsigned char Key)
- {
- if (ucOSD_Item_Index1)
- {
- switch (ucOSD_Item_Index0)
- {
- case 2 :
- Get_OSD_Margin();
-
- if (0x04 == Key)
- {
- if (Data[1] <= stGUD1.OSD_POSH)
- break;
-
- if (15 > ucKey_Issued)
- stGUD1.OSD_POSH = Data[1] > stGUD1.OSD_POSH ? stGUD1.OSD_POSH + 1 : Data[1];
- else
- stGUD1.OSD_POSH = (Data[1] - 1) > stGUD1.OSD_POSH ? stGUD1.OSD_POSH + 2 : Data[1];
- }
- else
- {
- if (Data[0] >= stGUD1.OSD_POSH)
- break;
-
- if (15 > ucKey_Issued)
- stGUD1.OSD_POSH = Data[0] < stGUD1.OSD_POSH ? stGUD1.OSD_POSH - 1 : Data[0];
- else
- stGUD1.OSD_POSH = (Data[0] + 1) < stGUD1.OSD_POSH ? stGUD1.OSD_POSH - 2 : Data[0];
- }
-
- OSD_Slider(7, 31, 17, stGUD1.OSD_POSH - Data[0], Data[1] - Data[0], 2, 14);
- OSD_Position(0x01);
- Save_GUD1();
- break;
-
- case 3 :
- Get_OSD_Margin();
-
- if (0x04 == Key)
- {
-
- if (Data[3] <= stGUD1.OSD_POSV)
- break;
-
- if (15 > ucKey_Issued)
- stGUD1.OSD_POSV = Data[3] > stGUD1.OSD_POSV ? stGUD1.OSD_POSV + 1 : Data[3];
- else
- stGUD1.OSD_POSV = (Data[3] - 1) > stGUD1.OSD_POSV ? stGUD1.OSD_POSV + 2 : Data[3];
-
- }
- else
- {
-
- if (Data[2] >= stGUD1.OSD_POSV)
- break;
-
- if (15 > ucKey_Issued)
- stGUD1.OSD_POSV = Data[2] < stGUD1.OSD_POSV ? stGUD1.OSD_POSV - 1 : Data[2];
- else
- stGUD1.OSD_POSV = (Data[2] + 1) < stGUD1.OSD_POSV ? stGUD1.OSD_POSV - 2 : Data[2];
-
- }
-
- OSD_Slider(9, 31, 17, stGUD1.OSD_POSV - Data[2], Data[3] - Data[2], 2, 14);
- OSD_Position(0x01);
- Save_GUD1();
- break;
-
- case 4 :
-
- if (0x04 == Key)
- {
- if(ucOSD_Item_Index2)
- {
- stGUD1.OSD_TIMEOUT = (stGUD1.OSD_TIMEOUT == 60) ? 60 : stGUD1.OSD_TIMEOUT + 1;
- OSD_Slider(11, 31, 17, stGUD1.OSD_TIMEOUT, 60, 2, 14);
- }
- else if(ucOSD_Item_Index1)
- {
-
- ucOSD_Item_Index1 = 2;
- stGUD1.OSD_TIMEOUT = 0;
- OSD_Line( 11, 36, 14, 0x40, 2);
- OSD_Line( 11, 36 + (ucOSD_Item_Index1-1)*(6+1), 3, 0x20, 2);
- }
- }
- else
- {
- if(ucOSD_Item_Index2)
- {
- stGUD1.OSD_TIMEOUT = (stGUD1.OSD_TIMEOUT == 5) ? 5 : stGUD1.OSD_TIMEOUT - 1;
- OSD_Slider(11, 31, 17, stGUD1.OSD_TIMEOUT, 60, 2, 14);
- }
- else if(ucOSD_Item_Index1)
- {
-
- ucOSD_Item_Index1 = 1;
- OSD_Line( 11, 36, 14, 0x40, 2);
- OSD_Line( 11, 36 + (ucOSD_Item_Index1-1)*(6+1), 3, 0x20, 2);
- }
- }
-
- usOSD_Timer = (unsigned int)stGUD1.OSD_TIMEOUT * 51;
-
- Save_GUD1();
- break;
-
- case 5 :
- Data[0] = (stGUD1.INPUT_SOURCE & 0xe0) >> 5;
-
- if (0x04 == Key)
- {
- if(ucOSD_Item_Index1)
- {
- Data[0] = (Data[0] == 0x07) ? 0x07 : Data[0] + 1;
- stGUD1.INPUT_SOURCE = stGUD1.INPUT_SOURCE & 0x1f | (Data[0] << 5);
- }
- }
- else
- {
- if(ucOSD_Item_Index1)
- {
- Data[0] = (Data[0] == 0x00) ? 0x00 : Data[0] - 1;
- stGUD1.INPUT_SOURCE = stGUD1.INPUT_SOURCE & 0x1f | (Data[0] << 5);
- }
- }
-
- RTDSetBit(0x6D, 0xc7, Data[0] << 3);
- OSD_Slider(13, 31, 17, Data[0] , 7, 2, 14);
- Save_GUD1();
- break;
-
- }
- }
- else
- {
- Osd_Change_Item(Key,6);
- }
- }
-
-
- void Page4_Show(void)
- {
- Show_Osd_Page(2,Page4_Atb,3);
-
-
-
-
- OSD_Window( 5, 10, 136, 120, 150, 1, 1, 14, 251, 0, 1, 25);
-
- if (0 == ucOSD_Item_Index1)
- {
- Get_OSD_Margin();
- OSD_Slider(7, 31, 17, stGUD1.OSD_POSH - Data[0], Data[1] - Data[0], 4, 14);
- Get_OSD_Margin();
- OSD_Slider(9, 31, 17, stGUD1.OSD_POSV - Data[2], Data[3] - Data[2], 4, 14);
-
- OSD_Slider(13, 31, 17, (stGUD1.INPUT_SOURCE & 0xe0) >> 5, 7, 4, 14);
- if( ucOSD_Item_Index0 == 1)
- OSD_Window( 6, 150, 282, 54, 84, 1, 1, 14, 251, 0, 1, 25);
- RTDSetBit(0x6D, 0xfe, 0x01);
- }
- else
- {
- switch (ucOSD_Item_Index0)
- {
- case 2 :
-
-
- break;
-
- case 3 :
-
-
- break;
-
- case 4 :
-
-
- break;
-
- case 5 :
-
-
- break;
-
- }
- }
- }
-
- void Page4B_Enter_Key(void)
- {
- if ((stGUD1.FUNCTION & 0x07) != (ucOSD_Item_Index1 - 1))
- {
- stGUD1.FUNCTION = (stGUD1.FUNCTION & 0xf8) | ((ucOSD_Item_Index1 - 1) & 0x07);
- Save_GUD1();
-
- switch (stGUD1.FUNCTION & 0x07)
- {
- case 5 :
- case 6 :
-
- RTDSetBit(0x6D, 0xfe, 0x00);
- Load_VLC_Font(Font_East_C, 0x5a9, 0x45);
- Page4_Show();
-
-
- break;
-
- case 7 :
-
- RTDSetBit(0x6D, 0xfe, 0x00);
- Load_VLC_Font(Font_East_J, 0x573, 0x4B);
- Page4_Show();
-
-
- break;
-
- default :
- break;
-
- }
- }
-
- ucOSD_Item_Index1 = 0;
- }
-
- void Page4B_Left_Right_Key(unsigned char Key)
- {
-
- OSD_Window( 6, 150 + ((ucOSD_Item_Index1-1)/4)*170, 282 + ((ucOSD_Item_Index1-1)/4)*170,
- 54 + ((ucOSD_Item_Index1-1)%4)*33, 84 + ((ucOSD_Item_Index1-1)%4)*33, 0, 0, 14, 251, 0, 1, 0);
- if (0x03 == Key)
- ucOSD_Item_Index1 = (8 == ucOSD_Item_Index1) ? 1 : (ucOSD_Item_Index1 + 1);
- else
- ucOSD_Item_Index1 = (1 == ucOSD_Item_Index1) ? 8 : (ucOSD_Item_Index1 - 1);
-
- OSD_Window( 6, 150 + ((ucOSD_Item_Index1-1)/4)*170, 282 + ((ucOSD_Item_Index1-1)/4)*170,
- 54 + ((ucOSD_Item_Index1-1)%4)*33, 84 + ((ucOSD_Item_Index1-1)%4)*33, 1, 1, 14, 251, 0, 1, 25);
- }
-
- void Page4B_Show(void)
- {
- Show_Osd_Page(3,Page8_Atb,7);
- RTDOSDW(Page8_Content);
-
- OSD_Window( 6, 150 + ((ucOSD_Item_Index1-1)/4)*170, 282 + ((ucOSD_Item_Index1-1)/4)*170,
- 54 + ((ucOSD_Item_Index1-1)%4)*33, 84 + ((ucOSD_Item_Index1-1)%4)*33, 1, 1, 14, 251, 0, 1, 25);
- }
-
- void Page5_Enter_Key(void)
- {
- if (0 == ucOSD_Item_Index0)
- {
-
- ucOSD_Item_Index0 = 1;
- ucOSD_Item_Index1 = 0;
- OSD_Window( 6, 150, 282, 54, 84, 1, 1, 14, 251, 0, 1, 0);
- OSD_Window( 6, 150, 282, 54, 84, 1, 1, 14, 251, 0, 1, 25);
- }
- else
- {
- switch (ucOSD_Item_Index0)
- {
- case 1 :
- Data[0] = stGUD1.INPUT_SOURCE & 0x07;
- ucOSD_Item_Index1 = (1 == Data[0]) ? 2
- : (2 == Data[0]) ? 3
- : (3 == Data[0]) ? 4
- : (4 == Data[0]) ? 5
- : (5 == Data[0]) ? 6 : 1;
-
- OSD_Proc_B(0x83);
- break;
-
- case 2 :
- if (ucOSD_Item_Index1)
- {
- OSD_Line( 7, 36 + (ucOSD_Item_Index1-1)*(7+1), 7, 0x40, 2);
-
-
- Data[0] = (1 == ucOSD_Item_Index1) ? 0x00 : 0x10;
-
- stGUD1.FUNCTION = stGUD1.FUNCTION & 0xef | Data[0];
- ucOSD_Item_Index1 = 0;
- Save_GUD1();
-
- if (0 == (stGUD1.INPUT_SOURCE & 0x07) && 400 == usIPV_ACT_LEN &&
- 5 != ucMode_Curr && 51 != ucMode_Curr)
- {
-
-
- if (stGUD1.FUNCTION & 0x10)
- {
- stGUD1.FUNCTION = (stGUD1.FUNCTION & 0xef);
- ucMode_Curr = 254;
- }
- else
- {
- stGUD1.FUNCTION = (stGUD1.FUNCTION | 0x10);
- ucMode_Curr = 254;
- }
- }
- }
- else
- {
- ucOSD_Item_Index1 = (stGUD1.FUNCTION & 0x10) ? 2 : 1;
- OSD_Line( 7, 36 + (ucOSD_Item_Index1-1)*(7+1), 7, 0x20, 2);
- }
- break;
-
- case 3 :
- if (ucOSD_Item_Index1)
- {
- if (1 == ucOSD_Item_Index1)
- {
- {
- unsigned char ucTemp1, ucTemp2;
-
-
- ucTemp1 = stGUD1.FUNCTION & 0x07;
- ucTemp2 = stGUD1.INPUT_SOURCE & 0x07;
-
- if (7 < ucTemp1)
- ucTemp1 = 0;
-
-
- usOSD_Timer = (unsigned int)2 << 9;
-
-
- Init_GUD();
-
- usOSD_Timer = (unsigned int)stGUD1.OSD_TIMEOUT << 9;
-
-
- stGUD1.FUNCTION = (stGUD1.FUNCTION & 0xf8) | ucTemp1;
- stGUD1.INPUT_SOURCE = (stGUD1.INPUT_SOURCE & 0xf8) | ucTemp2;
- Save_GUD1();
-
-
- Set_Bright_Contrast();
-
-
- SetVolume();
-
-
- OSD_Position(0x01);
- }
-
-
- Init_MUD();
-
-
- Load_MUD(ucMode_Curr);
-
-
- ucMode_Curr = 254;
- }
-
- OSD_Line( 9, 36 + (ucOSD_Item_Index1-1)*(6+1), 4, 0x40, 2);
- ucOSD_Item_Index1 = 0;
- }
- else
- {
- ucOSD_Item_Index1 = 2;
- OSD_Line( 9, 36 + (ucOSD_Item_Index1-1)*(6+1), 4, 0x20, 2);
- }
- break;
-
- case 4 :
- if (ucOSD_Item_Index1)
- {
- ucOSD_Item_Index1 = 0;
- OSD_Slider(11, 31, 17, 0x1f - stGUD3.VOLUME, 0x1f, 4, 14);
- }
- else
- {
- ucOSD_Item_Index1 = 1;
-
- stGUD3.VOLUME &= 0x1f;
- OSD_Slider(11, 31, 17, 0x1f - stGUD3.VOLUME, 0x1f, 2, 14);
- }
- break;
-
- case 5 :
-
- OSD_Window( 6, 150, 282, (54 + (ucOSD_Item_Index0-1)*(29+4)), (84 + (ucOSD_Item_Index0-1)*(29+4))
- , 0, 0, 14, 251, 0, 1, 0);
-
- ucOSD_Item_Index0 = 0;
- ucOSD_Item_Index1 = 0;
-
- break;
-
- }
- }
- }
-
- void Page5_Left_Right_Key(unsigned char Key)
- {
- if (ucOSD_Item_Index1)
- {
- switch (ucOSD_Item_Index0)
- {
- case 2 :
- ucOSD_Item_Index1 = (0x04 == Key) ? 2 : 1;
- OSD_Line( 7, 36 , 16, 0x40, 2);
- OSD_Line( 7, 36 + (ucOSD_Item_Index1-1)*(7+1), 7, 0x20, 2);
-
- break;
-
- case 3 :
-
- ucOSD_Item_Index1 = (0x03 == Key) ? 1 : 2;
- OSD_Line( 9, 36 , 14, 0x40, 2);
- OSD_Line( 9, 36 + (ucOSD_Item_Index1-1)*(6+1), 4, 0x20, 2);
-
- break;
-
- case 4 :
-
- if (0x04 == Key)
- {
- if (0x00 == stGUD3.VOLUME)
- break;
-
- stGUD3.VOLUME = stGUD3.VOLUME - 1;
- }
- else
- {
- if (0x1f <= stGUD3.VOLUME)
- break;
-
- stGUD3.VOLUME = stGUD3.VOLUME + 1;
- }
-
- OSD_Slider(11, 31, 17, 0x1f - stGUD3.VOLUME, 0x1f, 2, 14);
- SetVolume();
- Save_GUD3();
- break;
-
- default :
- break;
-
- }
- }
- else
- {
- Osd_Change_Item(Key,5);
- }
- }
-
- void Page5_Show(void)
- {
- Show_Osd_Page(3,Page5_Atb,4);
-
-
-
- OSD_Window( 5, 10, 136, 153, 183, 1, 1, 14, 251, 0, 1, 25);
-
-
-
- OSD_Slider(11, 31, 17, 0x1f - stGUD3.VOLUME, 0x1f, 4, 14);
-
-
- if (0 == ucOSD_Item_Index1)
- {
- if( ucOSD_Item_Index0 == 1)
- OSD_Window( 6, 150, 282, 54, 84, 1, 1, 14, 251, 0, 1, 25);
- }
- else
- {
- switch (ucOSD_Item_Index0)
- {
- case 2 :
-
-
- break;
-
- case 3 :
-
-
- break;
-
- case 4 :
-
-
- break;
-
- default :
- break;
-
- }
- }
- }
-
- void Page5B_Enter_Key()
- {
- Data[0] = (2 == ucOSD_Item_Index1) ? 1
- : (3 == ucOSD_Item_Index1) ? 2
- : (4 == ucOSD_Item_Index1) ? 3
- : (5 == ucOSD_Item_Index1) ? 4
- : (6 == ucOSD_Item_Index1) ? 5 : 0;
-
- if(Data[0] != ucInputSrc)
- {
- Change_Source(Data[0]);
- ucOSD_Page_Index = 0;
- }
- else
- {
- ucOSD_Item_Index1 = 0;
- }
-
- }
-
- void Page5B_Left_Right_Key(unsigned char Key)
- {
-
- OSD_Window( 6, 150 + ((ucOSD_Item_Index1-1)/4)*170, 282 + ((ucOSD_Item_Index1-1)/4)*170,
- 54 + ((ucOSD_Item_Index1-1)%4)*33, 84 + ((ucOSD_Item_Index1-1)%4)*33, 0, 0, 14, 251, 0, 1, 0);
- if (0x03 == Key)
- ucOSD_Item_Index1 = (2 == ucOSD_Item_Index1) ? 1 : (ucOSD_Item_Index1 + 1);
- else
- ucOSD_Item_Index1 = (1 == ucOSD_Item_Index1) ? 2 : (ucOSD_Item_Index1 - 1);
-
- OSD_Window( 6, 150 + ((ucOSD_Item_Index1-1)/4)*170, 282 + ((ucOSD_Item_Index1-1)/4)*170,
- 54 + ((ucOSD_Item_Index1-1)%4)*33, 84 + ((ucOSD_Item_Index1-1)%4)*33, 1, 1, 14, 251, 0, 1, 25);
- }
-
- void Page5B_Show()
- {
- Show_Osd_Page(4,Page9_Atb,8);
- RTDOSDW(Page9_Content);
-
- OSD_Window( 6, 150 + ((ucOSD_Item_Index1-1)/4)*170, 282 + ((ucOSD_Item_Index1-1)/4)*170,
- 54 + ((ucOSD_Item_Index1-1)%4)*33, 84 + ((ucOSD_Item_Index1-1)%4)*33, 1, 1, 14, 251, 0, 1, 25);
-
-
-
-
-
- }
-
- void Page6_Left_Right_Key(unsigned char Key)
- {
- if(Key == 0x03)
- ucOSD_Page_Index = GetNextPageIdx(ucOSD_Page_Index);
- else
- ucOSD_Page_Index = GetPrevPageIdx(ucOSD_Page_Index);
- }
-
- void Page6_Show(void)
- {
-
-
-
- Show_Osd_Page(4,Page6_Atb,5);
-
-
-
- OSD_Window( 5, 10, 136, 186, 216, 1, 1, 14, 251, 0, 1, 25);
- }
-
-
-
-
- void PageFactory_Show(void)
- {
- OSD_Fact_Clear( 0,20, 0,30);
- OSD_Position(0x01);
- OSD_Position(0x01);
-
- RTDSetBit(0x6D, 0xfe, 0x00);
- RTDOSDW(OSD_Reset);
- RTDOSDW(OSD_Clean_All);
- RTDOSDW(FactoryPageAtbFont);
- OSD_Fact_Line( 3, 0, 15, 0x20, 2);
- RTDOSDW(Version_Panel);
- ShowValue( 5,12, stGUD0.CONTRAST, 0x13 );
- ShowValue( 6,12, stGUD0.BRIGHT, 0x13 );
- ShowValue( 7,12, stGUD3.SPREAD, 0x13 );
- ShowValue( 8, 9, stGUD4.C2_R, 0x13 );
- ShowValue( 8,15, stGUD4.C2_G, 0x13 );
- ShowValue( 8,21, stGUD4.C2_B, 0x13 );
- }
-
- void PageFactory_Enter_Key(void)
- {
- if (ucOSD_Item_Index1)
- {
- if (ucOSD_Item_Index2)
- {
- switch(ucOSD_Item_Index1)
- {
- case 1:
- OSD_Fact_Line( 8, 9, 3, 0x13, 2);
- ucOSD_Item_Index2 = 0;
- break;
- case 2:
- OSD_Fact_Line( 8,15, 3, 0x13, 2);
- ucOSD_Item_Index2 = 0;
- break;
- case 3:
- OSD_Fact_Line( 8,21, 3, 0x13, 2);
- ucOSD_Item_Index2 = 0;
- break;
- }
- }
- else
- {
- switch (ucOSD_Item_Index0)
- {
- case 3:
- ShowValue(5,12, stGUD0.CONTRAST, 0x13 );
- ucOSD_Item_Index1 = 0;
- break;
-
- case 4:
- ShowValue(6,12, stGUD0.BRIGHT, 0x13 );
- ucOSD_Item_Index1 = 0;
- break;
-
- case 5:
- ShowValue(7,12, stGUD3.SPREAD, 0x13 );
- ucOSD_Item_Index1 = 0;
- break;
-
- case 6:
-
- switch(ucOSD_Item_Index1)
- {
- case 1:
- OSD_Fact_Line( 8, 9, 3, 0x23, 2);
- ucOSD_Item_Index2 = 1;
- break;
- case 2:
- OSD_Fact_Line( 8,15, 3, 0x23, 2);
- ucOSD_Item_Index2 = 1;
- break;
- case 3:
- OSD_Fact_Line( 8,21, 3, 0x23, 2);
- ucOSD_Item_Index2 = 1;
- break;
- case 4:
- OSD_Fact_Line( 8,25, 4, 0x13, 2);
- ucOSD_Item_Index1 = 0;
- break;
- }
- break;
- }
- }
- }
- else
- {
- switch (ucOSD_Item_Index0)
- {
- case 1:
- Init_FACTORY();
- ShowValue( 5,12, stGUD0.CONTRAST, 0x13 );
- ShowValue( 6,12, stGUD0.BRIGHT, 0x13 );
- ShowValue( 8, 9, stGUD4.C2_R, 0x13 );
- ShowValue( 8,15, stGUD4.C2_G, 0x13 );
- ShowValue( 8,21, stGUD4.C2_B, 0x13 );
-
- stGUD1.INPUT_SOURCE = (stGUD1.INPUT_SOURCE & 0xE7 ) | 0x08;
- Set_Bright_Contrast();
- RTDOSDW(RecallOK);
- break;
-
- case 2:
- Auto_Balance();
- RTDOSDW(AutoOK);
- break;
-
- case 3:
- ShowValue(5,12, stGUD0.CONTRAST, 0x23 );
- ucOSD_Item_Index1 = 1;
- break;
-
- case 4:
- ShowValue(6,12, stGUD0.BRIGHT, 0x23 );
- ucOSD_Item_Index1 = 1;
- break;
-
- case 5:
- ShowValue(7,12, stGUD3.SPREAD, 0x23 );
- ucOSD_Item_Index1 = 1;
- break;
-
- case 6:
- OSD_Fact_Line( 8, 7, 1, 0x23, 2);
- ucOSD_Item_Index1 = 1;
- break;
-
- case 7:
- ucOSD_Page_Index = 0;
- ucOSD_Item_Index0 = 0;
- ucOSD_Item_Index1 = 0;
- ucOSD_Item_Index2 = 0;
-
- RTDSetBit(0x6D, 0xfe, 0x00);
- RTDOSDW(OSD_Reset);
- break;
- }
- }
- }
-
- void PageFactory_Left_Right_Key(unsigned char Key)
- {
- if (ucOSD_Item_Index1)
- {
- if (ucOSD_Item_Index2)
- {
- switch (ucOSD_Item_Index0)
- {
-
- case 6:
-
- switch(ucOSD_Item_Index1)
- {
- case 1:
- Value_Adjust(&stGUD4.C2_R,Key,255,0);
- ShowValue( 8, 9, stGUD4.C2_R, 0x23 );
- break;
- case 2:
- Value_Adjust(&stGUD4.C2_G,Key,255,0);
- ShowValue( 8,15, stGUD4.C2_G, 0x23 );
- break;
- case 3:
- Value_Adjust(&stGUD4.C2_B,Key,255,0);
- ShowValue( 8,21, stGUD4.C2_B, 0x23 );
- break;
- }
- Set_Bright_Contrast();
- Save_GUD4();
- break;
-
- }
- }
- else
- {
- switch (ucOSD_Item_Index0)
- {
- if(0x03 == Key)
- ucOSD_Item_Index0 = (ucOSD_Item_Index0 == 1) ? 7 : ucOSD_Item_Index0 - 1;
- else
- ucOSD_Item_Index0 = (ucOSD_Item_Index0 == 7) ? 1 : ucOSD_Item_Index0 + 1;
-
-
- case 3:
- Bright_Contrast_Adjust(&stGUD0.CONTRAST,Key);
- ShowValue(5,12, stGUD0.CONTRAST, 0x23 );
-
-
- if((stGUD1.INPUT_SOURCE & 0x07) == 0)
- SetADC_Gain();
- else
- Set_Bright_Contrast();
-
- #line 2789 "CodeLcd_osd.c" /1
-
-
- #line 2791 "CodeLcd_osd.c" /0
-
- Save_GUD0();
- break;
-
-
- case 4:
- Bright_Contrast_Adjust(&stGUD0.BRIGHT,Key);
- ShowValue(6,12, stGUD0.BRIGHT, 0x23 );
- Set_Bright_Contrast();
- Save_GUD0();
- break;
-
- case 5:
- SPREAD_Adjust(&stGUD3.SPREAD,Key);
- ShowValue(7,12, stGUD3.SPREAD, 0x23 );
- Set_Spread();
- Save_GUD3();
- break;
-
-
- case 6:
-
- if(0x03 == Key)
- ucOSD_Item_Index1 = (ucOSD_Item_Index1 == 4) ? 1 : ucOSD_Item_Index1 + 1;
- else
- ucOSD_Item_Index1 = (ucOSD_Item_Index1 == 1) ? 4 : ucOSD_Item_Index1 - 1;
-
- switch(ucOSD_Item_Index1)
- {
- case 1:
- OSD_Fact_Line( 8, 7, 1, 0x23, 2);
- OSD_Fact_Line( 8,13, 1, 0x13, 2);
- OSD_Fact_Line( 8,25, 4, 0x13, 2);
- break;
- case 2:
- OSD_Fact_Line( 8, 7, 1, 0x13, 2);
- OSD_Fact_Line( 8,13, 1, 0x23, 2);
- OSD_Fact_Line( 8,19, 1, 0x13, 2);
- break;
- case 3:
- OSD_Fact_Line( 8,13, 1, 0x13, 2);
- OSD_Fact_Line( 8,19, 1, 0x23, 2);
- OSD_Fact_Line( 8,25, 4, 0x13, 2);
- break;
- case 4:
- OSD_Fact_Line( 8, 7, 1, 0x13, 2);
- OSD_Fact_Line( 8,19, 1, 0x13, 2);
- OSD_Fact_Line( 8,25, 4, 0x23, 2);
- break;
- }
- break;
- }
- }
- }
- else
- {
-
- if(0x03 == Key)
- ucOSD_Item_Index0 = (ucOSD_Item_Index0 == 7) ? 1 : ucOSD_Item_Index0 + 1;
- else
- ucOSD_Item_Index0 = (ucOSD_Item_Index0 == 1) ? 7 : ucOSD_Item_Index0 - 1;
-
- switch (ucOSD_Item_Index0)
- {
- case 1:
- OSD_Fact_Line( 9, 1, 7, 0x10, 2);
- OSD_Fact_Line( 3, 1, 14, 0x20, 2);
- OSD_Fact_Line( 4, 1, 10, 0x10, 2);
- break;
-
- case 2:
- OSD_Fact_Line( 3, 1, 14, 0x10, 2);
- OSD_Fact_Line( 4, 1, 10, 0x20, 2);
- OSD_Fact_Line( 5, 1, 10, 0x10, 2);
- break;
-
- case 3:
- OSD_Fact_Line( 4, 1, 10, 0x10, 2);
- OSD_Fact_Line( 5, 1, 10, 0x20, 2);
- OSD_Fact_Line( 6, 1, 10, 0x10, 2);
- break;
-
- case 4:
- OSD_Fact_Line( 5, 1, 10, 0x10, 2);
- OSD_Fact_Line( 6, 1, 10, 0x20, 2);
- OSD_Fact_Line( 7, 1, 10, 0x10, 2);
- break;
-
- case 5:
- OSD_Fact_Line( 6, 1, 10, 0x10, 2);
- OSD_Fact_Line( 7, 1, 10, 0x20, 2);
- OSD_Fact_Line( 8, 1, 5, 0x10, 2);
- break;
-
- case 6:
- OSD_Fact_Line( 7, 1,10, 0x10, 2);
- OSD_Fact_Line( 8, 1, 5, 0x20, 2);
- OSD_Fact_Line( 9, 1, 7, 0x10, 2);
- Set_Bright_Contrast();
- break;
-
- case 7:
- OSD_Fact_Line( 8, 1, 5, 0x10, 2);
- OSD_Fact_Line( 9, 1, 7, 0x20, 2);
- OSD_Fact_Line( 3, 1,14, 0x10, 2);
- break;
- }
- }
- }
-
-
-
-
-
- void PageADC_Left_Right_Key(unsigned char Key)
- {
- if (ucOSD_Item_Index1)
- {
- switch (ucOSD_Item_Index0)
- {
- case 1 :
- if (0x03 == Key)
- {
- if (0xff == stGUD2.AD_R_GAIN)
- return;
-
- stGUD2.AD_R_GAIN += 1;
- }
- else
- {
- if (0x00 == stGUD2.AD_R_GAIN)
- return;
-
- stGUD2.AD_R_GAIN -= 1;
- }
-
- OSD_Slider(5, 36, 17, stGUD2.AD_R_GAIN, 0xff, 2, 14);
- SetADC_Gain();
- break;
-
- case 2 :
- if (0x03 == Key)
- {
- if (0xff == stGUD2.AD_G_GAIN)
- return;
-
- stGUD2.AD_G_GAIN += 1;
- }
- else
- {
- if (0x00 == stGUD2.AD_G_GAIN)
- return;
-
- stGUD2.AD_G_GAIN -= 1;
- }
-
- OSD_Slider(7, 36, 17, stGUD2.AD_R_GAIN, 0xff, 2, 14);
- SetADC_Gain();
- break;
-
- case 3 :
- if (0x03 == Key)
- {
- if (0xff == stGUD2.AD_B_GAIN)
- return;
-
- stGUD2.AD_B_GAIN += 1;
- }
- else
- {
- if (0x00 == stGUD2.AD_B_GAIN)
- return;
-
- stGUD2.AD_B_GAIN -= 1;
- }
-
- OSD_Slider(9, 36, 17, stGUD2.AD_R_GAIN, 0xff, 2, 14);
- SetADC_Gain();
- break;
-
- case 4 :
- if (0x03 == Key)
- {
- if (0xff == stGUD2.AD_R_OFFSET)
- return;
-
- stGUD2.AD_R_OFFSET += 1;
- }
- else
- {
- if (0x00 == stGUD2.AD_R_OFFSET)
- return;
-
- stGUD2.AD_R_OFFSET -= 1;
- }
-
- OSD_Slider(11, 36, 17, stGUD2.AD_R_GAIN, 0xff, 2, 14);
- SetADC_Offset();
- break;
-
- case 5 :
- if (0x03 == Key)
- {
- if (0xff == stGUD2.AD_G_OFFSET)
- return;
-
- stGUD2.AD_G_OFFSET += 1;
- }
- else
- {
- if (0x00 == stGUD2.AD_G_OFFSET)
- return;
-
- stGUD2.AD_G_OFFSET -= 1;
- }
-
- OSD_Slider(13, 36, 17, stGUD2.AD_R_GAIN, 0xff, 2, 14);
- SetADC_Offset();
- break;
-
- case 6 :
- if (0x03 == Key)
- {
- if (0xff == stGUD2.AD_B_OFFSET)
- return;
-
- stGUD2.AD_B_OFFSET += 1;
- }
- else
- {
- if (0x00 == stGUD2.AD_B_OFFSET)
- return;
-
- stGUD2.AD_B_OFFSET -= 1;
- }
-
- OSD_Slider(15, 36, 17, stGUD2.AD_B_OFFSET, 0xff, 2, 14);
- SetADC_Offset();
- break;
-
- }
-
- Save_GUD2();
- }
- else
- {
- if (ucOSD_Item_Index0)
- {
-
- if (0x03 == Key)
- ucOSD_Item_Index0 = (7 == ucOSD_Item_Index0) ? 1 : (ucOSD_Item_Index0 + 1);
- else
- ucOSD_Item_Index0 = (1 == ucOSD_Item_Index0) ? 7 : (ucOSD_Item_Index0 - 1);
-
- OSD_Window( 6, 0, 476, 0, 252, 4, 4, 0, 1, 231, 1, 113);
- }
- }
- }
-
- void PageADC_Enter_Key(void)
- {
- if (0 == ucOSD_Item_Index0)
- {
-
- ucOSD_Item_Index0 = 1;
- ucOSD_Item_Index1 = 0;
- OSD_Window( 6, 152, 282, 56, 86, 2, 2, 14, 251, 0, 1, 25);
- }
- else
- {
- if (7 == ucOSD_Item_Index0)
- {
- ucOSD_Page_Index = 0;
- }
- else
- {
- if (ucOSD_Item_Index1)
- {
- ucOSD_Item_Index1 = 0;
- RTDOSDW(OSD_Version);
- }
- else
- {
- ucOSD_Item_Index1 = 1;
-
- switch (ucOSD_Item_Index0)
- {
- case 1 :
- OSD_Slider(5, 36, 17, stGUD2.AD_B_OFFSET, 0xff, 2, 14);
- break;
-
- case 2 :
- OSD_Slider(7, 36, 17, stGUD2.AD_B_OFFSET, 0xff, 2, 14);
- break;
-
- case 3 :
- OSD_Slider(9, 36, 17, stGUD2.AD_B_OFFSET, 0xff, 2, 14);
- break;
-
- case 4 :
- OSD_Slider(11, 36, 17, stGUD2.AD_B_OFFSET, 0xff, 2, 14);
- break;
-
- case 5 :
- OSD_Slider(13, 36, 17, stGUD2.AD_B_OFFSET, 0xff, 2, 14);
- break;
-
- case 6 :
- OSD_Slider(15, 36, 17, stGUD2.AD_B_OFFSET, 0xff, 2, 14);
- break;
-
- }
- }
- }
- }
- }
-
- void PageADC_Show(void)
- {
- Init_Page(0);
-
- RTDOSDW(PageADC_Atb);
- RTDOSDW(PageADC_ENG);
-
-
-
-
- if (0 == ucOSD_Item_Index1)
- {
- RTDOSDW(OSD_Version);
- }
- else
- {
- switch (ucOSD_Item_Index0)
- {
- case 1 :
- OSD_Slider(5, 36, 17, stGUD2.AD_B_OFFSET, 0xff, 4, 14);
- break;
-
- case 2 :
- OSD_Slider(7, 36, 17, stGUD2.AD_B_OFFSET, 0xff, 4, 14);
- break;
-
- case 3 :
- OSD_Slider(9, 36, 17, stGUD2.AD_B_OFFSET, 0xff, 4, 14);
- break;
-
- case 4 :
- OSD_Slider(11, 36, 17, stGUD2.AD_B_OFFSET, 0xff, 4, 14);
- break;
-
- case 5 :
- OSD_Slider(13, 36, 17, stGUD2.AD_B_OFFSET, 0xff, 4, 14);
- break;
-
- case 6 :
- OSD_Slider(15, 36, 17, stGUD2.AD_B_OFFSET, 0xff, 4, 14);
- break;
-
- }
- }
- }
-
-
-
-
-
- unsigned char Page1_Goto_Subpage(unsigned char Key)
- {
- if (4 == ucOSD_Item_Index0 && ucOSD_Item_Index1)
- {
- if (0 == ucMode_Curr || 255 == ucMode_Curr)
- {
- ucOSD_Item_Index1 = 0;
- ucOSD_Item_Index2 = 0;
- }
- else
- {
-
- OSD_Proc_B(Key);
- }
-
- if (ucOSD_Item_Index1)
- return 0;
-
- ucOSD_Item_Index2 = 0;
-
-
- return 1;
-
- }
-
- return 2;
-
- }
-
-
- unsigned char Page4_Goto_Subpage(unsigned char Key)
- {
- if (1 == ucOSD_Item_Index0 && 0 != ucOSD_Item_Index1)
- {
- if (0x83 != Key)
- {
-
- OSD_Proc_B(Key);
-
- if (ucOSD_Item_Index1)
- return 0;
-
-
- return 1;
- }
- else
- {
-
- ucOSD_Item_Index1 = 0;
- }
- }
-
- return 2;
-
- }
-
- unsigned char Page5_Goto_Subpage(unsigned char Key)
- {
- if (1 == ucOSD_Item_Index0 && 0 != ucOSD_Item_Index1)
- {
- if (0x83 != Key)
- {
-
- OSD_Proc_B(Key);
-
- if (ucOSD_Item_Index1) return 0;
-
-
- return 1;
- }
- else
- {
-
- ucOSD_Item_Index1 = 0;
- }
- }
-
- return 2;
-
- }
-
-
- #line 3240 "CodeLcd_osd.c" /1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #line 3424 "CodeLcd_osd.c" /0
-
- unsigned char Sub_Page_Process(unsigned char Key)
- {
- unsigned char ucTemp = 2;
-
- switch(ucOSD_Page_Index)
- {
- case 1:
- ucTemp = Page1_Goto_Subpage(Key);
- break;
-
-
- case 3:
- ucTemp = Page4_Goto_Subpage(Key);
- break;
-
-
- case 4:
- ucTemp = Page5_Goto_Subpage(Key);
- break;
-
- default:
- break;
- }
-
- return ucTemp;
-
- }
-
-
-
-
- void FACTORY_Key_Process(void)
- {
- switch(ucOSD_Page_Index)
- {
- case 0:
- FACTORY_Key_Key();
- break;
- }
- }
-
-
-
- void Enter_Key_Process(void)
- {
- switch(ucOSD_Page_Index)
- {
- case 0:
- Page0_Enter_Key();
- break;
-
- case 1:
- Page1_Enter_Key();
- break;
-
- case 2:
- Page2_Enter_Key();
- break;
-
- case 3:
- Page4_Enter_Key();
- break;
-
- case 4:
- Page5_Enter_Key();
- break;
-
- case 5:
-
- ucOSD_Page_Index = 0;
- break;
-
- case 8:
- if((stGUD1.INPUT_SOURCE & 0x07) == 0)
- PageADC_Enter_Key();
-
-
- #line 3509 "CodeLcd_osd.c" /1
-
-
-
- #line 3512 "CodeLcd_osd.c" /0
- break;
-
- case 15:
- PageFactory_Enter_Key();
- break;
-
- }
- }
-
- void Enter_Key_B_Process(void)
- {
- switch(ucOSD_Page_Index)
- {
- case 1:
- Page1B_Enter_Key();
- break;
-
-
- case 3:
- Page4B_Enter_Key();
- break;
-
-
-
- case 4:
- Page5B_Enter_Key();
- break;
-
- }
- }
- void Left_Right_Key_Process(unsigned char Key)
- {
- switch(ucOSD_Page_Index)
- {
- case 0:
- Page0_Left_Right_Key(Key);
- break;
-
- case 1:
- Page1_Left_Right_Key(Key);
- break;
-
- case 2:
- Page2_Left_Right_Key(Key);
- break;
-
- case 3:
- Page4_Left_Right_Key(Key);
- break;
-
- case 4:
- Page5_Left_Right_Key(Key);
- break;
-
- case 5:
- Page6_Left_Right_Key(Key);
- break;
-
- case 8:
- if((stGUD1.INPUT_SOURCE & 0x07) == 0)
- PageADC_Left_Right_Key(Key);
-
-
- #line 3579 "CodeLcd_osd.c" /1
-
-
-
- #line 3582 "CodeLcd_osd.c" /0
- break;
-
- case 15:
- PageFactory_Left_Right_Key(Key);
- break;
-
- }
- }
-
- void Left_Right_Key_B_Process(unsigned char Key)
- {
- switch(ucOSD_Page_Index)
- {
- case 1:
- Page1B_Left_Right_Key(Key);
- break;
-
-
- case 3:
- Page4B_Left_Right_Key(Key);
- break;
-
-
-
- case 4:
- Page5B_Left_Right_Key(Key);
- break;
-
- }
- }
-
- void Show_Process(void)
- {
- switch(ucOSD_Page_Index)
- {
- case 1:
- Page1_Show();
- break;
-
- case 2:
- Page2_Show();
- break;
-
- case 3:
- Page4_Show();
- break;
-
- case 4:
- Page5_Show();
- break;
-
- case 5:
- Page6_Show();
- break;
-
- case 8:
- if((stGUD1.INPUT_SOURCE & 0x07) == 0)
- PageADC_Show();
-
-
- #line 3646 "CodeLcd_osd.c" /1
-
-
-
- #line 3649 "CodeLcd_osd.c" /0
- break;
-
- case 15:
- PageFactory_Show();
- break;
-
- }
- }
-
- void Show_B_Process(void)
- {
- switch(ucOSD_Page_Index)
- {
- case 1:
- Page1B_Show();
- break;
-
-
- case 3:
- Page4B_Show();
- break;
-
-
-
- case 4:
- Page5B_Show();
- break;
-
- }
- }
-
-
-
-
-
-
-
-
-
-
-
-
- void OSD_Proc(unsigned char action)
- {
-
-
- #line 3695 "CodeLcd_osd.c" /1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #line 3712 "CodeLcd_osd.c" /0
-
- Data[0] = Sub_Page_Process(action);
-
- if(Data[0] == 1)
- action = 0x83;
- else if(Data[0] == 0)
- return;
-
- if((0 != ucMode_Curr)&&(255 != ucMode_Curr))
- {
- switch(action)
- {
- case 0x05 :
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- if (0 == (stGUD1.INPUT_SOURCE & 0x07) && 0 != ucMode_Curr && 255 != ucMode_Curr)
- {
- RTDOSDW(OSD_Reset);
- OSD_Position(0x01);
- RTDOSDW(OSD_AUTO);
- RTDOSDW(strTabAuto_Atb[stGUD1.FUNCTION & 0x07]);
- RTDSetBit(0x6D, 0xfe, 0x01);
- if (6 <= ucMode_Curr && 9 >= ucMode_Curr)
- {
- stMUD.CLOCK = 128;
- Set_H_Position();
- Set_Clock();
- Save_MUD(ucMode_Curr);
- if (0xfc == Auto_Phase())
- ucMode_Curr = 254;
- if (0xfc == Auto_Position())
- ucMode_Curr = 254;
- }
- else
- {
- if (0xfc == Auto_Config()) ucMode_Curr = 254;
-
- }
- b_rgb_VOLUME_STATUS = 0;
- ucOSD_Page_Index = 0;
- RTDSetByte(0x02, 0x40);
-
- RTDSetBit(0x6D, 0xfe, 0x00);
- RTDOSDW(OSD_Reset);
-
-
- }
- break;
-
- case 0x02:
- b_rgb_VOLUME_STATUS = 0;
- Enter_Key_Process();
- break;
-
- case 0x03:
- case 0x04:
- Left_Right_Key_Process(action);
- break;
-
- case 0x06 :
- rgb_EXIT_KEY();
- break;
-
- case 0x83:
- Show_Process();
- break;
-
- case 0x08:
- if(ucOSD_Page_Index == 0)
- Page0_LR_Key();
- break;
-
- case 0x09:
- if((stGUD3.TV_SETTING & 0x08) == 0x08 )
- {
- FACTORY_Key_Process();
- }
- break;
-
- default:
- break;
-
- }
- }
- }
-
- void OSD_Proc_B(unsigned char action)
- {
- switch(action)
- {
- case 0x02:
- Enter_Key_B_Process();
- break;
-
- case 0x03:
- case 0x04:
- Left_Right_Key_B_Process(action);
- break;
-
- case 0x06 :
- rgb_EXIT_KEY();
- case 0x83:
- Show_B_Process();
- break;
-
- default:
- break;
-
- }
- }
-
-
-
- #line 3837 "CodeLcd_osd.c" /1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #line 4454 "CodeLcd_osd.c" /0
-
-
- void OSD_Opening(void)
- {
- int idata num;
-
-
-
- OSD_Window( 7, 0 , 488, 0, 264,
- 0, 0, 14, 251, 0, 1, 1);
-
- Delay_Xms(128);
-
- RTDCodeW(OSD_Enable);
- RTDSetBit(0x6D, 0xfe, 0x01);
-
- for(num = 0;num < 112; num+=6)
- {
- OSD_Window( 7, 0 + num*2, 488 - num*2 , 0 + num, 264 - num,
- 0, 0, 14, 251, 0, 1, 1);
- }
-
- OSD_Window( 7, 0 + num*2, 488 - num*2 , 0 + num, 264 - num,
- 0, 0, 14, 251, 0, 1, 0);
-
-
-
-
- }
-
- void OSD_Ending(void)
- {
- int idata num;
-
- for(num = 112;num > 0; num-=6)
- {
- OSD_Window( 7, 0 + num*2, 488 - num*2 , 0 + num, 264 - num,
- 0, 0, 14, 251, 0, 1, 1);
- }
-
- RTDSetBit(0x6D, 0xfe, 0x00);
- RTDOSDW(OSD_Reset);
-
- OSD_Window( 7, 0 + num*2, 488 - num*2 , 0 + num, 264 - num,
- 0, 0, 14, 251, 0, 1, 0);
-
-
-
- #line 4544 "CodeLcd_osd.c" /1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #line 4585 "CodeLcd_osd.c" /0
- }
-
-
-
- void Show_Note(void)
- {
- RTDSetByte(0x02, 0x40);
- RTDSetBit(0x6D, 0xfe, 0x00);
-
- OSD_Position(0x01);
-
-
-
- switch (stGUD1.INPUT_SOURCE & 0x07)
- {
- case 0:
-
- RTDOSDW(OSD_RGB);
-
- break;
-
- case 1:
- RTDOSDW(OSD_DVI);
- break;
-
- case 2:
- RTDOSDW(OSD_AV);
- break;
-
- case 3:
- RTDOSDW(OSD_SV);
- break;
-
- case 4:
- RTDOSDW(OSD_YUV);
- break;
-
- case 5:
- RTDOSDW(OSD_TV);
- break;
-
- }
-
-
- RTDSetBit(0x6D, 0xfe, 0x01);
-
-
- }
-
-
-
- void Show_Hint(void)
- {
- if (0 == ucMode_Curr)
- {
- RTDSetByte(0x02, 0x40);
- RTDSetBit(0x6D, 0xfe, 0x00);
-
-
-
- if ((0 == (stGUD1.INPUT_SOURCE & 0x07)) && (0 != (M512_Port63&0x01)))
-
- #line 4647 "CodeLcd_osd.c" /1
-
-
- #line 4649 "CodeLcd_osd.c" /0
- {
- RTDOSDW(OSD_HINT_TABLE[0][stGUD1.FUNCTION & 0x07]);
- }
- else
- {
- RTDOSDW(OSD_Clean_All);
- RTDOSDW(OSD_HINT_TABLE[1][stGUD1.FUNCTION & 0x07]);
- }
-
-
- RTDSetBit(0x6D, 0xfe, 0x01);
- }
- else if ((255 == ucMode_Curr) || bOverSpec)
- {
- RTDSetByte(0x02, 0x40);
- RTDSetBit(0x6D, 0xfe, 0x00);
-
-
- RTDOSDW(OSD_HINT_TABLE[2][stGUD1.FUNCTION & 0x07]);
-
-
- RTDSetBit(0x6D, 0xfe, 0x01);
- }
- }
-
-
-
- #line 4676 "CodeLcd_osd.c" /1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #line 4743 "CodeLcd_osd.c" /0