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"
85 virtual void Read(
void *buffer);
120 virtual void Write(
const void *buffer);
159 void operator=(const
Self &) ITK_DELETE_FUNCTION;
174 #endif // itkVXLVideoIO_h
virtual void SetReadFromFile()
void UpdateReaderProperties()
virtual void SetWriterParameters(TemporalRatioType fps, const std::vector< SizeValueType > &dim, const char *fourCC, unsigned int nChannels, IOComponentType componentType)
SmartPointer< Self > Pointer
Light weight base class for most itk classes.
Abstract superclass defines video IO interface.
vidl_ffmpeg_istream * m_Reader
unsigned int GetSizeFromPixelFormat(vidl_pixel_format fmt)
virtual bool CanWriteFile(const char *)
virtual void Write(const void *buffer)
virtual int GetCameraIndex()
vidl_frame_sptr m_VIDLFrame
virtual void FinishReadingOrWriting()
Superclass::FrameOffsetType FrameOffsetType
vidl_pixel_format m_PixelFormat
Superclass::TemporalRatioType TemporalRatioType
Superclass::TemporalOffsetType TemporalOffsetType
SizeValueType FrameOffsetType
unsigned int GetNChannelsFromPixelFormat(vidl_pixel_format fmt)
virtual bool CanReadCamera(CameraIDType cameraID) const
virtual void Read(void *buffer)
virtual TemporalRatioType GetRatio() const
virtual FrameOffsetType GetIFrameInterval() const
SizeValueType CameraIDType
void PrintSelf(std::ostream &os, Indent indent) const override
bool PixelFormatSupported(vidl_pixel_format fmt)
virtual FrameOffsetType GetLastIFrame() const
virtual bool SetNextFrameToRead(FrameOffsetType frameNumber)
virtual void SetCameraIndex(int idx)
Superclass::CameraIDType CameraIDType
virtual TemporalOffsetType GetPositionInMSec() const
virtual void SetReadFromCamera()
vidl_ffmpeg_ostream_params::encoder_type FourCCtoEncoderType(const char *fourCC)
virtual TemporalRatioType GetFramesPerSecond() const
virtual void ReadImageInformation()
virtual void WriteImageInformation()
Control indentation during Print() invocation.
virtual FrameOffsetType GetCurrentFrame() const
virtual FrameOffsetType GetFrameTotal() const
Base class for most ITK classes.
vidl_ffmpeg_ostream_params::encoder_type m_Encoder
virtual bool CanReadFile(const char *)
double TemporalOffsetType
vidl_ffmpeg_ostream * m_Writer
VideoIO object for reading and writing videos using VXL.