Epson S1D13708 Camera Accessories User Manual


 
Epson Research and Development Page 15
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
5 Look-Up Table (LUT)
This section discusses programming the S1D13708 Look-Up Table (LUT). Included is a
summary of the LUT registers, recommendations for color/gray shade LUT values, and
additional programming considerations. For a discussion of the LUT architecture, refer to
the S1D13708 Hardware Functional Specification, document number X39A-A-001-xx.
The S1D13708 is designed with a LUT consisting of 256 indexed red/green/blue entries.
Each LUT entry is six bits wide. The color depth (bpp) determines how many indices are
used. For example, 1 bpp uses the first 2 indices, 2 bpp uses the first 4 indices, 4 bpp uses
the first 16 indices and 8 bpp uses all 256 indices. 16 bpp bypasses the LUT.
In color modes, the pixel values stored in the display buffer index directly to an RGB value
stored in the LUT. In monochrome modes, the pixel value indexes into the green
component of the LUT and the amount of green at that index controls the intensity.
5.1 Registers
5.1.1 Look-Up Table Registers
bits 7-2 LUT Blue Write Data Bits [5:0]
This register contains the data to be written to the blue component of the Look-Up Table.
The data is stored in this register until a write to the LUT Write Address register
(REG[0Bh]) moves the data into the Look-Up Table.
Note
The LUT entry is updated only when the LUT Write Address Register (REG[0Bh]) is
written to.
bits 7-2 LUT Green Write Data Bits [5:0]
This register contains the data to be written to the green component of the Look-Up Table.
The data is stored in this register until a write to the LUT Write Address register
(REG[0Bh]) moves the data into the Look-Up Table.
Look-Up Table Blue Write Data Register
REG[08h] Write Only
LUT Blue Write Data Bits 5-0 n/a
7654321 0
Look-Up Table Green Write Data Register
REG[09h] Write Only
LUT Green Write Data Bits 5-0 n/a
7654321 0