Owner's manual

Table Of Contents
DS785UM1 8-7
Copyright 2007 Cirrus Logic
Graphics Accelerator
EP93xx User’s Guide
8
8
8.4.5 Memory Organization for 24-Bits Per Pixel
The 24 bpp packed or unpacked storage formats can be used to support higher color
displays. These modes would typically be used to implement an 8-bit blue, 8-bit green, 8-bit
red color scheme. Table 8-6 shows how 24 bpp packed images are stored in memory as 1
pixel for every three bytes. Table 8-7 shows how 24 bpp unpacked images are stored in
memory
Table 8-6. 24 bpp Packed Memory Organization (4 pixel/ 3 words)
31 24 23 16 15 8 7 0
0x0000 P(1,0)B P(0,0)R P(0,0)G P(0,0)B
0x0004 P(2,0)G P(2,0)B P(1,0)R P(1,0)G
0x0008 P(3,0)R P(3,0)G P(3,0)B P(2,0)R
0x000C P(5,0)B P(4,0)R P(4,0)G P(4,0)B
0x0010 P(6,0)G P(6,0)B P(5,0)R P(5,0)G
0x0014 P(7,0)R P(7,0)G P(7,0)B P(6,0)R
..... ..... ..... ..... .....
0x0078 P(1,5)B P(0,5)R P(0,5)G P(0,5)B
0x007C P(2,5)G P(2,5)B P(1,5)R P(1,5)G
0x0080 P(3,5)R P(3,5)G P(3,5)B P(2,5)R
0x0084 P(5,5)B P(4,5)R P(4,5)G P(4,5)B
0x0088 P(6,5)G P(6,5)B P(5,5)R P(5,5)G
0x008C P(7,5)R P(7,5)G P(7,5)B P(6,5)R
Table 8-7. 24 bpp Unpacked Memory Organization (1 pixel/ 1 word)
31 24 23 16 15 8 7 0
0x0000 unused P(0,0)R P(0,0)G P(0,0)B
0x0004 unused P(1,0)R P(1,0)G P(1,0)B
0x0008 unused P(2,0)R P(2,0)G P(2,0)B
0x000C unused P(3,0)R P(3,0)G P(3,0)B
0x0010 unused P(4,0)R P(4,0)G P(4,0)B
0x0014 unused P(5,0)R P(5,0)G P(5,0)B
0x0018 unused P(6,0)R P(6,0)G P(6,0)B
0x001C unused P(7,0)R P(7,0)G P(7,0)B
0x0020 unused P(0,1)R P(0,1)G P(0,1)B
.... ..... ..... ..... .....
0x00A0 unused P(0,5)R P(0,5)G P(0,5)B
0x00A4 unused P(1,5)R P(1,5)G P(1,5)B
0x00A8 unused P(2,5)R P(2,5)G P(2,5)B
0x00AC unused P(3,5)R P(3,5)G P(3,5)B