Epson Research and Development
Page 125
Vancouver Design Center
void seReadLutEntry(int Index, BYTE *pRGB)
void seReadLcdLutEntry(int Index, BYTE *pRGB)
void seReadCrtLutEntry(int Index, BYTE *pRGB)
void seReadTvLutEntry(int Index, BYTE *pRGB)
¦Description:
These routines read one lookup table entry and return the results in the byte array pointed
to by pRGB.
seReadLutEntry() reads the specified index from the lookup table of the current active sur-
face. See seSetLcdAsActiveSurface(), seSetCrtAsActiveSurface() and seSetTvAsActive-
Surface() for information about changing the active surface.
seReadLcdLutEntry(), seReadCrtLutEntry(), and seReadTvLutEntry() read one entry
form the lookup table for the surface indicated by the function name.
Parameter:
Index
Offset to the lookup table entry to be read. (i.e. setting index to 2 will
return a the value of the third element of the lookup table)
pRGB
A pointer to an array to receive the lookup table data. The array must be
at least three bytes long. On return from this function the first byte of
the array will contain the red data, the second byte will contain the
green data and the third byte will contain the blue data.
Return Value:
None.
void seWriteLut(BYTE *pRGB, int Count)
void seWriteLcdLut(BYTE *pRGB, int Count)
void seWriteCrtLut(BYTE *pRGB, int Count)
void seWriteTvLut(BYTE *pRGB, int Count)
¦Description:
These routines write one or more lookup table entries starting at offset zero.
seWriteLut() modifies Count entries in the current active surface. See seSetLcdAsActive-
Surface(), seSetCrtAsActiveSurface() and seSetTvAsActiveSurface() for information
about changing the active surface.
seWriteLcdLut(), seWriteCrtLut(), and seWriteTvLut() modifies the lookup table for the
surface indicated in the function name.
This routine is intended to allow setting as many lookup table entries as the current color
depth allows in call.
Parameter:
pRGB
A pointer to an array of lookup table entry values to write to the LUT.
Each lookup table entry must consist of three bytes. The first byte must
contain the red value, the second byte must contain the green value and
the third byte must contain the blue value to modify the lookup table
with.
Count
None.
The number of lookup table entries to modify.
Return Value:
Programming Notes and Examples
Issue Date: 01/02/06
S1D13506
X25B-G-003-03