Fawkes API
Fawkes Development Version
|
FvRaw image reader implementation. More...
#include <>>
Public Member Functions | |
FvRawReader (const char *filename) | |
Constructor. | |
virtual | ~FvRawReader () |
Destructor. | |
virtual void | set_buffer (unsigned char *yuv422planar_buffer) |
Set buffer that the read image should be written to. | |
virtual colorspace_t | colorspace () |
Get colorspace from the just read image. | |
virtual unsigned int | pixel_width () |
Get width of read image in pixels. | |
virtual unsigned int | pixel_height () |
Get height of read image in pixels. | |
virtual void | read () |
Read data from file. | |
Static Public Member Functions | |
static bool | is_FvRaw (const char *filename) |
Check if given file contains FvRaw image. |
FvRaw image reader implementation.
firevision::FvRawReader::FvRawReader | ( | const char * | filename | ) |
firevision::FvRawReader::~FvRawReader | ( | ) | [virtual] |
colorspace_t firevision::FvRawReader::colorspace | ( | ) | [virtual] |
bool firevision::FvRawReader::is_FvRaw | ( | const char * | filename | ) | [static] |
unsigned int firevision::FvRawReader::pixel_height | ( | ) | [virtual] |
unsigned int firevision::FvRawReader::pixel_width | ( | ) | [virtual] |
void firevision::FvRawReader::read | ( | ) | [virtual] |
void firevision::FvRawReader::set_buffer | ( | unsigned char * | yuv422planar_buffer | ) | [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. |
Implements firevision::Reader.