Epson S1D13505 Technical Manual page 222

Embedded ramdac lcd/crt controller
Table of Contents

Advertisement

Page 68
S1D13505
X23A-G-003-07
l
Count
Return Value: ERR_OK
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 most significant bits of each byte.
Parameters:
DevID
pLUT
Count
Return Value: ERR_OK
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 255.
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:
DevID
Index
pEntry
Return Value: ERR_OK
int seGetLutEntry(int DevID, int index, BYTE *pEntry)
Description:
This routine reads one LUT entry from any index.
Parameters:
DevID
Index
pEntry
Return Value: ERR_OK
int seSetBitsPerPixel(int DevID, UINT BitsPerPixel)
Description:
This routine sets the system color depth. Valid arguments for BitsPerPixel is are: 1,
2, 4, 8, 15, and 16.
After performing validity checks for the requested color depth the appropriate
lut[x][1] == GREEN component
ut[x][2] == BLUE component
- the number of LUT entries to write.
- operation completed with no problems
- 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.
- operation completed with no problems
- registered device ID
- index to LUT entry (0 to 255)
- pointer to an array of three bytes.
- operation completed with no problems
- registered device ID
- index to LUT entry (0 to 255)
- pointer to an array of three bytes
- operation completed with no problems
Epson Research and Development
Vancouver Design Center
Programming Notes and Examples
Issue Date: 01/02/05

Advertisement

Table of Contents
loading

Table of Contents