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.
|
inlinestatic |
Definition at line 74 of file intmacros.h.
|
inlinestatic |
Definition at line 11 of file intmacros.h.
|
inlinestatic |
Definition at line 81 of file intmacros.h.
|
inlinestatic |
Definition at line 67 of file intmacros.h.
|
inlinestatic |
Definition at line 53 of file intmacros.h.
|
inlinestatic |
Definition at line 60 of file intmacros.h.
|
inlinestatic |
Definition at line 39 of file intmacros.h.
|
inlinestatic |
Definition at line 46 of file intmacros.h.
|
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 | ||
) |
|
inlinestatic |
Definition at line 89 of file intmacros.h.
|
inlinestatic |
Definition at line 25 of file intmacros.h.
|
static |
Definition at line 24 of file portableimage.cpp.
|
inlinestatic |
Definition at line 97 of file intmacros.h.
|
inlinestatic |
Definition at line 32 of file intmacros.h.
|
inlinestatic |
Definition at line 18 of file intmacros.h.
|
inlinestatic |
Definition at line 104 of file intmacros.h.
|
static |
Definition at line 5 of file portableimage.cpp.
const int IZ::MAX_CODE_VALUE = (1 << MAX_CODE_LENGTH) |
const unsigned int IZ::staticdCount |