EasyManua.ls Logo

Allwinner A20 - Page 568

Allwinner A20
812 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
A20 User Manual (Revision 1.2) Copyright © 2013 Allwinner Technology Co., Ltd. All Rights Reserved. Page 568 / 812
5.4.4.50. DE-HWC PALETTE TABLE
Offset:
0x4C00-0x4FFF
DE-HW palette table
Bit
Read/W
rite
Default/
Hex
Description
31:24
R/W
UDF
Alpha value
23:16
R/W
UDF
Red value
15:8
R/W
UDF
Green value
7:0
R/W
UDF
Blue value
The following figure (only with 2bpp mode) shows the RAM array used for hardware cursor palette lookup
and the corresponding colors output.
HWC Index memory
array
Output color
Hardware cursor index memory
& palette
HWC palette table
Color1
Color0
Color254
Color255
2bpp mode
0 R0 G0 B0
1 R1 G1 B1
254 R254 G254 B254
255 R255 G255 B255
3 2 0 2
1 3 2 2
3 3 0 1
bit7
bit0
2 R2 G2 B2
0 R0 G0 B0
2 R2 G2 B2
3 R3 G3 B3
1 R1 G1 B1
0 R0 G0 B0
3 R3 G3 B3
3 R3 G3 B3
2 R2 G2 B2
2 R2 G2 B2
3 R3 G3 B3
1 R1 G1 B1
5.4.4.51. SPRITE PALETTE TABLE
Offset:
0x4000-0x43FF
DE-sprite palette SRAM block

Table of Contents