24 #ifndef __FIREVISION_UTILS_READERS_FVRAW_READER_H_ 25 #define __FIREVISION_UTILS_READERS_FVRAW_READER_H_ 27 #include <fvutils/readers/reader.h> 28 #include <fvutils/writers/fvraw.h> 43 virtual void set_buffer(
unsigned char *yuv422planar_buffer);
49 static bool is_FvRaw(
const char *filename);
53 unsigned char *buffer;
56 unsigned int buffer_size;
FvRawReader(const char *filename)
Constructor.
virtual void set_buffer(unsigned char *yuv422planar_buffer)
Set buffer that the read image should be written to.
virtual void read()
Read data from file.
virtual ~FvRawReader()
Destructor.
static bool is_FvRaw(const char *filename)
Check if given file contains FvRaw image.
virtual unsigned int pixel_width()
Get width of read image in pixels.
virtual colorspace_t colorspace()
Get colorspace from the just read image.
virtual unsigned int pixel_height()
Get height of read image in pixels.
FvRaw image reader implementation.