39 void *
encodeRLE(
const Type *data,
int &result_length,
int size =-1,
44 void *
compress(
const void *data,
int &result_length,
int size =-1,
46 int expand (
const void *data,
int size,
void *dest);
52 int repeatCount(
const Type *data,
int max_run,
int stride);
55 unsigned char *myRLEBuf;
56 unsigned char *myCompressBuf;
void setChunkSize(int size)
int prefilter(Type *data, int size=-1)
int expand(const void *data, int size, void *dest)
GLint GLenum GLboolean GLsizei stride
void * encodeRLE(const Type *data, int &result_length, int size=-1, int stride=1)
int isConstant(const Type *data, int size=-1) const
int decodeRLE(const void *data, int size, Type *dest, int stride=1)
unsigned char * getRLEBuf()
void postfilter(Type *data, int size=-1)
unsigned char * getCompressBuf()
void * compress(const void *data, int &result_length, int size=-1, int level=1)