📄 au_7_a.c
字号:
/****************************************************************************
* File: AU_7_A.c *
* Description: This file includes Tcon values and ScanMode for AU 7" *
* analog panel *
****************************************************************************/
REGADRVAL code stINTT10xP0[]={
//adr , value
0x50 , 0x06, //VSYNC_TIME_MEA_REG
0x38 , 0x50, //HSYNC_MISSCNT_L_REG
0x39 , 0x00, //HSYNC_MISSCNT_H_REG
0x3A , 0x20, //VSYNC_DLT_REG
0x3B , 0x03, //HSYNC_DLT_REG
};
#ifdef TCON
uCHAR code TconP1Data[]={ //10~35
0x21,TIME_PROTOCOL,0x02,0x02,0x0C,0x02,0x02,0xf2,0x01,0x29,0x00,
0x01,0x18,GATE_PREDRIVE,0x00,0x00,0x01,0xFB,0x01,0x37,0x00,0x06
};
#endif
/*******************************************************************************
* T10x Panel specified register settings *
* (including default Brightness/Contrast/Sat *
*******************************************************************************/
uCHAR code ucaPanelSpecAdrP0[]={ //
0x79, 0xc7, 0x65, 0x66
};
uCHAR code ucaPanelSpecDataP0[]={ //
0x00, 0x00, 0x08, 0x88
};
uCHAR code ucaPanelSpecAdrP2[]={ //
0x08, 0x09, 0x0a
};
#ifdef T112
uCHAR code ucaPanelSpecDataP2[]={ //
//Constrast, Bright, Sat
0x50, 0x3e, 0xa0
};
#else
uCHAR code ucaPanelSpecDataP2[]={ //
//Constrast, Bright, Sat
0x6b, 0x28, 0xa0
};
#endif
/*******************************************************************************
* T10x Output timing Register Adress and Value for static condition *
*******************************************************************************/
//====== Output timing Register Adress ===========//
uCHAR code ucaZoomAdrP0[]={
0x40, 0x70, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, 0x84, 0x85, 0x88, 0x89, 0x8a, 0x8b, 0xc8,
0xb0, 0xb2, 0xb6, 0xb8, 0xbe, 0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf, 0x30, 0x79 , 0xe2
};
uCHAR code ucaZoomAdrP2[]={
0x2e, 0x2f, 0x30, 0x31
};
//====== Output timing Register Value ===========//
uWORD code ucaZoomDataP0_NTSC[]={
//0x40, 0x70, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, 0x84, 0x85, 0x88, 0x89, 0x8a, 0x8b, 0xc8,
//0xb0, 0xb2, 0xb6, 0xb8, 0xbe, 0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf, 0x30, 0x79 , 0xe2
//full
0x09, 0xb1, 0x88, 0xbb, 0xd0, 0x7f, 0x00, 0x00, 0x8d, 0x0b, 0x00, 0x00, 0x00, 0x00, 0x15,
0x3A, 0x11, 0xea, 0x67, 0x03, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0xea, 0x00, 0x83, 0x00, 0x11,
//Zoom 1
// 0x10, 0x88, 0xb8, 0x90, 0x6D, 0x00, 0x00, 0x8D, 0x83, 0x00, 0x00, 0x00, 0x00, 0x15,
// 0x16, 0x0F, 0xea, 0x12, 0x07, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0xea, 0x00,
0x10, 0xb1, 0x88, 0xb8, 0x90, 0x68, 0x00, 0x00, 0x8d, 0x3b, 0x00, 0x00, 0x00, 0x00, 0x16,
0x16, 0x1C, 0xea, 0x12, 0x07, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0xea, 0x00, 0x83, 0x00, 0x11,
//Zoom 2, zoom wide 1 in Himax8806A
0x10, 0xb1, 0x00, 0xbb, 0x90, 0x6D, 0x00, 0xc8, 0x8D, 0x83, 0x00, 0x00, 0x00, 0x00, 0x15,
0x16, 0x0F, 0xea, 0x12, 0x07, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0xea, 0x00, 0x83, 0x00, 0x11,
//_4:3
0x15, 0xb1, 0x10, 0xf7, 0xd0, 0x7f, 0x00, 0x00, 0x2f, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x15,
0x3A, 0x11, 0xea, 0x6e, 0x03, 0x3c, 0x00, 0x00, 0x00, 0x68, 0x01, 0xea, 0x00, 0x83, 0x00, 0x11,
//Zoom 3, zoom 2 in Himax
0x10, 0xb1, 0x88, 0xb8, 0x80, 0x76, 0x00, 0x00, 0x8d, 0x80, 0x00, 0x00, 0x00, 0x00, 0x15,
0x16, 0x0f, 0xea, 0x36, 0x07, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0xea, 0x00, 0x83, 0x00, 0x11,
//Zoom 4, wide in Himax 8806A
0x10, 0xb1, 0x00, 0xbb, 0xd0, 0x7f, 0x00, 0xc8, 0x8d, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x15,
0x3A, 0x11, 0xea, 0x66, 0x03, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0xea, 0x00, 0x83, 0x00, 0x11,
//Zoom5 , zoom wide 2 in Himax 8806A
0x10, 0xb1, 0x88, 0xb8, 0x80, 0x76, 0x00, 0x84, 0x8d, 0x80, 0x00, 0x00, 0x00, 0x00, 0x15,
0x16, 0x0f, 0xea, 0x36, 0x07, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0xea, 0x00, 0x83, 0x00, 0x11,
//Zoom6, zoom 3 in Himax 8806A
0x10, 0xb1, 0x88, 0xb8, 0x60, 0x76, 0x00, 0x00, 0x8d, 0x49, 0x00, 0x00, 0x00, 0x00, 0x15,
0x16, 0x0f, 0xea, 0x3e, 0x05, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0xea, 0x00, 0x83, 0x00, 0x11,
//Zoom7
0x3c, 0xb1, 0xA9, 0x3A, 0x29, 0x64, 0x00, 0x00, 0x00, 0x8b, 0x00, 0x00, 0x00, 0x00, 0x17,
0x10, 0x1f, 0xea, 0x0f, 0x03, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0xEA, 0x00, 0x03, 0x20, 0x11,
};
uWORD code ucaZoomDataP0_PAL[]={
//0x40, 0x70, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, 0x84, 0x85, 0x88, 0x89, 0x8a, 0x8b, 0xc8,
//0xb0, 0xb2, 0xb6, 0xb8, 0xbe, 0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf, 0x30, 0x79 , 0xe2
//full
0x0C, 0xb1, 0x99, 0xB9, 0x29, 0x99, 0x00, 0x00, 0x00, 0x0d, 0x00, 0x00, 0x00, 0x00, 0x15,
0x79, 0x11, 0xEA, 0xE4, 0x03, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0xea, 0x00, 0x83, 0x00, 0x11,
//Zoom 1
0x0c, 0xb1, 0x99, 0xB9, 0x29, 0x7F, 0x00, 0x00, 0xDD, 0x1A, 0x00, 0x00, 0x00, 0x00, 0x15,
0x71, 0x2C, 0xEA, 0x6F, 0x03, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0xEA, 0x00, 0x83, 0x00, 0x11,
//Zoom 2, zoom wide 1 in Himax8806A
0x14, 0xb1, 0x99, 0xB9, 0x29, 0x7F, 0x00, 0x8C, 0xDD, 0x1B, 0x00, 0x00, 0x00, 0x00, 0x15,
0x71, 0x2C, 0xEA, 0x6E, 0x03, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0xEA, 0x00, 0x83, 0x00, 0x11,
//_4:3
0x0C, 0xb1, 0x99, 0xf7, 0x29, 0x99, 0x00, 0x00, 0xDD, 0x12, 0x57, 0x00, 0x90, 0x01, 0x15,
0x71, 0x11, 0xEA, 0xE1, 0x03, 0x3c, 0x00, 0x00, 0x00, 0xE0, 0x01, 0xEA, 0x00, 0x83, 0x00, 0x11,
//Zoom 3, zoom 2 in Himax
0x0c, 0xb1, 0x99, 0xB9, 0x29, 0x8D, 0x00, 0x00, 0xDD, 0x12, 0x00, 0x00, 0x00, 0x00, 0x15,
0x79, 0x23, 0xEA, 0xB3, 0x03, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0xEA, 0x00, 0x83, 0x00, 0x11,
//Zoom 4, wide in Himax 8806A
0x0c, 0xb1, 0x99, 0xB9, 0x29, 0x99, 0x00, 0xCA, 0xDD, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x15,
0x79, 0x11, 0xEA, 0xE3, 0x03, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0xea, 0x00, 0x83, 0x00, 0x11,
//Zoom5 , zoom wide 2 in Himax 8806A
0x0c, 0xb1, 0x99, 0xB9, 0x29, 0x8D, 0x00, 0xCA, 0xDD, 0x12, 0x00, 0x00, 0x00, 0x00, 0x15,
0x79, 0x23, 0xEA, 0xB3, 0x03, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0xEA, 0x00, 0x83, 0x00, 0x11,
//Zoom6, zoom 3 in Himax 8806A
0x0c, 0xb1, 0x99, 0xB9, 0x29, 0x8D, 0x00, 0x00, 0xDD, 0x04, 0x00, 0x00, 0x00, 0x00, 0x15,
0x79, 0x22, 0xEA, 0xA7, 0x03, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0xEA, 0x00, 0x83, 0x00, 0x11,
//Zoom7
0x16, 0xb1, 0xA9, 0x3A, 0x29, 0x76, 0x00, 0x00, 0xDD, 0x9f, 0x00, 0x00, 0x00, 0x00, 0x16,
0x10, 0x23, 0xea, 0x55, 0x03, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0xEA, 0x00, 0x03, 0x20, 0x11,
/* bigger size
0x3c, 0xA9, 0x3A, 0x29, 0x64, 0x00, 0x00, 0xDD, 0x92, 0x00, 0x00, 0x00, 0x00, 0x17,
0x10, 0x37, 0xea, 0x0f, 0x03, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0xEA, 0x00, 0x03, 0x20,
*/
};
uCHAR code ucaZoomDataP2_NTSC[]={
//full
0x88, 0x50, 0x26, 0x69,
// Zoom 1
0x88, 0x50, 0x20, 0x41,
// Zoom 2
0x88, 0x50, 0x20, 0x41,
//_4:3
0x82, 0x50, 0x26, 0x69,
// Zoom 3, Zoom2 in Himax
0x88, 0x50, 0x20, 0x69,
// Zoom 4
0x88, 0x50, 0x26, 0x69,
// Zoom 5, zoom wide 2 in Himax 8806A
0x88, 0x50, 0x20, 0x69,
// Zoom 6, zoom 3 in Himax 8806A
0x88, 0x50, 0x38, 0x69,
// Zoom 7
0xD8, 0x00, 0x5A, 0x61
};
uCHAR code ucaZoomDataP2_PAL[]={
//full
0x88, 0x50, 0x2E, 0xC1,
// Zoom 1
0x88, 0x50, 0x64, 0x8C,
// Zoom 2
0x88, 0x50, 0x64, 0x8C,
//_4:3
0x82, 0x50, 0x2E, 0xC1,
// Zoom 3, Zoom2 in Himax
0x88, 0x50, 0x58, 0x95,
// Zoom 4
0x88, 0x50, 0x2E, 0xC1,
// Zoom 5, zoom wide 2 in Himax 8806A
0x88, 0x50, 0x58, 0x95,
// Zoom 6, zoom 3 in Himax 8806A
0x88, 0x50, 0x4C, 0xA2,
// Zoom 7
//0xD8, 0x00, 0x8A, 0x31 //bigger size
0xb0, 0x28, 0x38, 0x71
};
/****************************************************************************
* Rotate Constant Definition *
****************************************************************************/
#ifdef ROTATE
uCHAR code ScanMode[]={
//TopLeft,TopRight,BottomRight,BottomLeft
0xf4 , 0xe0 , 0xa8 , 0xbc };
#ifndef ANALOG_PANEL
uCHAR code DigiPanlScanMode[]={
//TopLeft,TopRight,BottomRight,BottomLeft
// 01b , 00b , 10b , 11b
1 , 0 , 2 , 3 };
#endif
#endif // end of ROTATE
/****************************************************************************
* Gamma Table *
****************************************************************************/
#ifdef GAMMADAT_Default
uCHAR code GammaDataTableRGB0[] = {
0x00,0x20,0x38,0x48,0x58,0x62,0x70,0x7c,
0x88,0x90,0x98,0xa0,0xa6,0xab,0xb2,0xb8,
0xbe,0xc3,0xc8,0xce,0xd3,0xd7,0xdb,0xdf,
0xe3,0xe7,0xeb,0xef,0xf2,0xf4,0xf7,0xfb,0xff};
code uCHAR **pcGammaData[]={
GammaDataTableRGB0,
GammaDataTableRGB0,
GammaDataTableRGB0
};
#else
uCHAR code GammaDataTableR[] = {
0x00,0x00,0x22,0x36,0x43,0x4e,0x57,0x5e,0x66,0x6b,0x70,0x75,
0x79,0x7e,0x81,0x85,0x88,0x8c,0x8f,0x92,0x95,0x99,0x9b,0x9e,
0xa1,0xa5,0xa8,0xab,0xae,0xb2,0xb5,0xb9,0xc0
};
uCHAR code GammaDataTableG[] = {
0x00,0x0a,0x21,0x32,0x3f,0x4a,0x53,0x5b,0x63,0x68,0x6e,0x73,
0x77,0x7c,0x80,0x84,0x87,0x8b,0x8f,0x92,0x95,0x99,0x9c,0x9f,
0xa3,0xa7,0xab,0xaf,0xb4,0xb9,0xc0,0xc9,0xff
};
uCHAR code GammaDataTableB[] = {
0x00,0x00,0x0e,0x27,0x36,0x41,0x4b,0x52,0x5a,0x5f,0x65,0x6a,
0x6e,0x73,0x77,0x7b,0x7e,0x81,0x85,0x88,0x8b,0x8f,0x92,0x94,
0x98,0x9c,0xa0,0xa3,0xa7,0xac,0xb2,0xbb,0xff
};
uCHAR code GammaDataTableVIDEO0[] ={
0, 7, 15, 23, 31, 39, 47, 55,
63, 71, 79, 87, 95, 103,111,119,
127,135,143,151,159,167,175,183,
191,199,207,215,223,231,239,247,255
};
uCHAR code GammaDataTableVIDEO1[] ={
0, 7, 15, 23, 31, 39, 47, 55,
63, 71, 79, 87, 95, 103,111,119,
127,135,143,151,159,167,175,183,
191,199,207,215,223,231,239,247,255
};
uCHAR code GammaDataTableVIDEO2[] ={
0, 7, 15, 23, 31, 39, 47, 55,
63, 71, 79, 87, 95, 103,111,119,
127,135,143,151,159,167,175,183,
191,199,207,215,223,231,239,247,255
};
CODE uCHAR **pcGammaData[] = {
GammaDataTableR, // Mode 0 R channel gamma data point
GammaDataTableG, // Mode 0 G channel gamma data point
GammaDataTableB, // Mode 0 B channel gamma data point
GammaDataTableVIDEO0, // Mode 1 R channel gamma data point
GammaDataTableVIDEO1, // Mode 1 G channel gamma data point
GammaDataTableVIDEO2, // Mode 1 B channel gamma data point
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -