Namespace of helper classes.
This namespace contains a collection of classes, structures, enums and constants that are used by all the code samples of the SDK to perform movie playback.
All of its source code is available in the $(CTRMW_MOBICLIP_SDK_ROOT)/sampledemos/helper directory.
Part of this collection is described below and can be directly used by the developer to perform standard movie playback.
The part that is not described is either meant to pe replaced by own developer code (for example audio and video presentation routines) or is used internally by the documented part (for example mw::mo::helper::VideoConversion class and mw::mo::helper::yuvtorgb namespace).
Although it can greatly ease the developper work the use of these helpers are not mandatory to perform movie playback using this SDK.
The developer is free to use them as is, modify them for its specific needs or not use them at all and directly use the SDK modules documented in the other namespace sections.
| mw::mo::helper::PlayerStatus | Enumerated type that describes the different states the Player class can be. | |
|---|---|---|
| mw::mo::helper::PlayerScreen | Enumerated type that is used to associate a video stream to either top or bottom screen when calling SetCurrentVideoStream Player method. |
| mw::mo::helper::RUN_THREAD_PRIORITY | The priority of the thread that will call the private Run Player method in a loop. | |
|---|---|---|
| mw::mo::helper::RUN_THREAD_STACK_SIZE | The Run thread stack size. | |
| mw::mo::helper::VIDEO_MAX_QUEUE_SIZE | The maximum number of video frames that can be enqueued. | |
| mw::mo::helper::MAX_AUDIO_STREAM | The maximum number of audio streams contained in a Moflex content that can be managed by the Player class. | |
| mw::mo::helper::MAX_VIDEO_STREAM | The maximum number of video streams contained in a Moflex content that can be managed by the Player class. |
| mw::mo::helper::CodecInstantiation | Class that exposes a generic interface for audio and video decoders instantiation. All virtual methods must be implemented by derived classes. | |
|---|---|---|
| mw::mo::helper::MobiclipCodecInstantiation | Class that implements the interface of the CodecInstantion class for this SDK. | |
| mw::mo::helper::VideoPresentationBuffer | Class that exposes a generic interface useful for video image presentation to screen. All pure virtual methods must be implemented by derived classes. | |
| mw::mo::helper::AudioPresentationBuffer | Class that exposes a generic interface useful for audio presentation (that is playback). All pure virtual methods must be implemented by derived classes. | |
| mw::mo::helper::Player | Class that centralizes all needed mechanisms to perform the playback of a Moflex content. |