Raytrix Light Field SDK  v3.0
Logo
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events Groups Pages
Rx::FileIO::IVideoDecode Class Referenceabstract

Detailed Description

Video Codec Interface.

Inherited by Rx::FileIO::CFFmpegDec_Impl, and Rx::FileIO::CFFmpegDecode.

Public Member Functions

virtual void Close ()=0
 Closes the video file. More...
 
virtual void Destroy ()=0
 Destroys this object. More...
 
virtual bool GetNextImage (Rx::Interop::Runtime28::IImage *pTrgImg)=0
 Gets the next image as IImage from the video stream. More...
 
virtual void Open (const Rx::CRxString &sxInputVideoPath)=0
 Opens the video file. More...
 

Protected Member Functions

virtual ~IVideoDecode ()
 Destructor. More...
 

Constructor & Destructor Documentation

virtual Rx::FileIO::IVideoDecode::~IVideoDecode ( )
inlineprotectedvirtual

Destructor.

Member Function Documentation

virtual void Rx::FileIO::IVideoDecode::Close ( )
pure virtual

Closes the video file.

Implemented in Rx::FileIO::CFFmpegDecode, and Rx::FileIO::CFFmpegDec_Impl.

virtual void Rx::FileIO::IVideoDecode::Destroy ( )
pure virtual

Destroys this object.

Implemented in Rx::FileIO::CFFmpegDecode, and Rx::FileIO::CFFmpegDec_Impl.

virtual bool Rx::FileIO::IVideoDecode::GetNextImage ( Rx::Interop::Runtime28::IImage pTrgImg)
pure virtual

Gets the next image as IImage from the video stream.

Parameters
pTrgImg[out] The source memory.
Returns
True, if the next frame was found and decoded. False otherwise.

Implemented in Rx::FileIO::CFFmpegDecode, and Rx::FileIO::CFFmpegDec_Impl.

virtual void Rx::FileIO::IVideoDecode::Open ( const Rx::CRxString sxInputVideoPath)
pure virtual

Opens the video file.

Parameters
sxInputVideoPath[in] The Path of the input video file.

Implemented in Rx::FileIO::CFFmpegDecode, and Rx::FileIO::CFFmpegDec_Impl.