MHEG  17.9.0
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Pages
Functions
glue_events.c File Reference
#include "stb_os.h"
#include "glue_queue.h"
#include "glue_main.h"
#include <string.h>
#include "glue_memory.h"
#include "glue_debug.h"
#include "mh5control.h"
#include "mh5keypress.h"
#include "mh5queue.h"
#include "mh5display.h"
#include "mh5fileorm.h"
#include "mh5prgs.h"
#include "glue_events.h"

Functions

E_MhegErr MHEG5_NotifyDvbEvent (E_DvbEvent eType, U32BIT eData)
 Notifies MHEG5 of event from receiver platform This is a non-blocking function. More...
 
void MHEG5_NotifyVideoPrefChanged (void)
 Notifies the MHEG5 component when the video preferences change. This is a non-blocking function. This notification is used to generate the VideoPrefChanged EngineEvent. See section 3.8 of reference [1]. More...
 
void MHEG5_NotifySubtitleLangPrefChanged (void)
 Notifies the MHEG5 component when the subtitle language preferences change. This is a non-blocking function. More...
 
void MHEG5_NotifyAudioLangPrefChanged (void)
 Notifies the MHEG5 component when the audio language preferences change. This is a non-blocking function. More...
 
void MHEG5_NotifyICStatusChanged (void)
 Notifies the MHEG5 component when the IC connection status changes. This is a non-blocking function. More...
 
void MHEG5_NotifyVideoStarted (void)
 Notifies the MHEG5 component that the previously provided video stream has started playing. This is a non-blocking function. More...
 
void MHEG5_NotifyVideoStopped (void)
 Notifies MHEG5 that the decoder has stopped playing a video stream In other words, no video is playing after this call. See MHEG5_SetVideoStream() and MHEG5_SetVideoControl(). This is a non-blocking function. If the decoder hardware does not support this indication, the DVB stack must simulate it. More...
 
void MHEG5_NotifyAudioStarted (BOOLEAN isClip)
 Notifies the MHEG5 component that the previously provided audio stream or clip has started playing. This is a non-blocking function. More...
 
void MHEG5_NotifyAudioStopped (BOOLEAN isClip)
 Notifies the MHEG5 component that the previously provided audio clip has completed playing all required loops. See function MHEG5_AudioPlay(). This is a non-blocking function. More...
 
void MHEG5_NotifyICSReady (void)
 This function tells the MHEG-5 engine that the external application is ready to handle IP stream data. It should be called if the status returned to MHEG5_SetupICS was MHEG5_STREAMING_STATUS_PENDING. More...
 
void MHEG5_SendEngineEvent (E_ENGINE_EVENT engineEvent)
 Send MHEG app an engine event from an external task. More...
 

Detailed Description

Date
20/12/2012
Author
Adam Sturtridge

Function Documentation

void MHEG5_NotifyAudioLangPrefChanged ( void  )

Notifies the MHEG5 component when the audio language preferences change. This is a non-blocking function.

Returns
MHERR_OK - Success MHERR_ERR_COMP_NOT_STARTED - Component not started.
void MHEG5_NotifyAudioStarted ( BOOLEAN  isClip)

Notifies the MHEG5 component that the previously provided audio stream or clip has started playing. This is a non-blocking function.

Returns
MHERR_OK - Success. MHERR_COMP_NOT_STARTED - Component not started.
void MHEG5_NotifyAudioStopped ( BOOLEAN  isClip)

Notifies the MHEG5 component that the previously provided audio clip has completed playing all required loops. See function MHEG5_AudioPlay(). This is a non-blocking function.

Returns
MHERR_OK - Success. MHERR_COMP_NOT_STARTED - Component not started.
E_MhegErr MHEG5_NotifyDvbEvent ( E_DvbEvent  eType,
U32BIT  eData 
)

Notifies MHEG5 of event from receiver platform This is a non-blocking function.

Parameters
eventType of receiver event
dataData associated with event (not used)
Returns
MHERR_OK - success, otherwise event not sent.
void MHEG5_NotifyICSReady ( void  )

This function tells the MHEG-5 engine that the external application is ready to handle IP stream data. It should be called if the status returned to MHEG5_SetupICS was MHEG5_STREAMING_STATUS_PENDING.

Returns
MHERR_OK - Success MHERR_COMP_NOT_STARTED - Component not started.
void MHEG5_NotifyICStatusChanged ( void  )

Notifies the MHEG5 component when the IC connection status changes. This is a non-blocking function.

Returns
MHERR_OK - Success MHERR_COMP_NOT_STARTED - Component not started.
void MHEG5_NotifySubtitleLangPrefChanged ( void  )

Notifies the MHEG5 component when the subtitle language preferences change. This is a non-blocking function.

Returns
MHERR_OK - Success MHERR_ERR_COMP_NOT_STARTED - Component not started.
void MHEG5_NotifyVideoPrefChanged ( void  )

Notifies the MHEG5 component when the video preferences change. This is a non-blocking function. This notification is used to generate the VideoPrefChanged EngineEvent. See section 3.8 of reference [1].

Returns
MHERR_OK - Success MHERR_COMP_NOT_STARTED - Component not started.
void MHEG5_NotifyVideoStarted ( void  )

Notifies the MHEG5 component that the previously provided video stream has started playing. This is a non-blocking function.

Returns
MHERR_OK - Success. MHERR_COMP_NOT_STARTED - Component not started.
void MHEG5_NotifyVideoStopped ( void  )

Notifies MHEG5 that the decoder has stopped playing a video stream In other words, no video is playing after this call. See MHEG5_SetVideoStream() and MHEG5_SetVideoControl(). This is a non-blocking function. If the decoder hardware does not support this indication, the DVB stack must simulate it.

Returns
MHERR_OK - Success. MHERR_COMP_NOT_STARTED - Component not started.
void MHEG5_SendEngineEvent ( E_ENGINE_EVENT  engineEvent)

Send MHEG app an engine event from an external task.

Returns
Nothing