39.5.19 GFX2D Surface x Configuration Register
Name: | GFX2D_CFGx |
Offset: | 0x48 + x*0x10 [x=0..3] |
Reset: | 0x00000000 |
Property: | Read/Write |
Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
Access | |||||||||
Reset |
Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
Access | |||||||||
Reset |
Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
Access | |||||||||
Reset |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
IDXCX | PF[3:0] | ||||||||
Access | R/W | R/W | R/W | R/W | R/W | ||||
Reset | 0 | 0 | 0 | 0 | 0 |
Bit 4 – IDXCX Color Look-Up Table Selection
Value | Description |
---|---|
0 | The indexed color is retrieved in Color Look-Up Table 0. |
1 | The indexed color is retrieved in Color Look-Up Table 1. |
Bits 3:0 – PF[3:0] Pixel Format
Value | Name | Description |
---|---|---|
0 | A4IDX4 | 4-bit indexed color, with 4-bit alpha value |
1 | A8 | 8 bits per pixel alpha, with user-defined constant color |
2 | IDX8 | 8-bit indexed color, uses the Color Look-Up Table to expand to true color |
3 | A8IDX8 | 8-bit indexed color, with 8-bit alpha value |
4 | RGB12 | 12 bits per pixel, 4 bits per color channel |
5 | ARGB16 | 16 bits per pixel with 4-bit width alpha value, and 4 bits per color channel |
6 | RGB15 | 15 bits per pixel, 5 bits per color channel |
7 | TRGB16 | 16 bits per pixel, 5 bits for the red and blue channels and 6 bits for the green channel |
8 | RGBT16 | 16 bits per pixel, with 1 bit for transparency and 5 bits for color channels |
9 | RGB16 | 16 bits per pixel, 5 bits for the red and blue channels and 6 bits for the green channel |
10 | RGB24 | 24 bits per pixel, 8 bits for alpha and color channels |
11 | ARGB32 | 32 bits per pixel, 8 bits for alpha and color channels |
12 | RGBA32 | 32 bits per pixel, 8 bits for alpha and color channels |