50 #ifndef _MHEG5_CONTROL_H 51 #define _MHEG5_CONTROL_H 60 #define SECTION_BUFFER_SIZE (4 * 1024) 63 #define MHEG5_MIN_SECTION_BUFFERS (100) 66 #define MHEG5_MIN_TASK_PRIORITY (4) 68 #define NVM_OVERHEAD_SIZE (2 * 1024) 69 #define NVM_STORE_SIZE_AU (64 * 1024) 70 #define NVM_STORE_SIZE_SA (512 * 1024) 71 #define AU_NVM_MINIMUM_SIZE ((1024 * 1024 * 2) + NVM_STORE_SIZE_AU + NVM_OVERHEAD_SIZE) 72 #define SA_NVM_MINIMUM_SIZE ((1024 * 1024 * 32) + NVM_STORE_SIZE_SA + NVM_OVERHEAD_SIZE) 75 #define ICS_DEFAULT_BUFFER_SIZE (3 * 1024 * 1024) 76 #define ICS_MINIMUM_BUFFER_SIZE (768 * 1024) 79 #define COLOUR_FORMAT_PALETTE 8 80 #define COLOUR_FORMAT_ARGB4444 16 81 #define COLOUR_FORMAT_ARGB7888 31 82 #define COLOUR_FORMAT_ARGB8888 32 90 CPROFILE_UK = (1 << 0),
91 CPROFILE_NZ = (1 << 1),
92 CPROFILE_AU = (1 << 2),
93 CPROFILE_HK = (1 << 3),
94 CPROFILE_SA = (1 << 4),
96 CPROFILE_FREESAT = (1 << 8)
97 } E_COUNTRY_PROFILE, E_MHEG_PROFILE;
106 VC_SUPPORT_MHEG_NATIVE_APP = (1 << 0),
107 VC_SUPPORT_MHEG_UK_PVR = (1 << 0),
108 VC_SUPPORT_MHEG_PVR = (1 << 1),
109 VC_SUPPORT_MHEG_NZ_PVR = (1 << 1),
110 VC_SUPPORT_MHEG_AU_PVR = (1 << 2),
111 VC_SUPPORT_MHEG_INTERACTION_CHANNEL = (1 << 3),
112 VC_SUPPORT_MHEG_IC_STREAMING = (1 << 4),
113 VC_SUPPORT_NON_LINEAR_PLAYBACK_KEYS = (1 << 5),
114 VC_SUPPORT_MHEG_IC_STREAMING_HD = (1 << 6),
115 VC_SUPPORT_OIPF_BROWSER_PROFILE = (1 << 7),
122 VC_HD_VIDEO_NOT_SUPPORTED = (1 << 17),
127 VC_SUBTITLES_NOT_SIMULTANEOUS = (1 << 18),
130 VC_NO_VIDEO_OFF_SCREEN = (1 << 27),
131 VC_NO_BITMAP_OFF_SCREEN = (1 << 28),
132 VC_ONLY_SD_DOUBLE_SCALING = (1 << 29),
133 VC_ONLY_SD_STANDARD_SCALING = (1 << 30),
134 VC_ONLY_SD_QUARTER_SCALING = (1 << 31)
135 } E_MHEG5_CAPABILITES;
140 CHANNEL_START_NORMAL,
143 CHANNEL_START_QUIETLY,
146 CHANNEL_START_QUIET_SHOW_INFO,
147 } E_ChannelStartMode;
163 E_MHEG5_CAPABILITES capabilities;
180 U8BIT *manufacturerString;
186 E_COUNTRY_PROFILE countryProfile;
206 void *streamerBuffer;
207 U32BIT streamerBufferSize;
212 const char *version_string;
218 U32BIT engineStackSize;
275 E_MhegErr
MHEG5_Start( S32BIT serviceIndex, E_ChannelStartMode *quietMode );
E_MhegErr MHEG5_Stop(void)
Tells MHEG5 engine to enter stop state (i.e. no broadcast service). This function should kill any cur...
Definition: glue_main.c:765
E_MhegErr MHEG5_Resume(void)
This allows MHEG5 engine to be resumed after another application has had display focus (such as an EP...
Definition: glue_main.c:1073
void * MHEG5_DsmccInstance(void)
Get the DSMCC instance handle.
Definition: glue_dsmcc.c:782
E_MhegErr MHEG5_Start(S32BIT serviceIndex, E_ChannelStartMode *quietMode)
This function starts MHEG5 engine on the current broadcast service. It will cause MHEG5 engine to sta...
Definition: glue_main.c:662
MHEG5 engine interface error codes.
E_MhegErr MHEG5_Open(S_MhegConfig *pSetup)
Initialise MHEG5 engine instance. The following will be performed as a result of a call to this funct...
Definition: glue_main.c:364
E_MhegErr MHEG5_Suspend(void)
Suspend MHEG5 engine (while there is no valid broadcast service). When the external application is pe...
Definition: glue_main.c:888
E_MhegErr MHEG5_SetScreenResolution(U16BIT screenWidth, U16BIT screenHeight)
Sets the screen resolution to new size. This function is required when the external application wishe...
Definition: glue_main.c:1118
System Wide Global Technical Data Type Definitions.
Definition: mheg5_control.h:152
E_MhegErr MHEG5_StopWithoutKilling(void)
Suspend MHEG5 engine (while there is no valid broadcast service). This function should be called as a...
Definition: glue_main.c:826
E_MhegErr MHEG5_Pause(void)
This allows MHEG5 engine to be paused whilst another application has display focus (such as an EPG)...
Definition: glue_main.c:1038
void MHEG5_RestoreScreen(void)
Refresh screen after resolution change with MHEG5_SetScreenResolution() This is a non-blocking functi...
Definition: glue_main.c:1162
E_MhegErr MHEG5_Close(void)
Close MHEG engine. Free allocated MHEG5 engine memory region, and any other related resources...
Definition: glue_main.c:543
Definition of DVB locator and DVB component types.
E_MhegErr MHEG5_SetSurfaceThreshold(S32BIT pixels)
Set the minimum number of pixels that force the MHEG-5 engine to release a surface immediately after ...
E_ChannelStartMode MHEG5_GetTuningInfoMode(S32BIT serviceIndex)
Get the current tuning mode for the target service. This is only relevant when MHEG5 has requested a ...
Definition: mh5control.c:940