MHEG5  18.9.0
MHEG5 Documentation
Classes | Typedefs | Functions
mg_video.c File Reference

Video Scaling / Positioning functionality. More...

#include <string.h>
#include "dvb_video.h"
#include "mg_video.h"
#include "mg_api.h"
#include "mg_osd.h"
#include "mh5profile.h"
#include "mh5debug.h"
#include "glue_main.h"

Go to the source code of this file.

Classes

struct  _S_Region
 

Typedefs

typedef struct _S_Region S_Region
 

Functions

void MG_SetSubtitleMode (MHEG5Bool subtitleOn)
 Set the current subtitle display mode to be either On or Off, Should only have an impact if subtitles can be displayed simultaneously with MHEG. This function is used by the SetSubtitleMode resident program. See UK1.06 profile section 3.10.8.4. More...
 
void MG_SetVideoPosition (MHEG5Video *video, MHEG5Int contentHook)
 
void MG_DisplayVideoToGraphics (MHEG5Int videoXval, MHEG5Int videoYval, MHEG5Int *graphicsXVal, MHEG5Int *graphicsYVal)
 Calculate the graphical co-ordinate from a given video coordinate (should take into account the current setting of the receiver regards video settings) More...
 
void MG_VideoPositionReset (void)
 

Detailed Description

Video Scaling / Positioning functionality.

Date
21-10-2008
Author
Adam Sturtridge

Definition in file mg_video.c.

Typedef Documentation

typedef struct _S_Region S_Region

Function Documentation

void MG_DisplayVideoToGraphics ( MHEG5Int  videoXval,
MHEG5Int  videoYval,
MHEG5Int graphicsXVal,
MHEG5Int graphicsYVal 
)

Calculate the graphical co-ordinate from a given video coordinate (should take into account the current setting of the receiver regards video settings)

Parameters
videoXvalScene aspect ratio videoYval IN graphicsXVal OUT graphicsYVal OUT
Returns
TRUE if successful, else FALSE.

Definition at line 294 of file mg_video.c.

void MG_SetSubtitleMode ( MHEG5Bool  subtitleOn)

Set the current subtitle display mode to be either On or Off, Should only have an impact if subtitles can be displayed simultaneously with MHEG. This function is used by the SetSubtitleMode resident program. See UK1.06 profile section 3.10.8.4.

Returns
None

Definition at line 89 of file mg_video.c.

void MG_SetVideoPosition ( MHEG5Video video,
MHEG5Int  contentHook 
)

Definition at line 105 of file mg_video.c.

void MG_VideoPositionReset ( void  )

Definition at line 374 of file mg_video.c.