24 #ifndef __FIREVISION_UTILS_READERS_READER_H_ 25 #define __FIREVISION_UTILS_READERS_READER_H_ 27 #include <fvutils/color/colorspaces.h> 39 virtual void set_buffer(
unsigned char *yuv422planar_buffer) = 0;
43 virtual void read() = 0;
virtual colorspace_t colorspace()=0
Get colorspace from the just read image.
virtual ~Reader()
Virtual empty destructor.
virtual unsigned int pixel_height()=0
Get height of read image in pixels.
virtual void read()=0
Read data from file.
virtual void set_buffer(unsigned char *yuv422planar_buffer)=0
Set buffer that the read image should be written to.
virtual unsigned int pixel_width()=0
Get width of read image in pixels.