24 #ifndef __FIREVISION_UTILS_COMPRESSION_IMAGEDECOMPRESSOR_H_ 25 #define __FIREVISION_UTILS_COMPRESSION_IMAGEDECOMPRESSOR_H_ 27 #include <fvutils/color/colorspaces.h> 28 #include <sys/types.h> virtual ~ImageDecompressor()
Virtual empty destructor.
virtual void set_compressed_buffer(unsigned char *buf, unsigned int buf_size)
Set compressed buffer.
unsigned char * _decompressed_buffer
Buffer containing the decompressed image after decompression.
virtual void set_decompressed_buffer(unsigned char *buf, unsigned int buf_size)
Set decompressed buffer.
unsigned int _compressed_buffer_size
Size in bytes of _compressed_buffer.
unsigned int _height
Height of image in pixels.
unsigned char * _compressed_buffer
Buffer containing the compressed image.
virtual void set_image_dimensions(unsigned int width, unsigned int height)
Set image dimensions.
virtual void decompress()=0
Decompress image.
Image de-compressor interface.
unsigned int _decompressed_buffer_size
Size in bytes of _decompressed_buffer.
unsigned int _width
Width of image in pixels.