OSD utility functions.
More...
Go to the source code of this file.
Defines |
#define | GetRValue(osdcolour) (((osdcolour) >> 16) & 0xff) |
#define | GetGValue(osdcolour) (((osdcolour) >> 8) & 0xff) |
#define | GetBValue(osdcolour) ((osdcolour) & 0xff) |
#define | GetTValue(osdcolour) (((osdcolour) >> 24) ^ 0xff) |
#define | GetAValue(osdcolour) ((osdcolour) >> 24) |
#define | RGB(r, g, b) (0xff000000 | ((r) << 16) | ((g) << 8) | (b)) |
#define | RGBT(r, g, b, t) ((((t) ^ 0xff) << 24) | ((r) << 16) | ((g) << 8) | (b)) |
#define | RGBA(r, g, b, a) (((a) << 24) | ((r) << 16) | ((g) << 8) | (b)) |
#define | MakeHD2Color(osdcol) |
Typedefs |
typedef U16BIT | HD2Color |
Detailed Description
OSD utility functions.
- Date:
- 11th December 2006
- Author:
- Gary Pearman
Define Documentation
#define MakeHD2Color |
( |
|
osdcol | ) |
|
Value:(((osdcol >> 16) & 0xf000) | ((osdcol >> 12) & 0x0f00) \
| ((osdcol >> 8) & 0x00f0) | ((osdcol >> 4) & 0x000f))