Fawkes API
Fawkes Development Version
|
Image reader interface. More...
#include <>>
Public Member Functions | |
virtual | ~Reader () |
Virtual empty destructor. More... | |
virtual void | set_buffer (unsigned char *yuv422planar_buffer)=0 |
Set buffer that the read image should be written to. More... | |
virtual colorspace_t | colorspace ()=0 |
Get colorspace from the just read image. More... | |
virtual unsigned int | pixel_width ()=0 |
Get width of read image in pixels. More... | |
virtual unsigned int | pixel_height ()=0 |
Get height of read image in pixels. More... | |
virtual void | read ()=0 |
Read data from file. More... | |
|
virtual |
Virtual empty destructor.
Definition at line 56 of file reader.cpp.
|
pure virtual |
Get colorspace from the just read image.
Implemented in firevision::JpegReader, firevision::FvRawReader, firevision::PNGReader, and firevision::PNMReader.
|
pure virtual |
Get height of read image in pixels.
Implemented in firevision::JpegReader, firevision::FvRawReader, firevision::PNGReader, and firevision::PNMReader.
|
pure virtual |
Get width of read image in pixels.
Implemented in firevision::JpegReader, firevision::FvRawReader, firevision::PNGReader, and firevision::PNMReader.
|
pure virtual |
Read data from file.
Implemented in firevision::JpegReader, firevision::FvRawReader, firevision::PNGReader, and firevision::PNMReader.
|
pure virtual |
Set buffer that the read image should be written to.
yuv422planar_buffer | buffer to write image to. The reader must ensure that it does the proper conversion (if needed) to YUV 422 planar format. |
Implemented in firevision::JpegReader, firevision::FvRawReader, firevision::PNGReader, and firevision::PNMReader.