#include <UT_Compress.h>
Public Member Functions | |
| UT_Compress () | |
| ~UT_Compress () | |
| void | setChunkSize (int size) |
| int | isConstant (const Type *data, int size=-1) const |
| int | prefilter (Type *data, int size=-1) |
| void | postfilter (Type *data, int size=-1) |
| void * | encodeRLE (const Type *data, int &result_length, int size=-1, int stride=1) |
| int | decodeRLE (const void *data, int size, Type *dest, int stride=1) |
| void * | compress (const void *data, int &result_length, int size=-1, int level=1) |
| int | expand (const void *data, int size, void *dest) |
| unsigned char * | getRLEBuf () |
| unsigned char * | getCompressBuf () |
| template<> | |
| int | prefilter (unsigned char *data, int size) |
| template<> | |
| void | postfilter (unsigned char *data, int size) |
| template<> | |
| int | prefilter (unsigned short *data, int size) |
| template<> | |
| void | postfilter (unsigned short *data, int size) |
Definition at line 31 of file UT_Compress.h.
| UT_Compress< Type >::UT_Compress | ( | ) | [inline] |
Definition at line 29 of file UT_Compress.C.
| UT_Compress< Type >::~UT_Compress | ( | ) | [inline] |
Definition at line 38 of file UT_Compress.C.
| void * UT_Compress< Type >::compress | ( | const void * | data, | |
| int & | result_length, | |||
| int | size = -1, |
|||
| int | level = 1 | |||
| ) | [inline] |
Definition at line 387 of file UT_Compress.C.
| int UT_Compress< Type >::decodeRLE | ( | const void * | data, | |
| int | size, | |||
| Type * | dest, | |||
| int | stride = 1 | |||
| ) | [inline] |
Definition at line 293 of file UT_Compress.C.
| void * UT_Compress< Type >::encodeRLE | ( | const Type * | data, | |
| int & | result_length, | |||
| int | size = -1, |
|||
| int | stride = 1 | |||
| ) | [inline] |
Definition at line 200 of file UT_Compress.C.
| int UT_Compress< Type >::expand | ( | const void * | data, | |
| int | size, | |||
| void * | dest | |||
| ) | [inline] |
Definition at line 409 of file UT_Compress.C.
| unsigned char* UT_Compress< Type >::getCompressBuf | ( | ) | [inline] |
Definition at line 63 of file UT_Compress.h.
| unsigned char* UT_Compress< Type >::getRLEBuf | ( | ) | [inline] |
Definition at line 62 of file UT_Compress.h.
| int UT_Compress< Type >::isConstant | ( | const Type * | data, | |
| int | size = -1 | |||
| ) | const [inline] |
Definition at line 63 of file UT_Compress.C.
| void UT_Compress< unsigned short >::postfilter | ( | unsigned short * | data, | |
| int | size | |||
| ) | [inline] |
Definition at line 165 of file UT_Compress.C.
| void UT_Compress< unsigned char >::postfilter | ( | unsigned char * | data, | |
| int | size | |||
| ) | [inline] |
Definition at line 111 of file UT_Compress.C.
| void UT_Compress< Type >::postfilter | ( | Type * | data, | |
| int | size = -1 | |||
| ) | [inline] |
Definition at line 192 of file UT_Compress.C.
| int UT_Compress< unsigned short >::prefilter | ( | unsigned short * | data, | |
| int | size | |||
| ) | [inline] |
Definition at line 133 of file UT_Compress.C.
| int UT_Compress< unsigned char >::prefilter | ( | unsigned char * | data, | |
| int | size | |||
| ) | [inline] |
Definition at line 79 of file UT_Compress.C.
| int UT_Compress< Type >::prefilter | ( | Type * | data, | |
| int | size = -1 | |||
| ) | [inline] |
Definition at line 186 of file UT_Compress.C.
| void UT_Compress< Type >::setChunkSize | ( | int | size | ) | [inline] |
Definition at line 45 of file UT_Compress.C.
1.5.9