|
Fawkes API
Fawkes Development Version
|
YUV block for colormap file. More...
#include <>>

Public Member Functions | |
| ColormapFileYuvBlock (YuvColormap *cm, unsigned int level=0) | |
| Constructor. | |
| ColormapFileYuvBlock (FireVisionDataFileBlock *block) | |
| Copy Constructor. | |
| unsigned int | range_from () const |
| Range from value. | |
| unsigned int | range_to () const |
| Range to value. | |
Public Member Functions inherited from firevision::ColormapFileBlock | |
| ColormapFileBlock (unsigned int type, size_t data_size, void *spec_header, size_t spec_header_size) | |
| Constructor. | |
| ColormapFileBlock (unsigned int type, size_t data_size, size_t spec_header_size) | |
| Constructor. | |
| ColormapFileBlock (unsigned int type, size_t data_size) | |
| Constructor. | |
| virtual | ~ColormapFileBlock () |
| Virtual empty destructor. | |
Public Member Functions inherited from firevision::FireVisionDataFileBlock | |
| FireVisionDataFileBlock (unsigned int type, size_t data_size, void *spec_header, size_t spec_header_size) | |
| Constructor. | |
| FireVisionDataFileBlock (unsigned int type, size_t data_size, size_t spec_header_size) | |
| Constructor. | |
| FireVisionDataFileBlock (unsigned int type, size_t data_size) | |
| Constructor. | |
| FireVisionDataFileBlock (FireVisionDataFileBlock *block) | |
| Shallow copy constructor. | |
| virtual | ~FireVisionDataFileBlock () |
| Destructor. | |
| unsigned int | type () const |
| Get block type. | |
| void * | block_memptr () const |
| Pointer to the whole block. | |
| size_t | block_size () const |
| Size of blocks. | |
| void * | data_ptr () const |
| Get data pointer. | |
| size_t | data_size () const |
| Size of data chunk. | |
Additional Inherited Members | |
Protected Member Functions inherited from firevision::ColormapFileBlock | |
| ColormapFileBlock (FireVisionDataFileBlock *block) | |
| Shallow copy constructor. | |
Protected Member Functions inherited from firevision::FireVisionDataFileBlock | |
| void | set_spec_header (void *spec_header, size_t spec_header_size) |
| Set content-specific header. | |
YUV block for colormap file.
Definition at line 45 of file cmfile_yuvblock.h.
| firevision::ColormapFileYuvBlock::ColormapFileYuvBlock | ( | YuvColormap * | cm, |
| unsigned int | level = 0 |
||
| ) |
Constructor.
| cm | YUV colormap that this block shall represent. |
| level | Y level |
Definition at line 45 of file cmfile_yuvblock.cpp.
References firevision::FireVisionDataFileBlock::_data, firevision::FireVisionDataFileBlock::_data_size, firevision::FireVisionDataFileBlock::_spec_header, firevision::YuvColormap::deepness(), firevision::YuvColormap::depth(), firevision::YuvColormap::get_buffer(), firevision::YuvColormap::plane_size(), firevision::cmfile_yuvblock_header_t::range_from, and firevision::cmfile_yuvblock_header_t::range_to.
| firevision::ColormapFileYuvBlock::ColormapFileYuvBlock | ( | FireVisionDataFileBlock * | block | ) |
Copy Constructor.
It is assumed that the block actually is a rectification LUT info block. Check that before calling this method.
| block | block to copy |
Definition at line 68 of file cmfile_yuvblock.cpp.
References firevision::FireVisionDataFileBlock::_spec_header.
| unsigned int firevision::ColormapFileYuvBlock::range_from | ( | ) | const |
Range from value.
Definition at line 79 of file cmfile_yuvblock.cpp.
References firevision::cmfile_yuvblock_header_t::range_from.
| unsigned int firevision::ColormapFileYuvBlock::range_to | ( | ) | const |
Range to value.
Definition at line 89 of file cmfile_yuvblock.cpp.
References firevision::cmfile_yuvblock_header_t::range_to.