Epson S1D13708 Camera Accessories User Manual


 
Epson Research and Development Page 13
Vancouver Design Center
Programming Notes and Examples S1D13708
Issue Date: 01/11/20 X39A-G-003-01
ADVANCE
D
IN
F
ORMATION
Subje
ct to C
ha
nge
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.
4.3 Memory Organization for Four Bit-per-pixel (16 Colors/Gray Shades)
Figure 4-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.
4.4 Memory Organization for 8 Bpp (256 Colors/64 Gray Shades)
Figure 4-4: Pixel Storage for 8 Bpp in One Byte of Display Buffer
At a color depth of 8 bpp, each byte of display buffer represents one pixel on the display.
At this color depth the read-modify-write cycles are eliminated making pixel updates faster.
Each byte indexes into one of the 256 positions of the LUT. The S1D13708 LUT supports
six bits per primary color. This translates into 256K possible colors when color mode is
selected. Therefore the display has 256 colors available out of a possible 256K colors.
When a monochrome panel is selected, the green component of the LUT is used to
determine the intensity. The green LUT, with six bits, can resolve 64 unique gray shades of
a possible 256. It is recommended that LUT indexes 00h through 3Fh be used for the 64
gray shades to be displayed.
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Pixel 0
Bits 3-0
Pixel 1
Bits 3-0
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Pixel 0
Bits 7-0