os/boardsupport/haitest/bspsvs/suite/bsp/lcd/testdata/h6hrp/armv5/t_screen.ini
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
sl@0
     1
# This is the global environment file to configure the screen on specific device
sl@0
     2
# The current default screen values are configured for TI OMAP 2420 (H4) hardware LCD device
sl@0
     3
# Licencees may need to configure below values to specific devices and also
sl@0
     4
# check supported HAL Enum's.
sl@0
     5
sl@0
     6
[generic]
sl@0
     7
sl@0
     8
sl@0
     9
[screen]
sl@0
    10
sl@0
    11
# Define defualt display mode for the default screen
sl@0
    12
displaymode         =7
sl@0
    13
sl@0
    14
#Define number of diplay mode supported by H4
sl@0
    15
numofdisplaymodes    =13
sl@0
    16
sl@0
    17
#Define default pixel order, to know whether it is RGB or anyotherformat
sl@0
    18
pixelOrderRGB       =1
sl@0
    19
sl@0
    20
#Define to check pixelOrderLandscape. 
sl@0
    21
pixelOrderLandscape =1
sl@0
    22
sl@0
    23
#Max brightness 
sl@0
    24
maxDisplayBrightness =16
sl@0
    25
sl@0
    26
# Defines the screen device width(X Pixels) for default displaymode
sl@0
    27
modewidth			=240
sl@0
    28
sl@0
    29
# Defines the screen device height(Y Pixels) for default displaymode
sl@0
    30
modeheight			=320
sl@0
    31
sl@0
    32
#Display Offset BetweenLines for default displaymode
sl@0
    33
modedisplayOffsetBetweenLines	=480
sl@0
    34
sl@0
    35
#Display Offset To FirstPixel for default displaymode
sl@0
    36
modedisplayOffsetToFirstPixel	=0
sl@0
    37
sl@0
    38
#Bits per pixel for default displaymode
sl@0
    39
modebitsPerPixel		=16
sl@0
    40
sl@0
    41
#Is the display palettized for default displaymode
sl@0
    42
modedisplayIsPalettized	=FALSE
sl@0
    43
sl@0
    44
#RGB format rrrrrggggggbbbbb (565) for default displaymode
sl@0
    45
modemaskRed			=0xF8
sl@0
    46
modemaskGreen			=0xFC
sl@0
    47
modemaskBlue			=0xF8
sl@0
    48
modemaskAlpha			=0x00
sl@0
    49
sl@0
    50
#RGB shift according to format for default displaymode
sl@0
    51
modeshiftRed			=8
sl@0
    52
modeshiftGreen			=3
sl@0
    53
modeshiftBlue			=-3
sl@0
    54
modeshiftAlpha			=0
sl@0
    55
sl@0
    56
#time the colour remains on the screen
sl@0
    57
screenDelay			=5
sl@0
    58
sl@0
    59
[screen0]
sl@0
    60
# Defines the screen number on the multiple screens in the device.
sl@0
    61
id				=0
sl@0
    62
sl@0
    63
# Define  display mode for the  screen0
sl@0
    64
displaymode         =7
sl@0
    65
sl@0
    66
# Defines the screen device width(X Pixels) for default displaymode
sl@0
    67
modewidth			=240
sl@0
    68
sl@0
    69
# Defines the screen device height(Y Pixels) for default displaymode
sl@0
    70
modeheight			=320
sl@0
    71
sl@0
    72
#Display Offset BetweenLines for default displaymode
sl@0
    73
modedisplayOffsetBetweenLines	=480
sl@0
    74
sl@0
    75
#Display Offset To FirstPixel for default displaymode
sl@0
    76
modedisplayOffsetToFirstPixel	=0
sl@0
    77
sl@0
    78
#Bits per pixel for displaymode 3
sl@0
    79
modebitsPerPixel		=16
sl@0
    80
sl@0
    81
#Is the display palettized for default displaymode
sl@0
    82
modedisplayIsPalettized	=FALSE
sl@0
    83
sl@0
    84
#RGB format rrrrrggggggbbbbb (565) for default displaymode
sl@0
    85
modemaskRed			=0xF8
sl@0
    86
modemaskGreen			=0xFC
sl@0
    87
modemaskBlue			=0xF8
sl@0
    88
modemaskAlpha			=0x00
sl@0
    89
sl@0
    90
#RGB shift according to format for default displaymode
sl@0
    91
modeshiftRed			=8
sl@0
    92
modeshiftGreen			=3
sl@0
    93
modeshiftBlue			=-3
sl@0
    94
modeshiftAlpha			=0
sl@0
    95
sl@0
    96
sl@0
    97
sl@0
    98
sl@0
    99
