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... | |
![]() | |
virtual | ~Reader () |
Virtual empty destructor. 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 | ) |
|
virtual |
|
virtual |
Get colorspace from the just read image.
Implements firevision::Reader.
Definition at line 88 of file fvraw.cpp.
Referenced by firevision::FileLoader::set_pixel_height().
|
static |
|
virtual |
Get height of read image in pixels.
Implements firevision::Reader.
Definition at line 110 of file fvraw.cpp.
Referenced by firevision::FileLoader::set_pixel_height().
|
virtual |
Get width of read image in pixels.
Implements firevision::Reader.
Definition at line 99 of file fvraw.cpp.
Referenced by firevision::FileLoader::set_pixel_height().
|
virtual |
Read data from file.
Implements firevision::Reader.
Definition at line 121 of file fvraw.cpp.
Referenced by firevision::FileLoader::set_pixel_height().
|
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.
Definition at line 81 of file fvraw.cpp.
Referenced by firevision::FileLoader::set_pixel_height().