15 #ifndef __IMG_RLEncode__
16 #define __IMG_RLEncode__
33 int bytesPerChannel(
int xres);
36 void allocEncodeBuffer(
int xres);
42 char *encode(
const char *
data,
int data_length,
43 int &result_length,
int stride=4);
47 int decode(
char *
result,
int result_length,
const char *data,
56 static int getRepeatCount(
const char *data,
int pixel_size,
57 int max_run = 128,
int stride=4);
64 static int yuvEncode(
unsigned char *yuvdata,
const void *rgbdata,
69 static int yuvDecode(
void *rgbdata,
const unsigned char *yuvdata,
**But if you need a result
Describes the format and layout of a single plane in an image The plane specifies the format and name...
GLint GLenum GLboolean GLsizei stride
#define UT_NON_COPYABLE(CLASS)
Define deleted copy constructor and assignment operator inside a class.