|
Fawkes API
Fawkes Development Version
|
Image de-compressor interface. More...
#include <>>

Public Member Functions | |
| virtual | ~ImageDecompressor () |
| Virtual empty destructor. | |
| virtual void | set_image_dimensions (unsigned int width, unsigned int height) |
| Set image dimensions. | |
| virtual void | set_compressed_buffer (unsigned char *buf, unsigned int buf_size) |
| Set compressed buffer. | |
| virtual void | set_decompressed_buffer (unsigned char *buf, unsigned int buf_size) |
| Set decompressed buffer. | |
| virtual void | decompress ()=0 |
| Decompress image. | |
Protected Attributes | |
| unsigned int | _width |
| Width of image in pixels. | |
| unsigned int | _height |
| Height of image in pixels. | |
| unsigned char * | _compressed_buffer |
| Buffer containing the compressed image. | |
| unsigned char * | _decompressed_buffer |
| Buffer containing the decompressed image after decompression. | |
| unsigned int | _compressed_buffer_size |
| Size in bytes of _compressed_buffer. | |
| unsigned int | _decompressed_buffer_size |
| Size in bytes of _decompressed_buffer. | |
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.
Referenced by firevision::FuseImageContent::decompress().
|
virtual |
Set decompressed buffer.
| buf | decompressed buffer |
| buf_size | buffer size |
Definition at line 101 of file imagedecompressor.cpp.
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.
|
protected |
Size in bytes of _compressed_buffer.
Definition at line 58 of file imagedecompressor.h.
|
protected |
Buffer containing the decompressed image after decompression.
Definition at line 57 of file imagedecompressor.h.
|
protected |
Size in bytes of _decompressed_buffer.
Definition at line 59 of file imagedecompressor.h.
|
protected |
Height of image in pixels.
Definition at line 55 of file imagedecompressor.h.
|
protected |
Width of image in pixels.
Definition at line 54 of file imagedecompressor.h.