Table 40-1. 4-bit Alpha Channel 4-bit Indexed Color Memory Mapping, Little
Endian Organization
Mem. addr. |
0x3 |
0x2 |
0x1 |
0x0 |
Bit |
31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
Pixel A4IDX4 |
A3 |
IDX3 |
A2 |
IDX2 |
A1 |
IDX1 |
A0 |
IDX0 |
The 4-bit Indexed Color mode uses the Color Look-Up Table (CLUT) defined by the GFX2D_CFGx.IDXCX bit.
Table 40-2. 32-bpp Final Color Used at the Input of the Alpha Blending Stage,
with Alpha Expansion
Mem. addr. |
0x3 |
0x2 |
0x1 |
0x0 |
Bit |
31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
1st pixel |
A0 |
A0 |
CLUT[IDX0].R |
CLUT[IDX0].G |
CLUT[IDX0].B |
2nd pixel |
A1 |
A1 |
CLUT[IDX1].R |
CLUT[IDX1].G |
CLUT[IDX1].B |
3rd pixel |
A2 |
A2 |
CLUT[IDX2].R |
CLUT[IDX2].G |
CLUT[IDX2].B |
4th pixel |
A3 |
A3 |
CLUT[IDX3].R |
CLUT[IDX3].G |
CLUT[IDX3].B |