|
Fawkes API Fawkes Development Version
|
FvRaw image reader implementation. More...
#include <>>

Public Member Functions | |
| FvRawReader (const char *filename) | |
| Constructor. More... | |
| virtual | ~FvRawReader () |
| Destructor. More... | |
| virtual void | set_buffer (unsigned char *yuv422planar_buffer) |
| Set buffer that the read image should be written to. More... | |
| virtual colorspace_t | colorspace () |
| Get colorspace from the just read image. More... | |
| virtual unsigned int | pixel_width () |
| Get width of read image in pixels. More... | |
| virtual unsigned int | pixel_height () |
| Get height of read image in pixels. More... | |
| virtual void | read () |
| Read data from file. More... | |
Public Member Functions inherited from firevision::Reader | |
| 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... | |
Static Public Member Functions | |
| static bool | is_FvRaw (const char *filename) |
| Check if given file contains FvRaw image. More... | |
| firevision::FvRawReader::FvRawReader | ( | const char * | filename | ) |
Constructor.
| filename | filename to read from. |
Definition at line 44 of file fvraw.cpp.
References firevision::FvRawWriter::FILE_IDENTIFIER.
|
virtual |
|
virtual |
Get colorspace from the just read image.
Implements firevision::Reader.
Definition at line 81 of file fvraw.cpp.
References firevision::FvRawWriter::FvRawHeader::colorspace.
|
static |
Check if given file contains FvRaw image.
| filename | file to check |
Definition at line 130 of file fvraw.cpp.
References firevision::FvRawWriter::FvRawHeader::file_id, and firevision::FvRawWriter::FILE_IDENTIFIER.
|
virtual |
Get height of read image in pixels.
Implements firevision::Reader.
Definition at line 101 of file fvraw.cpp.
References firevision::FvRawWriter::FvRawHeader::height.
|
virtual |
Get width of read image in pixels.
Implements firevision::Reader.
Definition at line 91 of file fvraw.cpp.
References firevision::FvRawWriter::FvRawHeader::width.
|
virtual |
|
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.