Epson S1D13706 Technical Manual page 245

Embedded memory lcd controller
Hide thumbs Also See for S1D13706:
Table of Contents

Advertisement

Epson Research and Development
Vancouver Design Center
void seReadLut(BYTE *pRGB, int Count)
Description:
Parameters:
Return Value:
int seSetMode(unsigned BitsPerPixel)
Description:
Note
IMPORTANT
Parameters:
Return Value:
void seUseMainWinImageForSubWin(void)
Description:
Note
Programming Notes and Examples
Issue Date: 01/02/23
seReadLut() reads one or more lookup table entries and returns the result in the array
pointed to by pRGB. The read always begins at the first lookup table entry.
This routine allows reading all the lookup table elements used by the current color depth in
one library call.
pRGB
A pointer to an array of bytes large enough to hold the requested
number of lookup table entries. Each lookup table entry consists of
three bytes; the first byte will contain the red data, the second the green
data and the third the blue data.
Count
The number of lookup table entries to read.
None.
seSetMode() changes the color depth of the display and updates the appropriate LUT. Dis-
play memory is automatically released and then reallocated as necessary for the display
resolution.
seSetMode() was previously called seSetBitsPerPixel(). It is now recommended to call
seSetMode() instead of seSetBitsPerPixel(). In addition, hardware display swapping is
enabled or disabled, based on the requirements described in seEnableHardwareDisplay-
Swapping().
When the LCD color depth is changed, memory allocated for both the main window and
sub-window display buffer is freed and the display buffer memory is reassigned. The
application must redraw the main window display and re-initialize the sub-window (if
used) and redraw the sub-window after calling seSetMode().
BitsPerPixel
The new color depth. BitsPerPixel can be one of the following:
1, 2, 4, 8, 16.
ERR_OK
ERR_NOT_ENOUGH_MEMORY There is insufficient free display memory for the
ERR_FAILED
This function instructs the HAL to use the image pointed to by the main window registers
as the image to be used by the sub-window. The sub-window start address and sub-win-
dow line address offset registers are programmed accordingly.
It is the responsibility of the caller to first free any memory used by the sub-window be-
fore calling this function.
Function completed successfully.
given bits-per-pixel mode and display resolution.
Function failed because of invalid BitsPerPixel.
Page 85
S1D13706
X31B-G-003-03

Advertisement

Table of Contents
loading

Table of Contents