English
Language : 

SED1374 Datasheet, PDF (156/420 Pages) Epson Company – SED1374 Embedded Memory Color LCD Controller
Page 60
Epson Research and Development
Vancouver Design Center
int seGetLut(int DevID, BYTE *pLUT, int Count)
Description: This routine reads one or more LUT entries and puts the result in the byte array
pointed to by pLUT.
A Look-Up Table entry consists of three bytes, one each for Red, Green, and Blue.
The color information is stored in the four least significant bits of each byte.
Parameters: DevID
pLUT
Count
- registered device ID
- pointer to an array of BYTE lut[16][3]
- pLUT must point to enough memory to hold 'Count' x 3 bytes of data.
- the number of LUT elements to read.
Return Value: ERR_OK - operation completed with no problems
int seSetLutEntry(int DevID, int Index, BYTE *pEntry)
Description: This routine writes one LUT entry. Unlike seSetLut, the LUT entry indicated by
'Index' can be any value from 0 to 15.
A Look-Up Table entry consists of three bytes, one each for Red, Green, and Blue.
The color information is stored in the four least significant bits of each byte.
Parameters: DevID
Index
pLUT
- registered device ID
- index to LUT entry (0 to 15)
- pointer to an array of three bytes.
Return Value: ERR_OK - operation completed with no problems
int seGetLutEntry(int DevID, int index, BYTE *pEntry)
Description: This routine reads one LUT entry from any index.
A Look-Up Table entry consists of three bytes, one each for Red, Green, and Blue.
The color information is stored in the four least significant bits of each byte.
Parameters: DevID
Index
pEntry
- registered device ID
- index to LUT entry (0 to 15)
- pointer to an array of three bytes
Return Value: ERR_OK - operation completed with no problems
SED1374
X26A-G-002-02
Programming Notes and Examples
Issue Date: 99/04/27