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