Fawkes API
Fawkes Development Version
|
Image de-compressor interface. More...
#include <>>
Public Member Functions | |
virtual | ~ImageDecompressor () |
Virtual empty destructor. More... | |
virtual void | set_image_dimensions (unsigned int width, unsigned int height) |
Set image dimensions. More... | |
virtual void | set_compressed_buffer (unsigned char *buf, unsigned int buf_size) |
Set compressed buffer. More... | |
virtual void | set_decompressed_buffer (unsigned char *buf, unsigned int buf_size) |
Set decompressed buffer. More... | |
virtual void | decompress ()=0 |
Decompress image. More... | |
Protected Attributes | |
unsigned int | _width |
Width of image in pixels. More... | |
unsigned int | _height |
Height of image in pixels. More... | |
unsigned char * | _compressed_buffer |
Buffer containing the compressed image. More... | |
unsigned char * | _decompressed_buffer |
Buffer containing the decompressed image after decompression. More... | |
unsigned int | _compressed_buffer_size |
Size in bytes of _compressed_buffer. More... | |
unsigned int | _decompressed_buffer_size |
Size in bytes of _decompressed_buffer. More... | |
Image de-compressor interface.
Currently only decompressing from memory to memory is supported.
Definition at line 35 of file imagedecompressor.h.
|
virtual |
Virtual empty destructor.
Definition at line 67 of file imagedecompressor.cpp.
|
pure virtual |
Decompress image.
Implemented in firevision::JpegImageDecompressor.
|
virtual |
Set compressed buffer.
buf | buffer |
buf_size | size of buffer in bytes |
Definition at line 89 of file imagedecompressor.cpp.
References _compressed_buffer, and _compressed_buffer_size.
Referenced by firevision::FuseImageContent::decompress().
|
virtual |
Set decompressed buffer.
buf | decompressed buffer |
buf_size | buffer size |
Definition at line 101 of file imagedecompressor.cpp.
References _decompressed_buffer, and _decompressed_buffer_size.
Referenced by firevision::FuseImageContent::decompress().
|
virtual |
Set image dimensions.
width | width of image in pixels |
height | height of image in pixels |
Definition at line 77 of file imagedecompressor.cpp.
|
protected |
Buffer containing the compressed image.
Definition at line 56 of file imagedecompressor.h.
Referenced by set_compressed_buffer().
|
protected |
Size in bytes of _compressed_buffer.
Definition at line 58 of file imagedecompressor.h.
Referenced by set_compressed_buffer().
|
protected |
Buffer containing the decompressed image after decompression.
Definition at line 57 of file imagedecompressor.h.
Referenced by set_decompressed_buffer().
|
protected |
Size in bytes of _decompressed_buffer.
Definition at line 59 of file imagedecompressor.h.
Referenced by set_decompressed_buffer().
|
protected |
Height of image in pixels.
Definition at line 55 of file imagedecompressor.h.
Referenced by set_image_dimensions().
|
protected |
Width of image in pixels.
Definition at line 54 of file imagedecompressor.h.
Referenced by set_image_dimensions().