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>
30 namespace firevision {
Image de-compressor interface.
virtual void set_decompressed_buffer(unsigned char *buf, unsigned int buf_size)
Set decompressed buffer.
virtual ~ImageDecompressor()
Virtual empty destructor.
unsigned char * _compressed_buffer
Buffer containing the compressed image.
unsigned int _width
Width of image in pixels.
unsigned char * _decompressed_buffer
Buffer containing the decompressed image after decompression.
unsigned int _compressed_buffer_size
Size in bytes of _compressed_buffer.
virtual void set_compressed_buffer(unsigned char *buf, unsigned int buf_size)
Set compressed buffer.
virtual void set_image_dimensions(unsigned int width, unsigned int height)
Set image dimensions.
unsigned int _decompressed_buffer_size
Size in bytes of _decompressed_buffer.
virtual void decompress()=0
Decompress image.
unsigned int _height
Height of image in pixels.