MHEG  17.9.0
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Pages
mg_video.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
3  * Copyright © 2008 Ocean Blue Software Ltd
4  *
5  * This file is part of a DTVKit Software Component
6  * You are permitted to copy, modify or distribute this file subject to the terms
7  * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org
8  *
9  * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
10  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
11  * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
12  *
13  * If you or your organisation is not a member of DTVKit then you have access
14  * to this source code outside of the terms of the licence agreement
15  * and you are expected to delete this and any associated files immediately.
16  * Further information on DTVKit, membership and terms can be found at www.dtvkit.org
17  *******************************************************************************/
25 #ifndef _MG_VIDEO_H
26 #define _MG_VIDEO_H
27 
28 #include "mh5video.h"
29 
38 void MG_SetSubtitleMode(MHEG5Bool subtitleOn);
39 
40 void MG_SetVideoPosition( MHEG5Video *video, MHEG5Int contentHook );
41 
42 void MG_DisplayVideoToGraphics( MHEG5Int videoXval, MHEG5Int videoYval,
43  MHEG5Int *graphicsXVal, MHEG5Int *graphicsYVal );
44 
45 void MG_VideoPositionReset(void);
46 
47 #endif /*_MG_VIDEO_H*/
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 curre...
Definition: mg_video.c:294
void MG_SetSubtitleMode(MHEG5Bool subtitleOn)
Set the current subtitle display mode to be either On or Off, Should only have an impact if subtitles...
Definition: mg_video.c:89
Implementation of the Video class Description Defines the attributes and behaviour of an elementary v...
Definition: mh5video.h:46