Raytrix Light Field SDK  4.0
Logo
Public Member Functions | Protected Attributes | List of all members
Rx::FileIO::CFFmpegDecode Class Reference

Detailed Description

Video Decode Codec.

Inherits Rx::FileIO::IVideoDecode, and Rx::FileIO::IParameterVideoDecode.

Public Member Functions

 CFFmpegDecode ()
 Default constructor. More...
 
 ~CFFmpegDecode ()
 Destructor. More...
 
virtual void Close ()
 Frees all memory allocated by Open() and finalizes the FFMpeg libraries. More...
 
virtual void Destroy ()
 Destroys this object. More...
 
virtual bool GetNextImage (Interop::Runtime28::IImage *pTrgImg)
 Get the next frame from the video stream as IImage. More...
 
virtual void Open (const CRxString &sxInputVideoPath)
 Opens the video file and initialize/load the FFMpeg libraries. Registers all needed formats and setups the video decoder. More...
 

Protected Attributes

IParameterVideoDecodem_pxIParameterIVideoDecode
 The IParameterIVideoDecode. More...
 
IVideoDecodem_pxIVideoDecode
 The IVideoDecode. More...
 

Constructor & Destructor Documentation

Rx::FileIO::CFFmpegDecode::CFFmpegDecode ( )

Default constructor.

Rx::FileIO::CFFmpegDecode::~CFFmpegDecode ( )

Destructor.

Member Function Documentation

virtual void Rx::FileIO::CFFmpegDecode::Close ( )
virtual

Frees all memory allocated by Open() and finalizes the FFMpeg libraries.

Implements Rx::FileIO::IVideoDecode.

virtual void Rx::FileIO::CFFmpegDecode::Destroy ( )
virtual

Destroys this object.

Implements Rx::FileIO::IVideoDecode.

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

Get the next frame from the video stream as IImage.

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

Implements Rx::FileIO::IVideoDecode.

virtual void Rx::FileIO::CFFmpegDecode::Open ( const CRxString sxInputVideoPath)
virtual

Opens the video file and initialize/load the FFMpeg libraries. Registers all needed formats and setups the video decoder.

Parameters
sxInputVideoPath[in] The path to the input video file.

Implements Rx::FileIO::IVideoDecode.

Member Data Documentation

IParameterVideoDecode* Rx::FileIO::CFFmpegDecode::m_pxIParameterIVideoDecode
protected

The IParameterIVideoDecode.

IVideoDecode* Rx::FileIO::CFFmpegDecode::m_pxIVideoDecode
protected