beautypg.com

5 input display data format – Renesas SH7781 User Manual

Page 967

background image

19. Display Unit (DU)

Rev.1.00 Jan. 10, 2008 Page 937 of 1658

REJ09B0261-0100

19.4.5

Input Display Data Format

The following format is used for input color data used in display.

• 8 bit/pixel

A color palette index is used. The color palette is used to convert and display image data into
RGB data with 6 bits for each RGB color (RGB666).

The arrangement of data in memory is as follows.

A+3 A+2 A+1 A

A

A+1

A+2

A+3

31

23

15

7 0

31

23

15

7 0

Address A

Index 3 Index 2 Index 1 Index 0

Address A

Index 0 Index 1 Index 2 Index 3

Address A+4

Index 7 Index 6 Index 5 Index 4

Address A+4

Index 4 Index 5 Index 6 Index 7

Address A+8 Index 11 Index 10

Index 9 Index 8

Address A+8

Index 8 Index 9

Index 10 Index 11

Little endian

Big endian

• 16 bit/pixel: RGB

The RGB levels are represented using 5 bits for R, 6 bits for G, and 5 bits for B (RGB565).

D15-D0

15

11

10

5

4

0

R

G

B

The arrangement of data in memory is as follows.

A+2 A

A

A+2

31

15 0

31

15 0

Address A

RGB565 - 1

RGB565 - 0

Address A

RGB565 - 0

RGB565 - 1

Address A+4

RGB565 - 3

RGB565 - 2

Address A+4

RGB565 - 2

RGB565 - 3

Address A+8

RGB565 - 5

RGB565 - 4

Address A+8

RGB565 - 4

RGB565 - 5

Little endian

Big endian