Epson Research and Development

Page 63

Vancouver Design Center

 

 

 

int seSetLutEntry(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 255.

A Look-Up Table entry consists of three bytes, one each for Red, Green, and Blue. The color infor- mation is stored in the four most significant bits of each byte.

Parameters: Index

- index to LUT entry (0 to 255)

pLUT

- pointer to an array of three bytes.

Return Value: ERR_OK - operation completed with no problems

int seGetLutEntry(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 most significant bits of each byte.

Parameters: Index

- index to LUT entry (0 to 255)

pEntry

- pointer to an array of three bytes

Return Value: ERR_OK - operation completed with no problems

Programming Notes and Examples

S1D13705

Issue Date: 02/01/22

X27A-G-002-03

Page 157
Image 157
Epson S1D13705 technical manual Int seSetLutEntryint Index, Byte *pEntry, Int seGetLutEntryint index, Byte *pEntry