Raytrix Light Field SDK  5.0
Rx::FileIO::IVideoEncode Class Referenceabstract

Detailed Description

Video Codec Interface.

Inherited by Rx::FileIO::CFFmpegEnc_Impl, and Rx::FileIO::CFFmpegEncode.

Public Member Functions

virtual void AddImage (const CRxImage &xSrcImg)=0
 Add a single image for encoding to video data. More...
 
virtual void Close ()=0
 Closes the video file. More...
 
virtual void Destroy ()=0
 Destroys the IVideoEncode object. More...
 
virtual void Open (const CRxString &sxOutputVideoFile, const CRxImageFormat &xFormat)=0
 Opens the video file. More...
 

Protected Member Functions

virtual ~IVideoEncode ()
 Destructor. More...
 

Constructor & Destructor Documentation

◆ ~IVideoEncode()

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

Destructor.

Member Function Documentation

◆ AddImage()

virtual void Rx::FileIO::IVideoEncode::AddImage ( const CRxImage xSrcImg)
pure virtual

Add a single image for encoding to video data.

Parameters
xSrcImg[in] Source image.

Implemented in Rx::FileIO::CFFmpegEnc_Impl, and Rx::FileIO::CFFmpegEncode.

◆ Close()

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

Closes the video file.

Implemented in Rx::FileIO::CFFmpegEncode, and Rx::FileIO::CFFmpegEnc_Impl.

◆ Destroy()

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

Destroys the IVideoEncode object.

Implemented in Rx::FileIO::CFFmpegEncode, and Rx::FileIO::CFFmpegEnc_Impl.

◆ Open()

virtual void Rx::FileIO::IVideoEncode::Open ( const CRxString sxOutputVideoFile,
const CRxImageFormat xFormat 
)
pure virtual

Opens the video file.

Parameters
sxOutputVideoFile[in] The path of the output video file.
xFormat[in] Describes the format of the input images.

Implemented in Rx::FileIO::CFFmpegEncode, and Rx::FileIO::CFFmpegEnc_Impl.