Classes | |
class | BitCoderBase |
class | BitDecoder |
class | BitEncoder |
class | Image |
class | ImageDecoder |
class | ImageEncoder |
class | InputFile |
class | OutputFile |
class | Pixel |
class | PortableImage |
class | Predictor0 |
class | Predictor1x |
class | Predictor1y |
class | Predictor2avg |
class | Predictor3alpha |
class | Predictor3avgplane |
class | Predictor3med |
class | Predictor3plane |
Typedefs | |
typedef unsigned int | U32 |
typedef unsigned long long | U64 |
Functions | |
static unsigned int | absValue (int v) |
static unsigned int | bitMask (unsigned int bitCount) |
static unsigned int | bsr (unsigned int w) |
static int | cancelValue (int v, int v0) |
static int | clamp0 (int v) |
static int | clampByte (int v) |
static int | clampMax (int v, int max) |
static int | clampMin (int v, int min) |
static int | comp_int (const void *p1, const void *p2) |
const unsigned char * | decodeImage (Image<> &im, const unsigned char *src) |
void | decodeImageSize (Image<> &im, const unsigned char *src) |
unsigned char * | encodeImage (const Image<> &im, unsigned char *dest) |
static void | initBitsTable () |
void | initDecodeTable () |
void | initEncodeTable () |
static unsigned int | numBits (unsigned int v) |
static int | oppositeSign (int v1, int v2) |
static const unsigned char * | readValue (const unsigned char *p, int &value) |
static unsigned int | s2u (int s) |
static int | selectVal (int s, int v0, int v1) |
static unsigned int | signBit (int v) |
static int | u2s (unsigned int u) |
static unsigned char * | writeValue (unsigned char *p, unsigned char whiteSpace, int value) |
Variables | |
const int | CONTEXT_BITS = 4 |
const int | CONTEXT_COUNT = 9 |
const int | CONTEXT_SIZE_REGULAR = 1 |
const int | CONTEXT_SIZE_RLE = 3 |
char | decodeTable [1<< CONTEXT_BITS][MAX_CODE_VALUE] |
const int | MAX_CODE_LENGTH = 6 |
const int | MAX_CODE_VALUE = (1 << MAX_CODE_LENGTH) |
unsigned int | staticdBits [1<< (2 *CONTEXT_BITS)] |
const unsigned int | staticdCount [1<< (2 *CONTEXT_BITS)] |
typedef unsigned int IZ::U32 |
Definition at line 24 of file bitcoder.h.
typedef unsigned long long IZ::U64 |
Definition at line 23 of file bitcoder.h.
static unsigned int IZ::absValue | ( | int | v | ) | [inline, static] |
Definition at line 74 of file intmacros.h.
static unsigned int IZ::bitMask | ( | unsigned int | bitCount | ) | [inline, static] |
Definition at line 11 of file intmacros.h.
static unsigned int IZ::bsr | ( | unsigned int | w | ) | [inline, static] |
Definition at line 81 of file intmacros.h.
static int IZ::cancelValue | ( | int | v, |
int | v0 | ||
) | [inline, static] |
Definition at line 67 of file intmacros.h.
static int IZ::clamp0 | ( | int | v | ) | [inline, static] |
Definition at line 53 of file intmacros.h.
static int IZ::clampByte | ( | int | v | ) | [inline, static] |
Definition at line 60 of file intmacros.h.
static int IZ::clampMax | ( | int | v, |
int | max | ||
) | [inline, static] |
Definition at line 39 of file intmacros.h.
static int IZ::clampMin | ( | int | v, |
int | min | ||
) | [inline, static] |
Definition at line 46 of file intmacros.h.
static int IZ::comp_int | ( | const void * | p1, |
const void * | p2 | ||
) | [static] |
const unsigned char * IZ::decodeImage | ( | Image<> & | im, |
const unsigned char * | src | ||
) |
void IZ::decodeImageSize | ( | Image<> & | im, |
const unsigned char * | src | ||
) |
unsigned char * IZ::encodeImage | ( | const Image<> & | im, |
unsigned char * | dest | ||
) |
static void IZ::initBitsTable | ( | ) | [static] |
void IZ::initDecodeTable | ( | ) |
void IZ::initEncodeTable | ( | ) |
static unsigned int IZ::numBits | ( | unsigned int | v | ) | [inline, static] |
Definition at line 89 of file intmacros.h.
static int IZ::oppositeSign | ( | int | v1, |
int | v2 | ||
) | [inline, static] |
Definition at line 25 of file intmacros.h.
static const unsigned char* IZ::readValue | ( | const unsigned char * | p, |
int & | value | ||
) | [static] |
Definition at line 24 of file portableimage.cpp.
static unsigned int IZ::s2u | ( | int | s | ) | [inline, static] |
Definition at line 97 of file intmacros.h.
static int IZ::selectVal | ( | int | s, |
int | v0, | ||
int | v1 | ||
) | [inline, static] |
Definition at line 32 of file intmacros.h.
static unsigned int IZ::signBit | ( | int | v | ) | [inline, static] |
Definition at line 18 of file intmacros.h.
static int IZ::u2s | ( | unsigned int | u | ) | [inline, static] |
Definition at line 104 of file intmacros.h.
static unsigned char* IZ::writeValue | ( | unsigned char * | p, |
unsigned char | whiteSpace, | ||
int | value | ||
) | [static] |
Definition at line 5 of file portableimage.cpp.
const int IZ::CONTEXT_BITS = 4 |
const int IZ::CONTEXT_COUNT = 9 |
const int IZ::CONTEXT_SIZE_REGULAR = 1 |
const int IZ::CONTEXT_SIZE_RLE = 3 |
char IZ::decodeTable |
const int IZ::MAX_CODE_LENGTH = 6 |
const int IZ::MAX_CODE_VALUE = (1 << MAX_CODE_LENGTH) |
unsigned int IZ::staticdBits |
const unsigned int IZ::staticdCount |
{ 1, 4, 4, 4, 4, 4, 4, 4, 4, 0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 3, 3, 3, 3, 4, 4, 0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 3, 3, 3, 3, 4, 4, 0, 0, 0, 0, 0, 0, 0, 4, 3, 3, 3, 3, 3, 3, 3, 4, 0, 0, 0, 0, 0, 0, 0, 4, 3, 3, 3, 3, 3, 3, 3, 4, 0, 0, 0, 0, 0, 0, 0, 4, 3, 3, 3, 3, 3, 3, 3, 4, 0, 0, 0, 0, 0, 0, 0, 4, 4, 3, 3, 3, 3, 3, 3, 3, 0, 0, 0, 0, 0, 0, 0, 4, 4, 3, 3, 3, 3, 3, 3, 3, 0, 0, 0, 0, 0, 0, 0, 4, 4, 3, 3, 3, 3, 3, 3, 3, 0, 0, 0, 0, 0, 0, 0, }