//---------------------------------------------------------------------------------------------------- // ID Code : Panel.h No.0000 // Update Note : // //---------------------------------------------------------------------------------------------------- //#ifdef __MAIN__ #if _PANEL_TYPE == _SHARP_LVDS_LQ150 //change all 20090914 #define _PANEL_DISPLAY_RATIO _PANEL_4_3 #define _DISP_WID 800//1024 #define _DISP_LEN 600//768 #define LVDS_MAP LVDS_MAP1 //osd position, according to panel #define _OSD_HPOSITION_OFFSET 8 #define _OSD_VPOSITION_OFFSET 0 #if 1 //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 #else //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 #define _CTSRGB_RED_VGA 50 #define _CTSRGB_GREEN_VGA 50 #define _CTSRGB_BLUE_VGA 50 #define _CTSRGB_RED_VIDEO 50 #define _CTSRGB_GREEN_VIDEO 50 #define _CTSRGB_BLUE_VIDEO 50 #define _CTSRGB_RED_HDMI 50 #define _CTSRGB_GREEN_HDMI 50 #define _CTSRGB_BLUE_HDMI 50 #define _CTSRGB_RED_YPBPR 50 #define _CTSRGB_GREEN_YPBPR 50 #define _CTSRGB_BLUE_YPBPR 50 #endif #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 { _PANEL_LVDS, // Panel Style _DISP_SINGLE_PORT | _DISP_18_BIT, // 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 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_LVDS, // Panel Style _DISP_SINGLE_PORT | _DISP_24_BIT, // Panel Configuration 32, // Display Horizontal Start Position 800, // Display Horizontal Width 800+32, // Display Horizontal End Position 1056,//+80, //1056+140 // Display Horizontal Total Clock Number in One Display Line 1395, // Maxinum Display Horizontal Total Clock Number in One Display Line 940, // Mininum Display Horizontal Total Clock Number in One Display Line 12, // Display Vertical Start Position 600, // Display Vertical Height 600+12, // Display Vertical End Position 666, // Display Vertical Total Line Number in One Frame 698, // 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 40,// 34,//-5+2 ,//40, // Typical Pixel Clock in MHz 42,//42+8,// 42, // Maxinum Pixel Clock in MHz 35,// 35-5,// 35, // Mininum Pixel Clock in MHz } */ #else { // AU LVDS 15 _PANEL_LVDS, // Panel Style _DISP_SINGLE_PORT | _DISP_18_BIT,//| // Panel Configuration // _DISP_EO_SWAP, 32, // Display Horizontal Start Position 1024, // Display Horizontal Width 1056, // Display Horizontal End Position 1344, // Display Horizontal Total Clock Number in One Display Line 1720, // Maxinum Display Horizontal Total Clock Number in One Display Line 1056, // Mininum Display Horizontal Total Clock Number in One Display Line 12, // Display Vertical Start Position 768, // Display Vertical Height 780, // Display Vertical End Position 806, // Display Vertical Total Line Number in One Frame 990, // Maxinum Display Vertical Total Line Number in One Frame 773, // Mininum Display Vertical Total Line Number in One Frame 16, // Display H Sync Width 3, // Display V Sync Height 65, // Typical Pixel Clock in MHz 80, // Maxinum Pixel Clock in MHz 50, // Mininum Pixel Clock in MHz }, #endif }; #else extern code PanelType Panel[]; #endif #endif //#if _PANEL_TYPE==_AU_LVDS_T315XW01