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 {
48 virtual void set_image_dimensions(
unsigned int width,
unsigned int height);
49 virtual void set_compressed_buffer(
unsigned char *buf,
unsigned int buf_size);
50 virtual void set_decompressed_buffer(
unsigned char *buf,
unsigned int buf_size);
51 virtual void decompress() = 0;
unsigned char * _decompressed_buffer
Buffer containing the decompressed image after decompression.
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.
Image de-compressor interface.
unsigned int _decompressed_buffer_size
Size in bytes of _decompressed_buffer.
unsigned int _width
Width of image in pixels.