MHEG  17.9.0
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Pages
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"

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

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.
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