# Defines the screen device width(X Pixels) for displaymode 2
sl@0
   100
mode2width			=240
sl@0
   101
sl@0
   102
# Defines the screen device height(Y Pixels) for displaymode 2
sl@0
   103
mode2height			=320
sl@0
   104
sl@0
   105
#Display Offset BetweenLines for displaymode 2
sl@0
   106
mode2displayOffsetBetweenLines	=480
sl@0
   107
sl@0
   108
#Display Offset To FirstPixel for displaymode 2
sl@0
   109
mode2displayOffsetToFirstPixel	=32
sl@0
   110
sl@0
   111
#Bits per pixel for displaymode 2
sl@0
   112
mode2bitsPerPixel		=12
sl@0
   113
sl@0
   114
#Is the display palettized for displaymode 2
sl@0
   115
mode2displayIsPalettized	=FALSE
sl@0
   116
sl@0
   117
#RGB format rrrrggggbbbb0000 (444) for displaymode 2
sl@0
   118
mode2maskRed			=0xF0
sl@0
   119
mode2maskGreen			=0xF0
sl@0
   120
mode2maskBlue			=0xF0
sl@0
   121
mode2maskAlpha			=0x00
sl@0
   122
sl@0
   123
#RGB shift according to format for displaymode 2
sl@0
   124
mode2shiftRed			=8
sl@0
   125
mode2shiftGreen			=4
sl@0
   126
mode2shiftBlue			=0
sl@0
   127
mode2shiftAlpha			=0
sl@0
   128
sl@0
   129
sl@0
   130
sl@0
   131
sl@0
   132
# Defines the screen device width(X Pixels) for displaymode 3
sl@0
   133
mode3width			=240
sl@0
   134
sl@0
   135
# Defines the screen device height(Y Pixels) for displaymode 3
sl@0
   136
mode3height			=320
sl@0
   137
sl@0
   138
#Display Offset BetweenLines for displaymode 3
sl@0
   139
mode3displayOffsetBetweenLines	=480
sl@0
   140
sl@0
   141
#Display Offset To FirstPixel for displaymode 3
sl@0
   142
mode3displayOffsetToFirstPixel	=32
sl@0
   143
sl@0
   144
#Bits per pixel for displaymode 3
sl@0
   145
mode3bitsPerPixel		=16
sl@0
   146
sl@0
   147
#Is the display palettized for displaymode 3
sl@0
   148
mode3displayIsPalettized	=FALSE
sl@0
   149
sl@0
   150
#RGB format rrrrrggggggbbbbb (565) for displaymode 3
sl@0
   151
mode3maskRed			=0xF8
sl@0
   152
mode3maskGreen			=0xFC
sl@0
   153
mode3maskBlue			=0xF8
sl@0
   154
mode3maskAlpha			=0x00
sl@0
   155
sl@0
   156
#RGB shift according to format for displaymode 3
sl@0
   157
mode3shiftRed			=8
sl@0
   158
mode3shiftGreen			=3
sl@0
   159
mode3shiftBlue			=-3
sl@0
   160
mode3shiftAlpha			=0
sl@0
   161
sl@0
   162
sl@0
   163
sl@0
   164
sl@0
   165
# Defines the screen device width(X Pixels) for displaymode 4
sl@0
   166
mode4width			=240
sl@0
   167
sl@0
   168
# Defines the screen device height(Y Pixels) for displaymode 4
sl@0
   169
mode4height			=320
sl@0
   170
sl@0
   171
#Display Offset BetweenLines for displaymode 4
sl@0
   172
mode4displayOffsetBetweenLines	=960
sl@0
   173
sl@0
   174
#Display Offset To FirstPixel for displaymode 4
sl@0
   175
mode4displayOffsetToFirstPixel	=32
sl@0
   176
sl@0
   177
#Bits per pixel for displaymode 4
sl@0
   178
mode4bitsPerPixel		=24
sl@0
   179
sl@0
   180
#Is the display palettized for displaymode 4
sl@0
   181
mode4displayIsPalettized	=FALSE
sl@0
   182
sl@0
   183
#RGB format rrrrrrrrggggggggbbbbbbbb (888) for displaymode 4
sl@0
   184
mode4maskRed			=0xFF
sl@0
   185
mode4maskGreen			=0xFF
sl@0
   186
mode4maskBlue			=0xFF
sl@0
   187
mode4maskAlpha			=0x00
sl@0
   188
sl@0
   189
#RGB shift according to format for displaymode 4
sl@0
   190
mode4shiftRed			=16
sl@0
   191
mode4shiftGreen			=8
sl@0
   192
mode4shiftBlue			=0
sl@0
   193
mode4shiftAlpha			=0
sl@0
   194
sl@0
   195