MHEG5  18.9.0
MHEG5 Documentation
Macros | Functions
mh5dispBttnRT.c File Reference
#include <string.h>
#include "mh5application.h"
#include "mh5base.h"
#include "mh5display.h"
#include "mh5classes.h"
#include "mh5queue.h"
#include "mh5object.h"
#include "mh5final.h"
#include "mh5drawtext.h"
#include "mg_api.h"
#include "mh5memory.h"
#include "mh5profile.h"
#include "mh5streamevent.h"
#include "mh5debug.h"
#include "mh5dvpos.h"
#include "tmcolor.h"
#include "mh5dispBttnRT.h"

Go to the source code of this file.

Macros

#define MAX(a, b)   (((a) > (b)) ? (a) : (b))
 
#define MIN(a, b)   (((a) < (b)) ? (a) : (b))
 

Functions

void OSDrtgraphicsPlay (S_DvbLocator *multiplexReference, MHEG5Bool terminating)
 <Function description>=""> More...
 
void OSDrtgraphicsFreeze (void)
 Freeze playback of the currently playing RTGraphics stream after the next screen update. More...
 
void OSDrtgraphicsStop (void)
 Stop displaying RTGraphics. More...
 
void MHEG5displayLineart (int x1, int y1, int boxX1, int boxY1, int boxX2, int boxY2, MHEG5Bool bbbox, MHEG5Int lineWidth, MHEG5Int lineStyle, MHEG5Colour *refLineColour, MHEG5Colour *refFillColour)
 Draw a Lineart Object. More...
 
void MHEG5displayHotspot (MHEG5Visible *visible, int x1, int y1, int x2, int y2)
 Draw a Hotspot. More...
 
void MHEG5displayPushbutton (MHEG5Visible *visible, int x1, int y1, int x2, int y2)
 Draw a Pushbutton. More...
 
void MHEG5displaySwitchbutton (MHEG5Visible *visible, int x1, int y1, int x2, int y2)
 Draw a Switchbutton. More...
 
void MHEG5displayRTGraphics (MHEG5RTGraphics *rtgraphics, int x1, int y1, int x2, int y2)
 
void MHEG5displayRtgraphicsPlay (MHEG5RTGraphics *rtgraphics)
 Begin playback of the specified RTGraphics object. More...
 
void MHEG5displayRtGraphicsReset (void)
 Reset all media decoders to default values. This is used when the MHEG-5 engine is terminated, or the last application quits. More...
 
void MHEG5displayRtGraphicsUpdate (MHEG5Bool terminating, MHEG5Bool fullScreen)
 
More...
 
void MHEG5displayRtgraphicsStop (MHEG5Bool immediate)
 Stops playback of the RTGraphics (subtitle) media decoder. More...
 

Detailed Description

Date
20/12/2012
Author
Adam Sturtridge

Definition in file mh5dispBttnRT.c.

Macro Definition Documentation

#define MAX (   a,
 
)    (((a) > (b)) ? (a) : (b))

Definition at line 47 of file mh5dispBttnRT.c.

#define MIN (   a,
 
)    (((a) < (b)) ? (a) : (b))

Definition at line 48 of file mh5dispBttnRT.c.

Function Documentation

void MHEG5displayHotspot ( MHEG5Visible visible,
int  x1,
int  y1,
int  x2,
int  y2 
)

Draw a Hotspot.

Parameters
MHEG5Visible*visible
intx1
inty1
intx2
inty2
Returns
void

Definition at line 180 of file mh5dispBttnRT.c.

void MHEG5displayLineart ( int  x1,
int  y1,
int  boxX1,
int  boxY1,
int  boxX2,
int  boxY2,
MHEG5Bool  bbbox,
MHEG5Int  lineWidth,
MHEG5Int  lineStyle,
MHEG5Colour refLineColour,
MHEG5Colour refFillColour 
)

Draw a Lineart Object.

Parameters
intx1
inty1
intboxX1
intboxY1
intboxX2
intboxY2
MHEG5Boolbbbox
MHEG5IntlineWidth
MHEG5IntlineStyle
MHEG5Colour*refLineColour
MHEG5Colour*refFillColour
Returns
void

Definition at line 154 of file mh5dispBttnRT.c.

void MHEG5displayPushbutton ( MHEG5Visible visible,
int  x1,
int  y1,
int  x2,
int  y2 
)

Draw a Pushbutton.

Parameters
MHEG5Visible*visible
intx1
inty1
intx2
inty2
Returns
void

Definition at line 230 of file mh5dispBttnRT.c.

void MHEG5displayRTGraphics ( MHEG5RTGraphics rtgraphics,
int  x1,
int  y1,
int  x2,
int  y2 
)

Definition at line 509 of file mh5dispBttnRT.c.

void MHEG5displayRtgraphicsPlay ( MHEG5RTGraphics rtgraphics)

Begin playback of the specified RTGraphics object.

Parameters
rtgraphicsRTGraphics object to play
Returns
void

Definition at line 533 of file mh5dispBttnRT.c.

void MHEG5displayRtGraphicsReset ( void  )

Reset all media decoders to default values. This is used when the MHEG-5 engine is terminated, or the last application quits.

Returns
void

Definition at line 576 of file mh5dispBttnRT.c.

void MHEG5displayRtgraphicsStop ( MHEG5Bool  immediate)

Stops playback of the RTGraphics (subtitle) media decoder.

Parameters
immediateStop media decoder immediately, else wait until the next time that the display is updated.
Returns
void

Definition at line 634 of file mh5dispBttnRT.c.

void MHEG5displayRtGraphicsUpdate ( MHEG5Bool  terminating,
MHEG5Bool  fullScreen 
)

Returns
*
void

Definition at line 588 of file mh5dispBttnRT.c.

void MHEG5displaySwitchbutton ( MHEG5Visible visible,
int  x1,
int  y1,
int  x2,
int  y2 
)

Draw a Switchbutton.

Parameters
MHEG5Visible*visible
intx1
inty1
intx2
inty2
Returns
void

Definition at line 374 of file mh5dispBttnRT.c.

void OSDrtgraphicsFreeze ( void  )

Freeze playback of the currently playing RTGraphics stream after the next screen update.

Returns
void

Definition at line 95 of file mh5dispBttnRT.c.

void OSDrtgraphicsPlay ( S_DvbLocator multiplexReference,
MHEG5Bool  terminating 
)

<Function description>="">

Returns
<Return value>=""> Begin playback of the specified RTGraphics stream. If another rtgraphics stream is already playing then the new one replaces it.
Parameters
multiplexRefReference to stream component to start playing
terminatingIndicates that the last Application has Quit or that the engine is terminating.
Returns
void

Definition at line 84 of file mh5dispBttnRT.c.

void OSDrtgraphicsStop ( void  )

Stop displaying RTGraphics.

Returns
void

Definition at line 104 of file mh5dispBttnRT.c.