mw::mo::helper::VideoPresentationBuffer Class

Syntax

class mw::mo::helper::VideoPresentationBuffer;

Description

Class that exposes a generic interface useful for video image presentation to screen.

This class cannot be used directly, use derived classes instead.
All virtual methods must be implemented by derived classes to be instantiable.
This class interface is used by the Player class to retrieve information on the target buffers where to make the YUV->RGB color conversion (called screen buffers).
This class interface is also used by the main thread to display (present) on the screen the YUV->RGB color converted target buffers (called screen buffers).

Please have a look at the mw::mo::helper::GlVideoPresentation class in $(CTRMW_MOBICLIP_ROOT)/sampledemos/helpers directory for an implementation example.

Member Functions

VideoPresentationBuffer VideoPresentationBuffer Constructor.
~VideoPresentationBuffer VideoPresentationBuffer Destructor.
V Initialize Creates(allocates) and itializes all internal datas of the VideoPresentationBuffer class.
V Finalize Releases(deallocates) all internal datas of the VideoPresentationBuffer class, if any.
V GetScreenBufferPtr Retrieves the pointer of the current target screen buffer.
V GetScreenStride Retrieves the stride in bytes of the current target screen buffer.
V GetDisplayId Retrieves display Id of the current target screen buffer.
GetTopVideoStreamInfo Retrieves the pointer of the Moflex video strean info structure associated to the top screen.
GetBottomVideoStreamInfo Retrieves the pointer of the Moflex video strean info structure associated to the bottom screen.

Class Hierarchy

mw::mo::helper::VideoPresentationBuffer

Revision History

2011/10/03
Initial version.