24 #include <fvutils/colormap/cmfile_yuvblock.h>
25 #include <fvutils/colormap/cmfile.h>
26 #include <fvutils/colormap/yuvcm.h>
28 #include <core/exceptions/software.h>
31 namespace firevision {
45 ColormapFileYuvBlock::ColormapFileYuvBlock(
YuvColormap *cm,
unsigned int level)
48 if ( level > cm->
depth() ) {
unsigned int range_to() const
Range to value.
void * _data
Pointer to the internal data segment.
unsigned int plane_size() const
Get U/V plane size.
virtual unsigned int depth() const
Get depth of colormap.
FireVision File Format data block.
ColormapFileYuvBlock(YuvColormap *cm, unsigned int level=0)
Constructor.
void * _spec_header
Pointer to the content specific block header.
virtual unsigned int deepness() const
Get deepness of colormap.
FireVision data file block for colormap files.
unsigned int range_from() const
Range from value.
size_t _data_size
Size of _data in bytes.
virtual unsigned char * get_buffer() const
Get the raw buffer of this colormap.