HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
IMG_RLEncode Class Reference

#include <IMG_RLEncode.h>

Public Member Functions

 IMG_RLEncode ()
 
 ~IMG_RLEncode ()
 
int bytesPerChannel (int xres)
 
void allocEncodeBuffer (int xres)
 
char * encode (const char *data, int data_length, int &result_length, int stride=4)
 
int decode (char *result, int result_length, const char *data, int stride=4)
 

Static Public Member Functions

static int getRepeatCount (const char *data, int pixel_size, int max_run=128, int stride=4)
 
static int yuvEncode (unsigned char *yuvdata, const void *rgbdata, const IMG_Plane &plane, int xres)
 
static int yuvDecode (void *rgbdata, const unsigned char *yuvdata, const IMG_Plane &plane, int xres)
 

Detailed Description

Definition at line 23 of file IMG_RLEncode.h.

Constructor & Destructor Documentation

IMG_RLEncode::IMG_RLEncode ( )
IMG_RLEncode::~IMG_RLEncode ( )

Member Function Documentation

void IMG_RLEncode::allocEncodeBuffer ( int  xres)
int IMG_RLEncode::bytesPerChannel ( int  xres)
int IMG_RLEncode::decode ( char *  result,
int  result_length,
const char *  data,
int  stride = 4 
)
char* IMG_RLEncode::encode ( const char *  data,
int  data_length,
int result_length,
int  stride = 4 
)
static int IMG_RLEncode::getRepeatCount ( const char *  data,
int  pixel_size,
int  max_run = 128,
int  stride = 4 
)
static
static int IMG_RLEncode::yuvDecode ( void rgbdata,
const unsigned char *  yuvdata,
const IMG_Plane plane,
int  xres 
)
static
static int IMG_RLEncode::yuvEncode ( unsigned char *  yuvdata,
const void rgbdata,
const IMG_Plane plane,
int  xres 
)
static

The documentation for this class was generated from the following file: