MHEG  17.9.0
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Pages
Enumerations | Functions
dvb_ci.h File Reference

Common Interface functions required by MHEG5 engine. More...

#include "techtype.h"
#include "mherrors.h"

Go to the source code of this file.

Enumerations

enum  E_DecoderRequest { MHEG5_DECODER_REQUEST, MHEG5_DECODER_RELEASE }
 

Functions

E_MhegErr DVB_MhegRequestMPEGDecoder (E_DecoderRequest request, BOOLEAN *pResult)
 This function requests exclusive access to a MPEG decoder and video plane to display I-frames. The MPEG decoder shall be available when no other application environment is active. More...
 
E_MhegErr DVB_MhegSuppressMHEGGraphics (BOOLEAN suppress)
 Toggle between displaying MHEG graphics and subtitles on platforms that do not support them both symultaneously, while kepping the MHEG application running. Platforms that can display both symultaneously may ignore calls to this function. More...
 

Detailed Description

Common Interface functions required by MHEG5 engine.

Date
20/12/2012
Author
Adam Sturtridge

Function Documentation

E_MhegErr DVB_MhegRequestMPEGDecoder ( E_DecoderRequest  request,
BOOLEAN *  pResult 
)

This function requests exclusive access to a MPEG decoder and video plane to display I-frames. The MPEG decoder shall be available when no other application environment is active.

Parameters
requestMHEG5_DECODER_REQUEST if access to the MPEG decoder is requested MHEG5_DECODER_RELEASE if access to the MPEG decoder is released
pResultTRUE if access to the MPEG decoder is granted FALSE if access to the MPEG decoder is not granted, or if request is MHEG5_DECODER_RELEASE
Returns
The following return values are allowed from this function: MHERR_OK - Success. MHERR_BAD_PARAMETER - Invalid parameter. MHERR_OTHER - Controlling application specific error.
E_MhegErr DVB_MhegSuppressMHEGGraphics ( BOOLEAN  suppress)

Toggle between displaying MHEG graphics and subtitles on platforms that do not support them both symultaneously, while kepping the MHEG application running. Platforms that can display both symultaneously may ignore calls to this function.

Parameters
suppressTRUE: Suppress the MHEG Graphics and enable the subtitles. FALSE: Enable the MHEG Graphics and suppress subtitles.
Returns
The following return values are allowed from this function: MHERR_OK - Success. MHERR_BAD_PARAMETER - Invalid parameter. MHERR_OTHER - Controlling application specific error.