//---------------------------------------------------------------------------------------------------- // ID Code : Panel.h No.0000 // Update Note : // //---------------------------------------------------------------------------------------------------- //#ifdef __MAIN__ #if _PANEL_TYPE == _MITSUBISHI_LVDS_12 #define _PANEL_DISPLAY_RATIO _PANEL_4_3 #define _DISP_WID 800 #define _DISP_LEN 600 #define LVDS_MAP LVDS_MAP1 //osd position, according to panel #define _OSD_HPOSITION_OFFSET 8 #define _OSD_VPOSITION_OFFSET 0 //20080919 ccy modify //20081126, x.hu, PQ finetune #define _CT9300_RED_VGA 48 //cool #define _CT9300_GREEN_VGA 49 #define _CT9300_BLUE_VGA 52 #define _CT7500_RED_VGA 47 //normal #define _CT7500_GREEN_VGA 45 #define _CT7500_BLUE_VGA 45 #define _CT6500_RED_VGA 48 //warm #define _CT6500_GREEN_VGA 45 #define _CT6500_BLUE_VGA 43 #define _CTUSER_RED_VGA _CT7500_RED_VGA //user #define _CTUSER_GREEN_VGA _CT7500_GREEN_VGA #define _CTUSER_BLUE_VGA _CT7500_BLUE_VGA #define _CT9300_RED_VIDEO 48 //cool #define _CT9300_GREEN_VIDEO 51 #define _CT9300_BLUE_VIDEO 50 #define _CT7500_RED_VIDEO 50 //normal #define _CT7500_GREEN_VIDEO 50 #define _CT7500_BLUE_VIDEO 50 #define _CT6500_RED_VIDEO 54 //warm #define _CT6500_GREEN_VIDEO 50 #define _CT6500_BLUE_VIDEO 50 #define _CTUSER_RED_VIDEO _CT7500_RED_VIDEO //user #define _CTUSER_GREEN_VIDEO _CT7500_GREEN_VIDEO #define _CTUSER_BLUE_VIDEO _CT7500_BLUE_VIDEO #define _CT9300_RED_HDMI _CT9300_RED_VIDEO //cool #define _CT9300_GREEN_HDMI _CT9300_GREEN_VIDEO #define _CT9300_BLUE_HDMI _CT9300_BLUE_VIDEO #define _CT7500_RED_HDMI _CT7500_RED_VIDEO //normal #define _CT7500_GREEN_HDMI _CT7500_GREEN_VIDEO #define _CT7500_BLUE_HDMI _CT7500_BLUE_VIDEO #define _CT6500_RED_HDMI _CT6500_RED_VIDEO //warm #define _CT6500_GREEN_HDMI _CT6500_GREEN_VIDEO #define _CT6500_BLUE_HDMI _CT6500_BLUE_VIDEO #define _CTUSER_RED_HDMI _CTUSER_RED_VIDEO //user #define _CTUSER_GREEN_HDMI _CTUSER_GREEN_VIDEO #define _CTUSER_BLUE_HDMI _CTUSER_BLUE_VIDEO #define _CT9300_RED_YPBPR _CT9300_RED_VIDEO //cool #define _CT9300_GREEN_YPBPR _CT9300_GREEN_VIDEO #define _CT9300_BLUE_YPBPR _CT9300_BLUE_VIDEO #define _CT7500_RED_YPBPR _CT7500_RED_VIDEO //normal #define _CT7500_GREEN_YPBPR _CT7500_GREEN_VIDEO #define _CT7500_BLUE_YPBPR _CT7500_BLUE_VIDEO #define _CT6500_RED_YPBPR _CT6500_RED_VIDEO //warm #define _CT6500_GREEN_YPBPR _CT6500_GREEN_VIDEO #define _CT6500_BLUE_YPBPR _CT6500_BLUE_VIDEO #define _CTUSER_RED_YPBPR _CTUSER_RED_VIDEO //user #define _CTUSER_GREEN_YPBPR _CTUSER_GREEN_VIDEO #define _CTUSER_BLUE_YPBPR _CTUSER_BLUE_VIDEO /* //Y=320 #define _CT9300_RED_VGA 48-4 //9300 #define _CT9300_GREEN_VGA 59-4 #define _CT9300_BLUE_VGA 45+5 #define _CT7500_RED_VGA 51-4 //7500 #define _CT7500_GREEN_VGA 59-3 #define _CT7500_BLUE_VGA 38+5 #define _CT6500_RED_VGA 54-3 //6500 #define _CT6500_GREEN_VGA 59-3 #define _CT6500_BLUE_VGA 33+5 #define _CTUSER_RED_VGA 50 #define _CTUSER_GREEN_VGA 50 #define _CTUSER_BLUE_VGA 50 //Y=360 #define _CT9300_RED_HDMI 49-3 //9300 #define _CT9300_GREEN_HDMI 58-3 #define _CT9300_BLUE_HDMI 42+8 #define _CT7500_RED_HDMI 52-3 //7500 #define _CT7500_GREEN_HDMI 58-3 #define _CT7500_BLUE_HDMI 35+8 #define _CT6500_RED_HDMI 55-3 //6500 #define _CT6500_GREEN_HDMI 58-3 #define _CT6500_BLUE_HDMI 30+8 #define _CTUSER_RED_HDMI 50 #define _CTUSER_GREEN_HDMI 50 #define _CTUSER_BLUE_HDMI 50 //Y=360 #define _CT9300_RED_VIDEO 48-3 //9300 #define _CT9300_GREEN_VIDEO 58-3 #define _CT9300_BLUE_VIDEO 42+8 #define _CT7500_RED_VIDEO 53-3 //7500 #define _CT7500_GREEN_VIDEO 59-3 #define _CT7500_BLUE_VIDEO 36+8 #define _CT6500_RED_VIDEO 56-3 //6500 #define _CT6500_GREEN_VIDEO 59-3 #define _CT6500_BLUE_VIDEO 31+8 #define _CTUSER_RED_VIDEO 50 #define _CTUSER_GREEN_VIDEO 50 #define _CTUSER_BLUE_VIDEO 50 //Y=360 #define _CT9300_RED_YPBPR 55-10 //9300 #define _CT9300_GREEN_YPBPR 64-5 #define _CT9300_BLUE_YPBPR 45+5 #define _CT7500_RED_YPBPR 58-10 //7500 #define _CT7500_GREEN_YPBPR 64-5 #define _CT7500_BLUE_YPBPR 45+5 #define _CT6500_RED_YPBPR 61-10 //6500 #define _CT6500_GREEN_YPBPR 64-5 #define _CT6500_BLUE_YPBPR 33+5 #define _CTUSER_RED_YPBPR 50 #define _CTUSER_GREEN_YPBPR 50 #define _CTUSER_BLUE_YPBPR 50 */ #ifdef __SCALER__ //-------------------------------------------------- // Panel Configuration : // _DISP_DOUBLE_PORT | _DISP_EO_SWAP | _DISP_RB_SWAP | _DISP_ML_SWAP | // _DISP_18_BIT | _RSDS_GC_SWAP | _RSDS_HL_SWAP | _RSDS_PN_SWAP, //-------------------------------------------------- code PanelType Panel[] = { #if 1//x.hu test TTL 12" { _PANEL_LVDS, // Panel Style _DISP_SINGLE_PORT | _DISP_18_BIT,//|_DISP_EO_SWAP, // Panel Configuration 32, // Display Horizontal Start Position 800, // Display Horizontal Width 800+32, // Display Horizontal End Position 1056-20,//+80, //1056+140 // Display Horizontal Total Clock Number in One Display Line 1396, // Maxinum Display Horizontal Total Clock Number in One Display Line 832, // Mininum Display Horizontal Total Clock Number in One Display Line //18, // Display Vertical Start Position //1024, // Display Vertical Height //1044, // Display Vertical End Position 12, // Display Vertical Start Position 600, // Display Vertical Height 600+12, // Display Vertical End Position 666, // Display Vertical Total Line Number in One Frame 798, // Maxinum Display Vertical Total Line Number in One Frame 628, // Mininum Display Vertical Total Line Number in One Frame 16, // Display H Sync Width 3, // Display V Sync Height 100,// 34,//-5+2 ,//40, // Typical Pixel Clock in MHz 110,//42+8,// 42, // Maxinum Pixel Clock in MHz 80,// 35-5,// 35, // Mininum Pixel Clock in MHz /* _PANEL_TTL, // Panel Style _DISP_SINGLE_PORT | _DISP_24_BIT,//| // Panel Configuration 12, // Display Horizontal Start Position 800, // Display Horizontal Width 812, // Display Horizontal End Position 1056-100-100, // Display Horizontal Total Clock Number in One Display Line 1136, // Maxinum Display Horizontal Total Clock Number in One Display Line 917, // Mininum Display Horizontal Total Clock Number in One Display Line 2-1, // Display Vertical Start Position 600, // Display Vertical Height 602-1, // Display Vertical End Position 628, // Display Vertical Total Line Number in One Frame 640, // Maxinum Display Vertical Total Line Number in One Frame 612, // Mininum Display Vertical Total Line Number in One Frame 8,//5, // Display H Sync Width 1, // Display V Sync Height 37, // Typical Pixel Clock in MHz 40, // Maxinum Pixel Clock in MHz 35, // Mininum Pixel Clock in MHz */ } #else { // AU LVDS 15 //20081008 ccy modify _PANEL_TTL, // Panel Style _DISP_SINGLE_PORT | _DISP_24_BIT,//| // Panel Configuration // _DISP_EO_SWAP, /* 32, // Display Horizontal Start Position 800, // Display Horizontal Width 800+32, // Display Horizontal End Position */ /* 1056-100, // Display Horizontal Total Clock Number in One Display Line 1056, // Maxinum Display Horizontal Total Clock Number in One Display Line 832, // Mininum Display Horizontal Total Clock Number in One Display Line 12, // Display Vertical Start Position 600, // Display Vertical Height 612, // Display Vertical End Position 628, // Display Vertical Total Line Number in One Frame 650, // Maxinum Display Vertical Total Line Number in One Frame 610, // Mininum Display Vertical Total Line Number in One Frame 16, // Display H Sync Width 3, // Display V Sync Height 45, // Typical Pixel Clock in MHz 50, // Maxinum Pixel Clock in MHz 35, // Mininum Pixel Clock in MHz */ /* 1024-45, // Display Horizontal Total Clock Number in One Display Line 1056, // Maxinum Display Horizontal Total Clock Number in One Display Line 852, // Mininum Display Horizontal Total Clock Number in One Display Line 12, // Display Vertical Start Position 600, // Display Vertical Height 612, // Display Vertical End Position 625, // 625+60, // Display Vertical Total Line Number in One Frame 713,// 713+60, // Maxinum Display Vertical Total Line Number in One Frame 603, // 603+60, // Mininum Display Vertical Total Line Number in One Frame 16, // Display H Sync Width 3, // Display V Sync Height 45,//65-5-10, // Typical Pixel Clock in MHz 60,// 30,//80-5-10, // Maxinum Pixel Clock in MHz 30, //50-10, // Mininum Pixel Clock in MHz */ 32, // Display Horizontal Start Position 800, // Display Horizontal Width 832, // Display Horizontal End Position /* 832,//996+120+50,//832,// // Display Horizontal Total Clock Number in One Display Line 842,//1078+120+50,//842,// // Maxinum Display Horizontal Total Clock Number in One Display Line 812,//832+50,//812,// // Mininum Display Horizontal Total Clock Number in One Display Line 12+10, // Display Vertical Start Position 600, // Display Vertical Height 612+10, // Display Vertical End Position 625,//616, // Display Vertical Total Line Number in One Frame 640, // Maxinum Display Vertical Total Line Number in One Frame 612, // Mininum Display Vertical Total Line Number in One Frame 16, // Display H Sync Width 3, // Display V Sync Height 27,//18,// // Typical Pixel Clock in MHz 40+20,//20,// // Maxinum Pixel Clock in MHz 15,//14, // // Mininum Pixel Clock in MHz */ 1024-80,//832+100, // Display Horizontal Total Clock Number in One Display Line 1056, // Maxinum Display Horizontal Total Clock Number in One Display Line 832,//900, // Mininum Display Horizontal Total Clock Number in One Display Line /* 1024, // Display Horizontal Total Clock Number in One Display Line 1068, // Maxinum Display Horizontal Total Clock Number in One Display Line 900, // Mininum Display Horizontal Total Clock Number in One Display Line */ 12, // Display Vertical Start Position 600, // Display Vertical Height 612, // Display Vertical End Position 625+60, // Display Vertical Total Line Number in One Frame 713+60, // Maxinum Display Vertical Total Line Number in One Frame 603+60, // Mininum Display Vertical Total Line Number in One Frame 16, // Display H Sync Width 3, // Display V Sync Height 45,//65-5-10, // Typical Pixel Clock in MHz 55,//80-5-10, // Maxinum Pixel Clock in MHz 20,//50-10, // Mininum Pixel Clock in MHz }, #endif }; #else extern code PanelType Panel[]; #endif #endif //#if _PANEL_TYPE==_AU_LVDS_T315XW01