Common Interface functions required by MHEG5 engine.
More...
#include "techtype.h"
#include "mherrors.h"
Go to the source code of this file.
|
enum | E_DecoderRequest { MHEG5_DECODER_REQUEST,
MHEG5_DECODER_RELEASE
} |
|
|
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...
|
|
Common Interface functions required by MHEG5 engine.
- Date
- 20/12/2012
- Author
- Adam Sturtridge
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
-
request | MHEG5_DECODER_REQUEST if access to the MPEG decoder is requested MHEG5_DECODER_RELEASE if access to the MPEG decoder is released |
pResult | TRUE 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
-
suppress | TRUE: 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.