24 #ifndef __FIREVISION_UTILS_READERS_BITMAP_H_ 25 #define __FIREVISION_UTILS_READERS_BITMAP_H_ 27 #include <fvutils/readers/reader.h> 42 virtual void set_buffer(
unsigned char* yuv422planar_buffer);
50 unsigned char* m_yuv_buffer;
51 unsigned char* m_pnm_buffer;
55 unsigned int m_img_width;
56 unsigned int m_img_height;
57 unsigned int m_img_depth;
virtual colorspace_t colorspace()
Get colorspace from the just read image.
PNMReader(const char *filename)
Constructor.
virtual void read()
Read data from file.
virtual unsigned int pixel_height()
Get height of read image in pixels.
virtual unsigned int pixel_width()
Get width of read image in pixels.
virtual ~PNMReader()
Destructor.
virtual void set_buffer(unsigned char *yuv422planar_buffer)
Set buffer that the read image should be written to.