📄 lcdtv.h
字号:
/*++
Copyright (c) 2001 Sunplus Technology Co., Ltd.
Module Name:
lcdtv.h
Abstract:
Header file related to LCD/TV modules
Environment:
Keil C51 Compiler
Revision History:
08/28/2001 Chi-Yeh Tsai created
--*/
//------------------------------------------------------------------------------
//Constant
//------------------------------------------------------------------------------
//LCD/TV encoder output control
#define K_DISPLAY_CompTvNtsc 0 //0x00
#define K_DISPLAY_CompTvPal 1 //0x01
#define K_DISPLAY_Ccir656Ntsc 2 //0x02
#define K_DISPLAY_Ccir656Pal 3 //0x03
#define K_DISPLAY_Ccir601Ntsc8 4 //0x04
#define K_DISPLAY_Ccir601Pal8 5 //0x05
#define K_DISPLAY_Ccir601Ntsc16 6 //0x06
#define K_DISPLAY_Ccir601Pal16 7 //0x07
#define K_DISPLAY_Ups051 8 //0x08
#define K_DISPLAY_Epson 9 //0x09
#define K_DISPLAY_Casio 10 //0x0a
#define K_DISPLAY_StnLcd 11 //0x0b
#define K_DISPLAY_VgaTftLcd 12 //0x0c
#define K_DISPLAY_Au015An02 13 //0x0d
#define K_DISPLAY_StnLcd160 14 //0x0e
#define K_DISPLAY_Svga 15 //0x0f
#define K_DISPLAY_Au015Bl01 16 //0x10 //patch5.2.1@cwh@AU015BL01;2003/08/08
#define K_DISPLAY_Tc015Treb1 17 //0x11 //patch5.2.1@cwh@Toppoly TC015TREB1;2003/08/27
// patch 5.2.1_28@mattwang@rename CASIO2G to CASIO2G1181 beg
#define K_DISPLAY_Casio2G1181 18 //0x12 //patch5.2.1@cwh@Casio2G ;2003/09/24
// patch 5.2.1_28@mattwang@rename CASIO2G to CASIO2G1181 end
// patch 5.2.1_28@mattwang@add CASIO2G1163 LCD pannel beg
#define K_DISPLAY_Casio2G1163 19 //0x13
// patch 5.2.1_28@mattwang@add CASIO2G1163 LCD pannel end
// patch 5.2.1_30@mattwang@add STNLCD128 LCD pannel beg
#define K_DISPLAY_StnLcd128 20 //0x14
// patch 5.2.1_30@mattwang@add STNLCD128 LCD pannel end
// patch 5.2.1_33@mattwang@add AU015AN04 LCD pannel beg
#define K_DISPLAY_Au015An04 21 //0x15
// patch 5.2.1_33@mattwang@add AU015AN04 LCD pannel end
//Resolution of LCD/TV
#define K_DISPLAY_TvNtscWidth ((USHORT)720)
#define K_DISPLAY_TvNtscHeight ((USHORT)480)
#define K_DISPLAY_TvPalWidth ((USHORT)720)
#define K_DISPLAY_TvPalHeight ((USHORT)576)
#define K_DISPLAY_Ups051Width ((USHORT)288)
#define K_DISPLAY_Ups051Height ((USHORT)224)
#define K_DISPLAY_Au015An02Width ((USHORT)312)
#define K_DISPLAY_Au015An02Height ((USHORT)220)
#define K_DISPLAY_EpsonWidth ((USHORT)312)
#define K_DISPLAY_EpsonHeight ((USHORT)232)
#define K_DISPLAY_CasioWidth ((USHORT)356)
#define K_DISPLAY_CasioHeight ((USHORT)240)
#define K_DISPLAY_StnLcdWidth ((USHORT)240)
#define K_DISPLAY_StnLcdHeight ((USHORT)160)
#define K_DISPLAY_StnLcd160Width ((USHORT)160)
#define K_DISPLAY_StnLcd160Height ((USHORT)120)
#define K_DISPLAY_VgaTftLcdWidth ((USHORT)640)
#define K_DISPLAY_VgaTftLcdHeight ((USHORT)480)
#define K_DISPLAY_SvgaWidth ((USHORT)800)
#define K_DISPLAY_SvgaHeight ((USHORT)600)
#define K_DISPLAY_Au015Bl01Width ((USHORT)510) //patch5.2.1@cwh@AU015BL01;2003/08/08
#define K_DISPLAY_Au015Bl01Height ((USHORT)250)
#define K_DISPLAY_Au015Bl01Width1 ((USHORT)312) //patch5.2.1@cwh@AU015BL01;2003/08/08
#define K_DISPLAY_Au015Bl01Height1 ((USHORT)250)
// patch 5.2.1_28@mattwang@rename CASIO2G to CASIO2G1181 beg
#define K_DISPLAY_Casio2G1181Width ((USHORT)480) //patch5.2.1@cwh@CASIO2G;2003/09/24
#define K_DISPLAY_Casio2G1181Height ((USHORT)240)
// patch 5.2.1_28@mattwang@rename CASIO2G to CASIO2G1181 end
// patch 5.2.1_28@mattwang@add CASIO2G1163 LCD pannel beg
#define K_DISPLAY_Casio2G1163Width ((USHORT)280)
#define K_DISPLAY_Casio2G1163Height ((USHORT)226)
// patch 5.2.1_28@mattwang@add CASIO2G1163 LCD pannel end
// patch 5.2.1_30@mattwang@add STNLCD128 LCD pannel beg
#define K_DISPLAY_StnLcd128Width ((USHORT)128)
#define K_DISPLAY_StnLcd128Height ((USHORT)128)
// patch 5.2.1_30@mattwang@add STNLCD128 LCD pannel end
// patch 5.2.1_33@mattwang@add AU015AN04 LCD pannel beg
#define K_DISPLAY_Au015An04Width ((USHORT)340)
#define K_DISPLAY_Au015An04Height ((USHORT)232)
// patch 5.2.1_33@mattwang@add AU015AN04 LCD pannel end
//yichang@0503
#define K_TmbCasioNineWidth ((USHORT)108)
#define K_TmbCasioNineHeight ((USHORT)72)
//patch4.4@richie@casio
//K_TmbCasioXGap change to 8 for color mistake when playback thumbnail in casio panel
#define K_TmbCasioXGap ((USHORT)8)
#define K_TmbCasioYGap ((USHORT)6)
#define K_TmbStnLcdNineWidth ((USHORT)72)
#define K_TmbStnLcdNineHeight ((USHORT)48)
#define K_TmbStnLcdXGap ((USHORT)6)
#define K_TmbStnLcdYGap ((USHORT)4)
#define K_TmbTvNtscNineWidth ((USHORT)216)
#define K_TmbTvNtscNineHeight ((USHORT)144)
#define K_TmbTvNtscXGap ((USHORT)18)
#define K_TmbTvNtscYGap ((USHORT)12)
#define K_TmbTvPalNineWidth ((USHORT)216)
#define K_TmbTvPalNineHeight ((USHORT)160)
#define K_TmbTvPalXGap ((USHORT)18)
#define K_TmbTvPalYGap ((USHORT)24)
#define K_TmbUps051NineWidth ((USHORT)80)
#define K_TmbUps051NineHeight ((USHORT)60)
#define K_TmbUps051XGap ((USHORT)18)
#define K_TmbUps051YGap ((USHORT)11)
#define K_TmbAu015NineWidth ((USHORT)96)
#define K_TmbAu015NineHeight ((USHORT)60)
#define K_TmbAu015XGap ((USHORT)6)
#define K_TmbAu015YGap ((USHORT)10)
#define K_TmbEpsonNineWidth ((USHORT)96)
#define K_TmbEpsonNineHeight ((USHORT)72)
#define K_TmbEpsonXGap ((USHORT)6)
#define K_TmbEpsonYGap ((USHORT)4)
#define K_TmbStnLcd160NineWidth ((USHORT)48)
#define K_TmbStnLcd160NineHeight ((USHORT)32)
#define K_TmbStnLcd160XGap ((USHORT)4)
#define K_TmbStnLcd160YGap ((USHORT)6)
#define K_TmbVgaTftLcdNineWidth ((USHORT)200)
#define K_TmbVgaTftLcdNineHeight ((USHORT)144)
#define K_TmbVgaTftLcdXGap ((USHORT)10)
#define K_TmbVgaTftLcdYGap ((USHORT)12)
#define K_TmbSvgaNineWidth ((USHORT)240)
#define K_TmbSvgaNineHeight ((USHORT)180)
#define K_TmbSvgaXGap ((USHORT)20)
#define K_TmbSvgaYGap ((USHORT)20)
#define K_TmbAu015Bl01NineWidth ((USHORT)76) //patch5.2.1@cwh@AU015BL01;2003/08/08
#define K_TmbAu015Bl01NineHeight ((USHORT)68)
#define K_TmbAu015Bl01XGap ((USHORT)16)
#define K_TmbAu015Bl01YGap ((USHORT)10)
// patch 5.2.1_28@mattwang@rename CASIO2G to CASIO2G1181 beg
#define K_TmbCasio2G1181NineWidth ((USHORT)144) //patch5.2.1@cwh@CASIO2G;2003/09/24
#define K_TmbCasio2G1181NineHeight ((USHORT)68)
#define K_TmbCasio2G1181XGap ((USHORT)10)
#define K_TmbCasio2G1181YGap ((USHORT)8)
// patch 5.2.1_28@mattwang@rename CASIO2G to CASIO2G1181 end
// patch 5.2.1_28@mattwang@add CASIO2G1163 LCD pannel beg
#define K_TmbCasio2G1163NineWidth ((USHORT)76)//76
#define K_TmbCasio2G1163NineHeight ((USHORT)60)//64
#define K_TmbCasio2G1163XGap ((USHORT)12)
#define K_TmbCasio2G1163YGap ((USHORT)8)
// patch 5.2.1_28@mattwang@add CASIO2G1163 LCD pannel end
// patch 5.2.1_30@mattwang@add STNLCD128 LCD pannel beg
#define K_TmbStnLcd128NineWidth ((USHORT)38)
#define K_TmbStnLcd128NineHeight ((USHORT)38)
#define K_TmbStnLcd128XGap ((USHORT)2)
#define K_TmbStnLcd128YGap ((USHORT)2)
// patch 5.2.1_30@mattwang@add STNLCD128 LCD pannel end
// patch 5.2.1_33@mattwang@add AU015AN04 LCD pannel beg
#define K_TmbAu015An04NineWidth ((USHORT)92)
#define K_TmbAu015An04NineHeight ((USHORT)60)
#define K_TmbAu015An04XGap ((USHORT)8)
#define K_TmbAu015An04YGap ((USHORT)10)
// patch 5.2.1_33@mattwang@add AU015AN04 LCD pannel end
//------------------------------------------------------------------------------
//External Link
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
//Function Prototype
//------------------------------------------------------------------------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -