MHEG5  18.9.0
MHEG5 Documentation
Macros | Enumerations | Functions
mh5control.h File Reference

Implement MHEG5 engine control functions (i.e. start/stop etc) More...

#include "dvb_misc.h"
#include "mh5base.h"
#include "mheg5_control.h"
#include "fs_types.h"
#include "glue_queue.h"

Go to the source code of this file.

Macros

#define ISO_639_LANG_CODE_UND   (U32BIT)(('u'<<16)|('n'<<8)|'d')/*0x756E64*/
 
#define UND_LANGUAGE_CODE   ISO_639_LANG_CODE_UND
 

Enumerations

enum  E_StopAction { STOP_ACTION_CLEAR_DSMCC, STOP_ACTION_MHEG_TUNE, STOP_ACTION_CI_PLUS_NDT }
 

Functions

E_MhegErr MHEG5Initialise (S_MhegConfig *cfg_params)
 initialise MHEG5 component More...
 
void MHEG5_Terminate (void)
 Terminate MHEG5 component. More...
 
void MHEG5engineStart (U8BIT *app_name, BOOLEAN isCi, BOOLEAN special)
 Start the engine with the initial application. More...
 
void MHEG5engineTerminate (void)
 Force the engine to terminate. More...
 
BOOLEAN MHEG5engineIsCiAppRunning (void)
 
void MHEG5Pause (void)
 
void MHEG5Resume (void)
 
U8BIT MHEG5HandleEngineStopAction (U8BIT action)
 
void MHEG5NotifyEngineStarted (void)
 
void MHEG5NotifyEngineStartFailed (void)
 
void MHEG5NotifyEngineQuit (void)
 
BOOLEAN MHEG5ProcessAutoBoot (void)
 
void MHEG5StartReboot (void *dummy)
 
E_MhegErr MHEG5ResetResolution (U16BIT screenWidth, U16BIT screenHeight)
 
void MHEG5RefreshDisplay (void)
 
void MHEG5RefreshDefaultAudio (void)
 
void MHEG5NotifyCarouselBooted (S_DsmccEvent *param)
 
void MHEG5NotifyCarouselLoaded (S_DsmccEvent *param)
 
void MHEG5NotifyCarouselUnload (S_DsmccEvent *param)
 
void MHEG5AutoPathComplete (E_FsStatus result)
 
void MHEG5engineDsmTerminate (void)
 Force the engine to terminate any DSM-CC based MHEG application. More...
 
MHEG5Bool MHEG5TuneIndex (MHEG5Int serviceIndex)
 Ref: [1] - 3.10.6.2 Tune to the specified service. If the tuner fails to tune to the service it should attempt to return to the previous tuned service. If tuning to previously tuned service fails, the receiver shall allow the user to choose another service. More...
 
void MHEG5TuneIndexInfo (MHEG5Int tuneInfo)
 Sets the way the application expects the receiver is to perform all subsequence application initiated tuning. Normal (0) means subsequent tuning will be performed as if the user had tuned via the remote control. Silently (1) means subsequent tuning will be performed without showing any OSD (channel info banner) and the user initiating a channel change will use the source channel as the reference point This function is used by the SI_TuneIndexInfo resident program. See UK1.06 profile section 3.10.6.4. More...
 
U32BIT MHEG5tuneProcess (S_DvbLocator *pDvbLoc, S32BIT serviceIndex)
 
void MHEG5RefreshStreams (U16BIT service_id)
 

Detailed Description

Implement MHEG5 engine control functions (i.e. start/stop etc)

Date
30/08/2004
Author
Adam Sturtridge

Definition in file mh5control.h.

Macro Definition Documentation

#define ISO_639_LANG_CODE_UND   (U32BIT)(('u'<<16)|('n'<<8)|'d')/*0x756E64*/

Definition at line 38 of file mh5control.h.

#define UND_LANGUAGE_CODE   ISO_639_LANG_CODE_UND

Definition at line 39 of file mh5control.h.

Enumeration Type Documentation

Enumerator
STOP_ACTION_CLEAR_DSMCC 
STOP_ACTION_MHEG_TUNE 
STOP_ACTION_CI_PLUS_NDT 

Definition at line 48 of file mh5control.h.

Function Documentation

void MHEG5_Terminate ( void  )

Terminate MHEG5 component.

Returns
none

Definition at line 263 of file mh5control.c.

void MHEG5AutoPathComplete ( E_FsStatus  result)

Definition at line 586 of file mh5control.c.

void MHEG5engineDsmTerminate ( void  )

Force the engine to terminate any DSM-CC based MHEG application.

Returns
none

Definition at line 831 of file mh5control.c.

BOOLEAN MHEG5engineIsCiAppRunning ( void  )
Returns
TRUE if CI app exists

Definition at line 1158 of file mh5control.c.

void MHEG5engineStart ( U8BIT app_name,
BOOLEAN  isCi,
BOOLEAN  special 
)

Start the engine with the initial application.

Parameters
app_nameName of initial application
isCiTRUE if started from StartCIApp
specialTRUE when special App (EPG/Info/Slist App)
Returns
void

Definition at line 447 of file mh5control.c.

void MHEG5engineTerminate ( void  )

Force the engine to terminate.

Returns
none
None.

Definition at line 712 of file mh5control.c.

U8BIT MHEG5HandleEngineStopAction ( U8BIT  action)

Definition at line 1096 of file mh5control.c.

E_MhegErr MHEG5Initialise ( S_MhegConfig cfg_params)

initialise MHEG5 component

Returns
MHERR_OK - success MHERR_INTERNAL - failure

Definition at line 203 of file mh5control.c.

void MHEG5NotifyCarouselBooted ( S_DsmccEvent param)

Definition at line 564 of file mh5control.c.

void MHEG5NotifyCarouselLoaded ( S_DsmccEvent param)

Definition at line 1037 of file mh5control.c.

void MHEG5NotifyCarouselUnload ( S_DsmccEvent param)

Definition at line 1061 of file mh5control.c.

void MHEG5NotifyEngineQuit ( void  )

Definition at line 679 of file mh5control.c.

void MHEG5NotifyEngineStarted ( void  )

Definition at line 545 of file mh5control.c.

void MHEG5NotifyEngineStartFailed ( void  )

Definition at line 640 of file mh5control.c.

void MHEG5Pause ( void  )

Definition at line 1183 of file mh5control.c.

BOOLEAN MHEG5ProcessAutoBoot ( void  )
void MHEG5RefreshDefaultAudio ( void  )

Definition at line 1232 of file mh5control.c.

void MHEG5RefreshDisplay ( void  )

Definition at line 285 of file mh5control.c.

void MHEG5RefreshStreams ( U16BIT  service_id)

Definition at line 1211 of file mh5control.c.

E_MhegErr MHEG5ResetResolution ( U16BIT  screenWidth,
U16BIT  screenHeight 
)

Definition at line 329 of file mh5control.c.

void MHEG5Resume ( void  )

Definition at line 1191 of file mh5control.c.

void MHEG5StartReboot ( void *  dummy)

Definition at line 1164 of file mh5control.c.

MHEG5Bool MHEG5TuneIndex ( MHEG5Int  serviceIndex)

Ref: [1] - 3.10.6.2 Tune to the specified service. If the tuner fails to tune to the service it should attempt to return to the previous tuned service. If tuning to previously tuned service fails, the receiver shall allow the user to choose another service.

Parameters
serviceIndexThe service to which the tuner is to attempt to tune.
Returns
Boolean MHEG5TRUE - service available. MHEG5FALSE - service not available.

Definition at line 852 of file mh5control.c.

void MHEG5TuneIndexInfo ( MHEG5Int  tuneInfo)

Sets the way the application expects the receiver is to perform all subsequence application initiated tuning. Normal (0) means subsequent tuning will be performed as if the user had tuned via the remote control. Silently (1) means subsequent tuning will be performed without showing any OSD (channel info banner) and the user initiating a channel change will use the source channel as the reference point This function is used by the SI_TuneIndexInfo resident program. See UK1.06 profile section 3.10.6.4.

Parameters
tuneInfotuning information
Returns
TRUE if sucessful, else FALSE.
Parameters
tuneInfotuning information
Returns
TRUE if successful, else FALSE.

Definition at line 882 of file mh5control.c.

U32BIT MHEG5tuneProcess ( S_DvbLocator pDvbLoc,
S32BIT  serviceIndex 
)

Definition at line 955 of file mh5control.c.