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