Page 124
Epson Research and Development
Vancouver Design Center
14.2.6 Color Manipulation
The functions in the Color Manipulation section deal with altering the color values in the
Look-Up Table directly through the accessor functions and indirectly through the color
depth setting functions.
Keep in mind that all lookup table data is contained in the upper nibble of each byte.
void seWriteLutEntry(int Index, BYTE *pRGB)
void seWriteLcdLutEntry(int Index, BYTE *pRGB)
void seWriteCrtLutEntry(int Index, BYTE *pRGB)
void seWriteTvLutEntry(int Index, BYTE *pRGB)
¦Description:
These routines write one lookup table entry to the specified index of the lookup table.
seWriteLutEntry() writes to the specified index of the current active surface. See seSetL-
cdAsActiveSurface(), seSetCrtAsActiveSurface() and seSetTvAsActiveSurface() for
information about changing the active surface.
seWriteLcdLutEntry(), seWriteCrtLutEntry() and seWriteTvLutEntry() modify one entry
of the lookup table of the surface indicated in by the function name.
Parameter:
Index
Offset to the lookup table entry to be modified. (i.e. a 0 will write the
first entry and a 255 will write the last lookup table entry)
pRGB
A pointer to byte array of data to write to the lookup table. The array
must consist of three bytes; the first byte contains the red value the
second byte contains the green value and the third byte contains the
blue value.
Return Value:
None
S1D13506
X25B-G-003-03
Programming Notes and Examples
Issue Date: 01/02/06