Gray Shades / Colors And Look-Up Tables; Pixels; Memory Organization For One Bit Pixel (Black-And-White); Memory Organization For Two Bit Pixels (4 Colors/Gray Shades) - Epson S1D13503 Technical Manual

Graphics lcd controller
Hide thumbs Also See for S1D13503:
Table of Contents

Advertisement

Page 18

3 GRAY SHADES / COLORS AND LOOK-UP TABLES

This section discusses how the S1D13503 shows color and monochrome images on LCD panels.

3.1 Pixels

A pixel is physically stored in display memory as a series of bits. The more bits, the more colors the pixel can show.
Table 3-1: Number Of Bits As Related To Colors
The following sections show how these pixels are stored in display memory.

3.1.1 Memory Organization for One Bit Pixel (Black-and-White)

To store one bit pixels, eight pixels are grouped into one byte of display memory as shown below:
Bit 7
Bit 6
Pixel 0
Pixel 1
Bit 0
Bit 0
When these pixels are shown, Pixel 0 is seen to be left of Pixel 1, Pixel 1 is seen to be left of Pixel 2, and so on. One bit
pixels are only available on monochrome panels, and can only be displayed in black-and-white (no Look-Up Table is used).

3.1.2 Memory Organization for Two Bit Pixels (4 Colors/Gray Shades)

To store two bit pixels, four pixels are grouped into one byte of display memory as shown below:
Bit 7
Bit 6
Pixel 0
Pixel 0
Bit 1
Bit 0
Figure 2: Pixel Storage For 2 Bits (4 Colors/Gray Shades) In One Byte Of Display Memory
When these pixels are shown, Pixel 0 is seen to be left of Pixel 1, Pixel 1 is seen to be left of Pixel 2, and so on. Two bit
pixels are available in both monochrome and color panels.
S1D13503
X18A-G-002-06
Downloaded from
Elcodis.com
electronic components distributor
Levels of
Bits per
Pixel
Gray Shades
1
2
2
4
4
16
8
n/a
Bit 5
Bit 4
Pixel 2
Pixel 3
Bit 0
Bit 0
Figure 1: Pixel Storage For 1 Bit (Black-and-White) In One Byte Of Display Memory
Bit 5
Bit 4
Pixel 1
Pixel 1
Bit 1
Bit 0
Colors
n/a
4
16
256
Bit 3
Bit 2
Pixel 4
Pixel 5
Bit 0
Bit 0
Bit 3
Bit 2
Pixel 2
Pixel 2
Bit 1
Bit 0
Epson Research and Development
Vancouver Design Center
Bit 1
Bit 0
Pixel 6
Pixel 7
Bit 0
Bit 0
Bit 1
Bit 0
Pixel 3
Pixel 3
Bit 1
Bit 0
Programming Notes and Examples
Issue Date: 01/01/30

Advertisement

Table of Contents
loading

Table of Contents