![]() |
MHEG5
22.11.0
|
Implement generic MHEG5-display functions - independent from the OSD These are generic functions used by the MHEG5 engine to manage it's display. These functions are the direct API between the |OSD| and the MHEG5-classes. More...
#include <string.h>#include "mh5application.h"#include "mh5base.h"#include "mh5display.h"#include "mh5classes.h"#include "mh5queue.h"#include "mh5object.h"#include "mh5final.h"#include "mh5drawtext.h"#include "mg_api.h"#include "mg_video.h"#include "dvb_audio.h"#include "dvb_video.h"#include "mh5memory.h"#include "mh5profile.h"#include "mh5streamevent.h"#include "mh5debug.h"#include "tmcolor.h"#include "mh5dispBttnRT.h"#include "mh5control.h"Enumerations | |
| enum | E_AudioPlayState { AUDIO_PLAY_DEFAULT, AUDIO_PLAY_NONE, AUDIO_PLAY_STREAM, AUDIO_PLAY_MEMORY } |
Functions | |
| void | MHEG5displayClear (void) |
| <Function description>=""> More... | |
| OSDColor | MHEG5displayColour (MHEG5Colour *colour) |
| Convert Generic Colour value to OSD specific value. If the generic colour is encoded as a string it is converted to an OSD representation. The OSD representation is then cached as an integer value. More... | |
| void | MHEG5displayVisUpd (MHEG5Visible *visible, U8BIT upd) |
| void | MHEG5displayShowAll (void) |
| Redisplay all active visible objects. AKD: Optimised 12/5/99. More... | |
| void | MHEG5displayResume (void) |
| void | MHEG5displayPause (void) |
| void | MHEG5groupClearImages (MHEG5Root *group) |
| void | MHEG5groupRedraw (MHEG5Root *group) |
| void | MHEG5displayStreamUpdate (MHEG5Application *application) |
| void | MHEG5displayUpdate (void) |
| Update the display, redrawing any visible objects that are in the dirty rectangle. More... | |
| void | MHEG5displayAudioPlay (MHEG5Audio *audio) |
| Begin playback of the specified audio object. More... | |
| void | MHEG5displayVideoPlay (MHEG5Video *video) |
| Begin playback of the specified video object. More... | |
| U16BIT | MHEG5GetVideoSid (void) |
| U16BIT | MHEG5GetAudioSid (void) |
| void | MHEG5displayRefreshStreams (U16BIT service_id) |
| void | MHEG5displayRefreshDefaultAudio (U16BIT service_id) |
| void | MHEG5displayStreamPlay (MHEG5Stream *stream) |
| Begin playback of all active components in the specifed stream object. More... | |
| void | MHEG5displayAudioStop (void) |
| Stops playback of the audio media decoder. More... | |
| void | MHEG5displayVideoStop (void) |
| Stops playback of the video media decoder. More... | |
| void | MHEG5displayStreamStop (MHEG5Stream *stream) |
| Stops playback of all active component of the specified stream object. More... | |
| void | MHEG5displayAudioDestroy (MHEG5Audio *audio) |
| void | MHEG5displayVideoDestroy (MHEG5Video *video) |
| void | MHEG5displayIframeDestroy (MHEG5Bitmap *iframe) |
| void | MHEG5displayIFrameStart (MHEG5Bitmap *bitmap) |
| Start displaying an I-Frame. More... | |
| void | MHEG5displayIFrameStop (void) |
| Stop displaying an I-Frame. More... | |
| void | MHEG5displayVideoPositionUpdate (void) |
| void | MHEG5notifyVideoStarted (void) |
| void | MHEG5notifyVideoStopped (void) |
| void | MHEG5notifyAudioStarted (BOOLEAN isClip) |
| void | MHEG5notifyAudioStopped (BOOLEAN isClip) |
| void | MHEG5displayResetStreamDecoders (BOOLEAN update) |
| Reset all media decoders to default values. This is used when the MHEG-5 engine is terminated, or the last application quits. More... | |
| void | MHEG5displayLockStreams (void) |
| Lock streams, disallow any stream updates. More... | |
| void | MHEG5displayUnlockStreams (void) |
| Unlock streams, allow stream updates. More... | |
| void | MHEG5displaySetVolume (MHEG5Int volume) |
| Volume Control. More... | |
Variables | |
| const char * | stream_states [] |
Implement generic MHEG5-display functions - independent from the OSD These are generic functions used by the MHEG5 engine to manage it's display. These functions are the direct API between the |OSD| and the MHEG5-classes.
| void MHEG5displayAudioPlay | ( | MHEG5Audio * | audio | ) |
Begin playback of the specified audio object.
| audio | Audio object to play |
| void MHEG5displayAudioStop | ( | void | ) |
Stops playback of the audio media decoder.
| immediate | Stop media decoder immediately, else wait until the next time that the display is updated. |
| void MHEG5displayClear | ( | void | ) |
<Function description>="">
| OSDColor MHEG5displayColour | ( | MHEG5Colour * | colour | ) |
Convert Generic Colour value to OSD specific value. If the generic colour is encoded as a string it is converted to an OSD representation. The OSD representation is then cached as an integer value.
| colour | Generic colour value. This describes the colour as either a string or integer value. |
| void MHEG5displayIFrameStart | ( | MHEG5Bitmap * | bitmap | ) |
Start displaying an I-Frame.
| bitmap | Pointer to bitmap object |
| void MHEG5displayIFrameStop | ( | void | ) |
Stop displaying an I-Frame.
| void MHEG5displayLockStreams | ( | void | ) |
Lock streams, disallow any stream updates.
| void MHEG5displayResetStreamDecoders | ( | BOOLEAN | update | ) |
Reset all media decoders to default values. This is used when the MHEG-5 engine is terminated, or the last application quits.
| void MHEG5displaySetVolume | ( | MHEG5Int | volume | ) |
Volume Control.
| MHEG5Int | volume |
| void MHEG5displayShowAll | ( | void | ) |
Redisplay all active visible objects. AKD: Optimised 12/5/99.
| void MHEG5displayStreamPlay | ( | MHEG5Stream * | stream | ) |
Begin playback of all active components in the specifed stream object.
| stream | Stream object to play components of |
| void MHEG5displayStreamStop | ( | MHEG5Stream * | stream | ) |
Stops playback of all active component of the specified stream object.
| stream | Stream object to stop playing component of. |
| immediate | Stop media decoders immediately, else wait until the next time that the display is updated. |
| void MHEG5displayUnlockStreams | ( | void | ) |
Unlock streams, allow stream updates.
| void MHEG5displayUpdate | ( | void | ) |
Update the display, redrawing any visible objects that are in the dirty rectangle.
| visible | Visible object to redraw |
| void MHEG5displayVideoPlay | ( | MHEG5Video * | video | ) |
Begin playback of the specified video object.
| video | Video object to play |
| void MHEG5displayVideoStop | ( | void | ) |
Stops playback of the video media decoder.
| immediate | Stop media decoder immediately, else wait until the next time that the display is updated. |
| const char* stream_states[] |
1.8.11