1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/boardsupport/haitest/bspsvs/suite/bsp/lcd/testdata/h6hrp/armv5/t_screen.ini Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,195 @@
1.4 +# This is the global environment file to configure the screen on specific device
1.5 +# The current default screen values are configured for TI OMAP 2420 (H4) hardware LCD device
1.6 +# Licencees may need to configure below values to specific devices and also
1.7 +# check supported HAL Enum's.
1.8 +
1.9 +[generic]
1.10 +
1.11 +
1.12 +[screen]
1.13 +
1.14 +# Define defualt display mode for the default screen
1.15 +displaymode =7
1.16 +
1.17 +#Define number of diplay mode supported by H4
1.18 +numofdisplaymodes =13
1.19 +
1.20 +#Define default pixel order, to know whether it is RGB or anyotherformat
1.21 +pixelOrderRGB =1
1.22 +
1.23 +#Define to check pixelOrderLandscape.
1.24 +pixelOrderLandscape =1
1.25 +
1.26 +#Max brightness
1.27 +maxDisplayBrightness =16
1.28 +
1.29 +# Defines the screen device width(X Pixels) for default displaymode
1.30 +modewidth =240
1.31 +
1.32 +# Defines the screen device height(Y Pixels) for default displaymode
1.33 +modeheight =320
1.34 +
1.35 +#Display Offset BetweenLines for default displaymode
1.36 +modedisplayOffsetBetweenLines =480
1.37 +
1.38 +#Display Offset To FirstPixel for default displaymode
1.39 +modedisplayOffsetToFirstPixel =0
1.40 +
1.41 +#Bits per pixel for default displaymode
1.42 +modebitsPerPixel =16
1.43 +
1.44 +#Is the display palettized for default displaymode
1.45 +modedisplayIsPalettized =FALSE
1.46 +
1.47 +#RGB format rrrrrggggggbbbbb (565) for default displaymode
1.48 +modemaskRed =0xF8
1.49 +modemaskGreen =0xFC
1.50 +modemaskBlue =0xF8
1.51 +modemaskAlpha =0x00
1.52 +
1.53 +#RGB shift according to format for default displaymode
1.54 +modeshiftRed =8
1.55 +modeshiftGreen =3
1.56 +modeshiftBlue =-3
1.57 +modeshiftAlpha =0
1.58 +
1.59 +#time the colour remains on the screen
1.60 +screenDelay =5
1.61 +
1.62 +[screen0]
1.63 +# Defines the screen number on the multiple screens in the device.
1.64 +id =0
1.65 +
1.66 +# Define display mode for the screen0
1.67 +displaymode =7
1.68 +
1.69 +# Defines the screen device width(X Pixels) for default displaymode
1.70 +modewidth =240
1.71 +
1.72 +# Defines the screen device height(Y Pixels) for default displaymode
1.73 +modeheight =320
1.74 +
1.75 +#Display Offset BetweenLines for default displaymode
1.76 +modedisplayOffsetBetweenLines =480
1.77 +
1.78 +#Display Offset To FirstPixel for default displaymode
1.79 +modedisplayOffsetToFirstPixel =0
1.80 +
1.81 +#Bits per pixel for displaymode 3
1.82 +modebitsPerPixel =16
1.83 +
1.84 +#Is the display palettized for default displaymode
1.85 +modedisplayIsPalettized =FALSE
1.86 +
1.87 +#RGB format rrrrrggggggbbbbb (565) for default displaymode
1.88 +modemaskRed =0xF8
1.89 +modemaskGreen =0xFC
1.90 +modemaskBlue =0xF8
1.91 +modemaskAlpha =0x00
1.92 +
1.93 +#RGB shift according to format for default displaymode
1.94 +modeshiftRed =8
1.95 +modeshiftGreen =3
1.96 +modeshiftBlue =-3
1.97 +modeshiftAlpha =0
1.98 +
1.99 +
1.100 +
1.101 +
1.102 +# Defines the screen device width(X Pixels) for displaymode 2
1.103 +mode2width =240
1.104 +
1.105 +# Defines the screen device height(Y Pixels) for displaymode 2
1.106 +mode2height =320
1.107 +
1.108 +#Display Offset BetweenLines for displaymode 2
1.109 +mode2displayOffsetBetweenLines =480
1.110 +
1.111 +#Display Offset To FirstPixel for displaymode 2
1.112 +mode2displayOffsetToFirstPixel =32
1.113 +
1.114 +#Bits per pixel for displaymode 2
1.115 +mode2bitsPerPixel =12
1.116 +
1.117 +#Is the display palettized for displaymode 2
1.118 +mode2displayIsPalettized =FALSE
1.119 +
1.120 +#RGB format rrrrggggbbbb0000 (444) for displaymode 2
1.121 +mode2maskRed =0xF0
1.122 +mode2maskGreen =0xF0
1.123 +mode2maskBlue =0xF0
1.124 +mode2maskAlpha =0x00
1.125 +
1.126 +#RGB shift according to format for displaymode 2
1.127 +mode2shiftRed =8
1.128 +mode2shiftGreen =4
1.129 +mode2shiftBlue =0
1.130 +mode2shiftAlpha =0
1.131 +
1.132 +
1.133 +
1.134 +
1.135 +# Defines the screen device width(X Pixels) for displaymode 3
1.136 +mode3width =240
1.137 +
1.138 +# Defines the screen device height(Y Pixels) for displaymode 3
1.139 +mode3height =320
1.140 +
1.141 +#Display Offset BetweenLines for displaymode 3
1.142 +mode3displayOffsetBetweenLines =480
1.143 +
1.144 +#Display Offset To FirstPixel for displaymode 3
1.145 +mode3displayOffsetToFirstPixel =32
1.146 +
1.147 +#Bits per pixel for displaymode 3
1.148 +mode3bitsPerPixel =16
1.149 +
1.150 +#Is the display palettized for displaymode 3
1.151 +mode3displayIsPalettized =FALSE
1.152 +
1.153 +#RGB format rrrrrggggggbbbbb (565) for displaymode 3
1.154 +mode3maskRed =0xF8
1.155 +mode3maskGreen =0xFC
1.156 +mode3maskBlue =0xF8
1.157 +mode3maskAlpha =0x00
1.158 +
1.159 +#RGB shift according to format for displaymode 3
1.160 +mode3shiftRed =8
1.161 +mode3shiftGreen =3
1.162 +mode3shiftBlue =-3
1.163 +mode3shiftAlpha =0
1.164 +
1.165 +
1.166 +
1.167 +
1.168 +# Defines the screen device width(X Pixels) for displaymode 4
1.169 +mode4width =240
1.170 +
1.171 +# Defines the screen device height(Y Pixels) for displaymode 4
1.172 +mode4height =320
1.173 +
1.174 +#Display Offset BetweenLines for displaymode 4
1.175 +mode4displayOffsetBetweenLines =960
1.176 +
1.177 +#Display Offset To FirstPixel for displaymode 4
1.178 +mode4displayOffsetToFirstPixel =32
1.179 +
1.180 +#Bits per pixel for displaymode 4
1.181 +mode4bitsPerPixel =24
1.182 +
1.183 +#Is the display palettized for displaymode 4
1.184 +mode4displayIsPalettized =FALSE
1.185 +
1.186 +#RGB format rrrrrrrrggggggggbbbbbbbb (888) for displaymode 4
1.187 +mode4maskRed =0xFF
1.188 +mode4maskGreen =0xFF
1.189 +mode4maskBlue =0xFF
1.190 +mode4maskAlpha =0x00
1.191 +
1.192 +#RGB shift according to format for displaymode 4
1.193 +mode4shiftRed =16
1.194 +mode4shiftGreen =8
1.195 +mode4shiftBlue =0
1.196 +mode4shiftAlpha =0
1.197 +
1.198 +