📄 osd.lst
字号:
804 2 case Drivegreen:
805 2 case Driveblue:
806 2 case WHITELIMITE:
807 2 case BLACKLIMITE:
808 2 EEPROM_Write(sGammaAddrSt, &sGamma.Vg1, sGammaDataSize);
809 2 break;
810 2 case InputSource:
811 2 EEPROM_Write(sVideoInputSourceAddSt, &sImage.InputMode, sImageDataSize);
812 2 break;
813 2 case OSDHPosi:
814 2 case OSDVPosi:
815 2 EEPROM_Write(sOSDAddrSt, &sOSD.H_Pos, sOSDDataSize);
816 2 break;
817 2
818 2 case Video_VPosi:
819 2 case Video_HPosi:
820 2 EEPROM_Write(sVideoPosiAddSt, &sVideoPos.H_Pos, sVideoPosiDataSize);
821 2 break;
822 2 case ROTATION:
823 2 break;
824 2 case TVCH: // 060830 for TV EEPROM address(save channel and search channel)
825 2 EEPROM_Write(sTVChannelAddSt, &TVChannel, sTVChannelDataSize);
826 2 break;
827 2 case SaveTVSearch:
828 2 EEPROM_Write(sTVSearchAddSt, &TVSearchCH, sTVSearchDataSize);
829 2 break;
830 2 }
831 1
832 1 }
833
834 void GetProgressData(BYTE progress_no)
835 {
836 1 switch(progress_no)
837 1 {
838 2 case BRIGHT_BRIGHTNESS:
839 2 ItemValue.value = sBright.Brightness;
840 2 if(FactoryFg)
841 2 ItemValue.min = 0x00;//MinBright;
842 2 else
843 2 ItemValue.min = 0x40;//MinBright;
844 2 ItemValue.max = 0xFF;//MaxBright;
845 2 break;
846 2
847 2 case BRIGHT_SUBCONTRAST:
848 2 ItemValue.value = sBright.SubContrast;
849 2 ItemValue.min = 0x00;//MinBright;
850 2 ItemValue.max = 0x0F;//MaxBright;
851 2 break;
852 2
853 2 case InputSource:
854 2 ItemValue.value = sImage.InputMode;
855 2 ItemValue.min = 0x00;//MinBright;
856 2 ItemValue.max = 0x03;//MaxBright;
C51 COMPILER V7.09 OSD 09/06/2006 13:39:48 PAGE 15
857 2 break;
858 2
859 2 case SHARPNESS:
860 2 ItemValue.value = sColor.Sharpness;
861 2 ItemValue.min = 0x00;//MinBright;
862 2 ItemValue.max = 0x3F;//MaxBright;
863 2 break;
864 2
865 2 case ROTATION:
866 2 break;
867 2
868 2 case BRIGHT_CONTRAST:
869 2 ItemValue.value = sBright.Contrast;
870 2 ItemValue.min = 0x00;//MinCont;
871 2 ItemValue.max =0x7F;// MaxCont;
872 2 break;
873 2
874 2 case COLOR_SATURATION:
875 2 ItemValue.value = sColor.Saturation;
876 2 ItemValue.min = 0x00;//MinSat;
877 2 ItemValue.max =0x7F;// MaxSat;
878 2 break;
879 2
880 2 case COLOR_HUE:
881 2 ItemValue.value = sColor.Hue;
882 2 ItemValue.min = 0x00;//MinHue;
883 2 ItemValue.max= 0x7F;//MaxHue;
884 2 break;
885 2
886 2 case GammaVg1:
887 2 ItemValue.value = sGamma.Vg1;
888 2 ItemValue.min = 0x00;//0x00;
889 2 ItemValue.max =0xff;// 0xff;
890 2 break;
891 2
892 2 case GammaVg2:
893 2 ItemValue.value = sGamma.Vg2;
894 2 ItemValue.min = 0x00;//0x00;
895 2 ItemValue.max =0xff;// 0xff;
896 2 break;
897 2
898 2 case Vcomamp:
899 2 ItemValue.value = sGamma.CAMP;
900 2 ItemValue.min = 0x00;//0x00;
901 2 ItemValue.max =0xff;// 0xff;
902 2 break;
903 2
904 2 case Vcomdc:
905 2 ItemValue.value = sGamma.CDC;
906 2 ItemValue.min = 0x00;//0x00;
907 2 ItemValue.max =0xff;// 0xff;
908 2 break;
909 2
910 2 case Drivered:
911 2 ItemValue.value = sGamma.DR;
912 2 ItemValue.min = 0x00;//0x00;
913 2 ItemValue.max =0x3F;// 0xff;
914 2 break;
915 2
916 2 case Drivegreen:
917 2 ItemValue.value = sGamma.DG;
918 2 ItemValue.min = 0x00;//0x00;
C51 COMPILER V7.09 OSD 09/06/2006 13:39:48 PAGE 16
919 2 ItemValue.max =0x3F;// 0xff;
920 2 break;
921 2
922 2 case Driveblue:
923 2 ItemValue.value = sGamma.DB;
924 2 ItemValue.min = 0x00;//0x00;
925 2 ItemValue.max =0x3F;// 0xff;
926 2 break;
927 2
928 2 case OSDHPosi:
929 2 ItemValue.value = sOSD.H_Pos;
930 2 ItemValue.min = 0x07;//0x00;
931 2 ItemValue.max =0x24;// 0xff;
932 2 break;
933 2
934 2 case OSDVPosi:
935 2 ItemValue.value = sOSD.V_Pos;
936 2 ItemValue.min = 0x05;//0x00;
937 2 ItemValue.max =0x17;// 0xff;
938 2 break;
939 2
940 2 case WHITELIMITE:
941 2 ItemValue.value = sGamma.WhiteLimit;
942 2 ItemValue.min = 0x00;//0x00;
943 2 ItemValue.max =0x15;// 0xff;
944 2 break;
945 2
946 2 case BLACKLIMITE:
947 2 ItemValue.value = sGamma.BlackLimit;
948 2 ItemValue.min = 0x00;//0x00;
949 2 ItemValue.max =0x15;// 0xff;
950 2 break;
951 2
952 2 case Video_HPosi:
953 2 ItemValue.value = sVideoPos.H_Pos;
954 2 ItemValue.min = 0x45;//0x00;
955 2 ItemValue.max =0x7F;// 0xff;
956 2 break;
957 2
958 2 case Video_VPosi:
959 2 ItemValue.value = sVideoPos.V_Pos;
960 2 ItemValue.min = 0x04;//0x00;
961 2 ItemValue.max =0x64;// 0xff;
962 2 break;
963 2 }
964 1 }
965
966 void SetProgressData(BYTE progress_no)
967 {
968 1 switch(progress_no)
969 1 {
970 2 case BRIGHT_BRIGHTNESS:
971 2 Set_VideoBrightness();
972 2 break;
973 2
974 2 case SHARPNESS:
975 2 Set_VideoSharpness();
976 2 #if 0
#ifdef _MTV332_
Set_SharpPWM = 0xff;
#endif
#endif
C51 COMPILER V7.09 OSD 09/06/2006 13:39:48 PAGE 17
981 2 break;
982 2
983 2 case ROTATION:
984 2 break;
985 2
986 2 case BRIGHT_CONTRAST:
987 2 Set_VideoContrast();
988 2 break;
989 2
990 2 case BRIGHT_SUBCONTRAST:
991 2 Set_VideoSubContrast();
992 2 break;
993 2
994 2 case COLOR_SATURATION:
995 2 Set_VideoSaturation();
996 2 break;
997 2
998 2 case COLOR_HUE:
999 2 Set_VideoHue();
1000 2 break;
1001 2
1002 2 case GammaVg1:
1003 2 #ifdef _MTV332_
1004 2 // sGamma.Vg1= ItemValue.value;
1005 2 Set_GammaVg1();
1006 2 #if 0
GammaPWM_VG1L =sGamma.Vg1;
#endif
1009 2 #endif
1010 2 break;
1011 2
1012 2 case GammaVg2:
1013 2 #ifdef _MTV332_
1014 2 // sGamma.Vg2= ItemValue.value;
1015 2 Set_GammaVg2();
1016 2 #if 0
GammaPWM_VG2L =sGamma.Vg2;
#endif
1019 2 #endif
1020 2 break;
1021 2
1022 2 case Vcomamp:
1023 2 Set_VCOMAMP();
1024 2 break;
1025 2
1026 2 case Vcomdc:
1027 2 Set_VCOMDC();
1028 2 break;
1029 2
1030 2 case Drivered:
1031 2 Set_DriveR();
1032 2 break;
1033 2
1034 2 case Drivegreen:
1035 2 Set_DriveG();
1036 2 break;
1037 2
1038 2 case Driveblue:
1039 2 Set_DriveB();
1040 2 break;
1041 2
1042 2 case InputSource:
C51 COMPILER V7.09 OSD 09/06/2006 13:39:48 PAGE 18
1043 2 ShowInputSource(ItemValue.value);
1044 2 break;
1045 2
1046 2 case OSDHPosi:
1047 2 Set_OSD_H();
1048 2 break;
1049 2
1050 2 case OSDVPosi:
1051 2 Set_OSD_V();
1052 2 break;
1053 2
1054 2 case WHITELIMITE:
1055 2 Set_WhiteLimiter();
1056 2 break;
1057 2
1058 2 case BLACKLIMITE:
1059 2 Set_BlackLimiter();
1060 2 break;
1061 2
1062 2 case Video_VPosi:
1063 2 Set_Video_VPos();
1064 2 break;
1065 2
1066 2 case Video_HPosi:
1067 2 Set_Video_HPos();
1068 2 break;
1069 2 }
1070 1 }
1071
1072
1073 //void ShowEmptyBar1(BYTE start_x,BYTE start_y,BYTE value)
1074 void ShowEmptyBar1(BYTE start_x,BYTE start_y)
1075 {
1076 1 BYTE i;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -