MHEG5 1.0
DTVKit MHEG5 1.0 API Documentation
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
mg_video.c File Reference

Video Scaling / Positioning functionality. More...

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

Data Structures

struct  _S_Region
 

Typedefs

typedef struct _S_Region S_Region
 

Functions

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

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.
void MG_SetVideoPosition ( MHEG5Video video,
MHEG5Int  contentHook 
)
void MG_VideoPositionReset ( void  )