mw::mo::helper::MobiclipCodecInstantiation::CreateVideoCodec Function

Syntax


virtual bool CreateVideoCodec (nn::fnd::IAllocator* pAllocator, 
                               mw::mo::moflex::VideoStreamInfo& videoStreamInfo, 
                               mw::mo::GenericVideoDecoder*& pOutVideoDecoder);

Arguments

Name Description
in pAllocator The pointer to an nn::fnd::IAllocator class that will be used to instantiate the video decoder.
in videoStreamInfo A reference to a mw::mo::moflex::VideoStreamInfo structure containing information on the kind of video decoder to create.
out pOutVideoDecoder A reference to a pointer that will contain the newly created video decoder instance.

Returns

true if success.
false in case of failure.

Description

Method called by mw::mo::helper::Player class when wanting to create a new video decoder instance.
This class can only instantiate mw::mo::mobiclip::Decoder classes.

Revision History

2011/10/03
Initial version.