18 #ifndef itkVXLVideoIO_h
19 #define itkVXLVideoIO_h
22 #ifndef ITK_VIDEO_USE_VXL
23 #define ITK_VIDEO_USE_VXL
27 #pragma warning ( disable : 4786 )
31 #include "vidl/vidl_ffmpeg_istream.h"
32 #include "vidl/vidl_ffmpeg_ostream.h"
33 #include "vidl/vidl_convert.h"
34 #include "vul/vul_reg_exp.h"
87 void Read(
void *buffer)
override;
122 void Write(
const void *buffer)
override;
173 #endif // itkVXLVideoIO_h
void UpdateReaderProperties()
double TemporalOffsetType
Light weight base class for most itk classes.
void ReadImageInformation() override
Abstract superclass defines video IO interface.
SizeValueType FrameOffsetType
vidl_ffmpeg_istream * m_Reader
unsigned int GetSizeFromPixelFormat(vidl_pixel_format fmt)
virtual int GetCameraIndex()
vidl_frame_sptr m_VIDLFrame
bool CanWriteFile(const char *) override
vidl_pixel_format m_PixelFormat
TemporalRatioType GetRatio() const override
TemporalRatioType GetFramesPerSecond() const override
unsigned int GetNChannelsFromPixelFormat(vidl_pixel_format fmt)
bool SetNextFrameToRead(FrameOffsetType frameNumber) override
void SetWriterParameters(TemporalRatioType fps, const std::vector< SizeValueType > &dim, const char *fourCC, unsigned int nChannels, IOComponentType componentType) override
bool CanReadFile(const char *) override
FrameOffsetType GetFrameTotal() const override
virtual FrameOffsetType GetIFrameInterval() const
void PrintSelf(std::ostream &os, Indent indent) const override
void FinishReadingOrWriting() override
void SetReadFromFile() override
TemporalOffsetType GetPositionInMSec() const override
bool PixelFormatSupported(vidl_pixel_format fmt)
virtual void SetCameraIndex(int idx)
void SetReadFromCamera() override
void Read(void *buffer) override
vidl_ffmpeg_ostream_params::encoder_type FourCCtoEncoderType(const char *fourCC)
bool CanReadCamera(CameraIDType cameraID) const override
SizeValueType CameraIDType
void WriteImageInformation() override
Control indentation during Print() invocation.
FrameOffsetType GetLastIFrame() const override
Base class for most ITK classes.
void Write(const void *buffer) override
FrameOffsetType GetCurrentFrame() const override
vidl_ffmpeg_ostream_params::encoder_type m_Encoder
vidl_ffmpeg_ostream * m_Writer
VideoIO object for reading and writing videos using VXL.