![]() |
MHEG5
18.9.0
MHEG5 Documentation
|
OSD utility functions. More...
#include <techtype.h>Go to the source code of this file.
Macros | |
| #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 |
| #define GetAValue | ( | osdcolour | ) | ((osdcolour) >> 24) |
Definition at line 46 of file osd_utils.h.
| #define GetBValue | ( | osdcolour | ) | ((osdcolour) & 0xff) |
Definition at line 44 of file osd_utils.h.
| #define GetGValue | ( | osdcolour | ) | (((osdcolour) >> 8) & 0xff) |
Definition at line 43 of file osd_utils.h.
| #define GetRValue | ( | osdcolour | ) | (((osdcolour) >> 16) & 0xff) |
Definition at line 42 of file osd_utils.h.
| #define GetTValue | ( | osdcolour | ) | (((osdcolour) >> 24) ^ 0xff) |
Definition at line 45 of file osd_utils.h.
| #define MakeHD2Color | ( | osdcol | ) |
Definition at line 56 of file osd_utils.h.
| #define RGB | ( | r, | |
| g, | |||
| b | |||
| ) | (0xff000000 | ((r) << 16) | ((g) << 8) | (b)) |
Definition at line 52 of file osd_utils.h.
| #define RGBA | ( | r, | |
| g, | |||
| b, | |||
| a | |||
| ) | (((a) << 24) | ((r) << 16) | ((g) << 8) | (b)) |
Definition at line 54 of file osd_utils.h.
| #define RGBT | ( | r, | |
| g, | |||
| b, | |||
| t | |||
| ) | ((((t) ^ 0xff) << 24) | ((r) << 16) | ((g) << 8) | (b)) |
Definition at line 53 of file osd_utils.h.
Definition at line 70 of file osd_utils.h.
1.8.11