HDK
|
#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 17 of file UT_Compress.h.
UT_Compress< Type >::UT_Compress | ( | ) |
Definition at line 21 of file UT_Compress.C.
UT_Compress< Type >::~UT_Compress | ( | ) |
Definition at line 30 of file UT_Compress.C.
void * UT_Compress< Type >::compress | ( | const void * | data, |
int & | result_length, | ||
int | size = -1 , |
||
int | level = 1 |
||
) |
Definition at line 379 of file UT_Compress.C.
int UT_Compress< Type >::decodeRLE | ( | const void * | data, |
int | size, | ||
Type * | dest, | ||
int | stride = 1 |
||
) |
Definition at line 285 of file UT_Compress.C.
void * UT_Compress< Type >::encodeRLE | ( | const Type * | data, |
int & | result_length, | ||
int | size = -1 , |
||
int | stride = 1 |
||
) |
Definition at line 192 of file UT_Compress.C.
int UT_Compress< Type >::expand | ( | const void * | data, |
int | size, | ||
void * | dest | ||
) |
Definition at line 401 of file UT_Compress.C.
|
inline |
Definition at line 49 of file UT_Compress.h.
|
inline |
Definition at line 48 of file UT_Compress.h.
int UT_Compress< Type >::isConstant | ( | const Type * | data, |
int | size = -1 |
||
) | const |
Definition at line 55 of file UT_Compress.C.
void UT_Compress< Type >::postfilter | ( | Type * | data, |
int | size = -1 |
||
) |
Definition at line 184 of file UT_Compress.C.
|
inline |
Definition at line 103 of file UT_Compress.C.
|
inline |
Definition at line 157 of file UT_Compress.C.
int UT_Compress< Type >::prefilter | ( | Type * | data, |
int | size = -1 |
||
) |
Definition at line 178 of file UT_Compress.C.
|
inline |
Definition at line 71 of file UT_Compress.C.
|
inline |
Definition at line 125 of file UT_Compress.C.
void UT_Compress< Type >::setChunkSize | ( | int | size | ) |
Definition at line 37 of file UT_Compress.C.