Memory Organization For Two Bit-Per-Pixel (4 Colors/Gray Shades); Memory Organization For Four Bit-Per-Pixel (16 Colors/Gray Shades) - Epson S1D13706 Technical Manual

Embedded memory lcd controller
Hide thumbs Also See for S1D13706:
Table of Contents

Advertisement

Epson Research and Development
Vancouver Design Center

3.3 Memory Organization for Two Bit-per-pixel (4 Colors/Gray Shades)

Bit 7
Bit 6
Pixel 0
Bits 1-0

3.4 Memory Organization for Four Bit-per-pixel (16 Colors/Gray Shades)

Bit 7
Bit 6
Programming Notes and Examples
Issue Date: 01/02/23
Bit 5
Bit 4
Pixel 1
Bits 1-0
Figure 3-2: Pixel Storage for 2 Bpp in One Byte of Display Buffer
At a color depth of 2 bpp, each byte of display buffer contains four adjacent pixels. Setting
or resetting any pixel requires reading the entire byte, masking out the unchanged bits and
setting the appropriate bits to 1.
Two bit pixels provide 4 gray shades/color possibilities. For monochrome panels the gray
shades are generated by indexing into the first 4 elements of the green component of the
Look-Up Table (LUT). For color panels the 4 colors are derived by indexing into the first
4 positions of the LUT.
Bit 5
Bit 4
Pixel 0
Bits 3-0
Figure 3-3: Pixel Storage for 4 Bpp in One Byte of Display Buffer
At a color depth of 4 bpp, each byte of display buffer contains two adjacent pixels. Setting
or resetting any pixel requires reading the entire byte, masking out the upper or lower nibble
(4 bits) and setting the appropriate bits to 1.
Four bit pixels provide 16 gray shades/color possibilities. For monochrome panels the gray
shades are generated by indexing into the first 16 elements of the green component of the
Look-Up Table (LUT). For color panels the 16 colors are derived by indexing into the first
16 positions of the LUT.
Bit 3
Bit 2
Pixel 2
Bits 1-0
Bit 3
Bit 2
Pixel 1
Bits 3-0
Page 15
Bit 1
Bit 0
Pixel 3
Bits 1-0
Bit 1
Bit 0
S1D13706
X31B-G-003-03

Advertisement

Table of Contents
loading

Table of Contents