Raytrix Light Field SDK  5.0
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 (CRxImage &xTrgImg)=0
 Gets the next image as IImage from the video stream. More...
 
virtual void Open (const CRxString &sxInputVideoPath)=0
 Opens the video file. More...
 

Protected Member Functions

virtual ~IVideoDecode ()
 Destructor. More...
 

Constructor & Destructor Documentation

◆ ~IVideoDecode()

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

Destructor.

Member Function Documentation

◆ Close()

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

Closes the video file.

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

◆ Destroy()

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

Destroys this object.

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

◆ GetNextImage()

virtual bool Rx::FileIO::IVideoDecode::GetNextImage ( CRxImage xTrgImg)
pure virtual

Gets the next image as IImage from the video stream.

Parameters
xTrgImg[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.

◆ Open()

virtual void Rx::FileIO::IVideoDecode::Open ( const 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.