Article updated
at 28 Oct 2017
Attention: this is a legacy library and thus not supported by Toradex anymore. We recommend that you use the new libraries for all Toradex modules. Please see the Toradex CE Libraries and Code Samples for up-to-date information.
Library of support functions for Overlays.
struct
XLLP_OVERLAY_T
#define BPP_18_PACKED 0x040 |
#define BPP_19_PACKED 0x100 |
#define FORMAT_PACKED_444 0x1 |
#define FORMAT_PLANAR_420 0x4 |
#define FORMAT_PLANAR_422 0x3 |
#define FORMAT_PLANAR_444 0x2 |
#define O_BPP_18_PACKED 0x6 |
#define O_BPP_19_PACKED 0x8 |
void LCDDegrade |
( |
BOOL |
degrade, |
|
|
DWORD |
color |
|
) |
|
|
Degrades the dispay to 1 bit per pixel (to save bandwidth)
- Parameters
-
[in] |
degrade |
TRUE: Degrade, FALSE: Normal display |
[in] |
color |
Palette color entry |
Release the library - call when finished with the library
- Return values
-
Initialise the library - call before using other functions
- Return values
-
Disable the overlay - deprecated
- Parameters
-
[in] |
pXllpOverlay |
Pointer to Overlay data structure |
[out] |
pXllpOverlay |
Pointer to Overlay data structure |
- Deprecated:
Enable the overlay - deprecated
- Parameters
-
[in] |
pXllpOverlay |
Pointer to Overlay data structure |
[out] |
pXllpOverlay |
Pointer to Overlay data structure |
- Deprecated:
Flip the overlay - deprecated
- Parameters
-
[in] |
pOv |
Pointer to Overlay data structure |
[out] |
pOv |
Pointer to Overlay data structure |
- Deprecated:
Get the overlay buffer - deprecated
- Parameters
-
[in] |
pOv |
Pointer to Overlay data structure |
[out] |
pOv |
Pointer to Overlay data structure |
- Deprecated:
Setup the overlay - deprecated
- Parameters
-
[in] |
pXllpOverlay |
Pointer to Overlay data structure |
[out] |
pXllpOverlay |
Pointer to Overlay data structure |
- Deprecated:
Disable the overlay
- Parameters
-
[in] |
pOv |
Pointer to Overlay data structure |
[out] |
pOv |
Pointer to Overlay data structure |
Enable the overlay
- Parameters
-
[in] |
pXllpOverlay |
Pointer to Overlay data structure |
[out] |
pXllpOverlay |
Pointer to Overlay data structure |
- Return values
-
Flip the overlay buffer
- Parameters
-
[in] |
pOv |
Pointer to Overlay data structure |
[out] |
pOv |
Pointer to Overlay data structure |
Get the overlay buffer
- Parameters
-
[in] |
pOv |
Pointer to Overlay data structure |
[out] |
pOv |
Pointer to Overlay data structure |
Update the overlay Position, Size and Format
- Parameters
-
[in] |
pOv |
Pointer to Overlay data structure |
- Return values
-
Setup the overlay
- Parameters
-
[in] |
pXllpOverlay |
Pointer to Overlay data structure |
[out] |
pXllpOverlay |
Pointer to Overlay data structure |
- Return values
-
void OVLGetLibVersion |
( |
DWORD * |
pVerMaj, |
|
|
DWORD * |
pVerMin, |
|
|
DWORD * |
pBuild |
|
) |
|
|
Get the library Version.
- Parameters
-
[out] |
pVerMaj |
Major version number. |
[out] |
pVerMin |
Minor version number. |
[out] |
pBuild |
Build number. |
void SetTransparencyFactor |
( |
DWORD |
n |
) |
|
Set the overlay transparency factor
- Parameters
-
[in] |
n |
Transparency level, 0: very transparent, 7: fully opaque |