Epson S1D13504 Technical Manual page 187

Color graphics lcd/crt controller
Hide thumbs Also See for S1D13504:
Table of Contents

Advertisement

Epson Research and Development
Vancouver Design Center
Programming Notes and Examples
Issue Date: 01/02/01
int seSetLut(int device, BYTE *pLut)
Description:
Writes the entire LUT from an array into the LUT registers.
Parameter:
device - registered device ID
pLut - pointer to an array of BYTE lut[16][3]
lut[x][0] == RED component
lut[x][1] == GREEN component
lut[x][2] == BLUE component
Return Value: ERR_OK - operation completed with no problems
ERR_INVALID_REG_DEVICE - device argument is not valid.
int seSetLutEntry(int device, BYTE index, BYTE *pEntry)
Description:
Writes one LUT entry.
Parameter:
device - registered device ID
index - index to LUT entry (0 to 15)
pEntry - pointer to an array of BYTE entry[3]
entry[x][0] == RED component
entry[x][1] == GREEN component
entry[x][2] == BLUE component
Return Value: ERR_OK - operation completed with no problems
ERR_INVALID_REG_DEVICE - device argument is not valid.
int seGet15BppInfo(int device, unsigned *RedMask, unsigned
*GreenMask, unsigned *BlueMask)
Description:
Determines the bit fields for the red, green, and blue components of a 15 bpp stored
in a WORD.
Parameter:
device - registered device ID
RedMask - all bits set to 1 are used by the red component.
GreenMask - all bits set to 1 are used by the green component.
BlueMask - all bits set to 1 are used by the blue component.
Return Value: ERR_OK - operation completed with no problems
ERR_INVALID_REG_DEVICE - device argument is not valid.
Page 49
S1D13504
X19A-G-002-07

Advertisement

Table of Contents
loading

Table of Contents