MHEG  17.9.0
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Pages
Functions
tmcolor.c File Reference

Definition of colour type for MHEG5 component. For DVP colour is stored as 32 bit ARGB format. Contains function to conver from MHEG5 colour to OSDColor type. More...

#include "mh5profile.h"
#include "tmcolor.h"
#include "mh5debug.h"
#include "mh5memory.h"

Functions

OSDColor OSDgetColour (const char *colour, int len)
 Converts an MHEG5 colour value to an OSDColor type For UK1 profile only RGBTCOLOR is defined. More...
 
MHEG5String OSDsetColour (OSDColor colour)
 Converts an OSDColor type into an MHEG5 colour value For UK1 profile only RGBTCOLOR is defined. More...
 

Detailed Description

Definition of colour type for MHEG5 component. For DVP colour is stored as 32 bit ARGB format. Contains function to conver from MHEG5 colour to OSDColor type.

Date
08/11/2001
Author
iwillis

Function Documentation

OSDColor OSDgetColour ( const char *  colour,
int  len 
)

Converts an MHEG5 colour value to an OSDColor type For UK1 profile only RGBTCOLOR is defined.

Converts an MHEG5 colour value to an OSDColor type.

Parameters
colourPointer to an array of bytes that specify the MHEG5 colour
lenLength of the colour parameter
Returns
OSDColor representation of the specified colour
MHEG5String OSDsetColour ( OSDColor  colour)

Converts an OSDColor type into an MHEG5 colour value For UK1 profile only RGBTCOLOR is defined.

Parameters
colourOSDColor to convert
Returns
MHEG5 colour representation of the specified colour