Porting Guide

The MHEG5 component can be built for broadcast via DSM-CC, or for CI plus via Common Interface.

MHEG5 is controlled by the DVB application, and, to some degree, by events in DVB stack (DVBCore). For a basic implementation, MHEG5 needs operating system and graphic plane drawing from the platform. It needs access to service information and control of audio/video, provided by DVB stack. And finally, it requires support from DSM-CC component and/or Common Interface (CI plus) component.

At initialisation, MHEG5_Open function must be called. This allows MHEG5 to set up all its required resources. It also tells MHEG5 of the Hardware support provided by the platform, gives MHEG5 the manufacturer string, and selects which MHEG5 profile to support.

After the open function has initialised MHEG5 component, normal processing is started by MHEG5_Start.

Porting Stages

Below is a possible order for implementing required functions. This may help with getting the MHEG stack up and running quickly. This is not an exhaustive list, only lists the functions for basic usage.

Platform API functions

Operating System

Graphics plane

DVBCore implemented functions

Memory Allocation

System Local Time

Service information and Tuning

Control of A/V

Video Scaling