LodePNG::Inflator Class Reference

Collaboration diagram for LodePNG::Inflator:

Collaboration graph
[legend]

List of all members.

Public Member Functions

int getError ()
bool hasError ()
void inflate (std::vector< unsigned char > &out, const std::vector< unsigned char > &in, size_t inpos=0)

Private Member Functions

unsigned long huffmanDecodeSymbol (const unsigned char *in, size_t &bp, const HuffmanTree &codetree, size_t inlength)
void getTreeInflateFixed (HuffmanTree &tree, HuffmanTree &treeD)
void getTreeInflateDynamic (HuffmanTree &tree, HuffmanTree &treeD, const unsigned char *in, size_t &bp, size_t inlength)
void inflateHuffmanBlock (unsigned char *out, const unsigned char *in, size_t &bp, size_t &pos, size_t outlength, size_t inlength, unsigned long btype)
void inflateNoCompression (unsigned char *out, const unsigned char *in, size_t &bp, size_t &pos, size_t outlength, size_t inlength)

Private Attributes

int error
HuffmanTree codetree
HuffmanTree codetreeD
HuffmanTree codelengthcodetree


Member Function Documentation

unsigned long LodePNG::Inflator::huffmanDecodeSymbol ( const unsigned char *  in,
size_t &  bp,
const HuffmanTree codetree,
size_t  inlength 
) [inline, private]

Here is the call graph for this function:

void LodePNG::Inflator::getTreeInflateFixed ( HuffmanTree tree,
HuffmanTree treeD 
) [inline, private]

Here is the call graph for this function:

void LodePNG::Inflator::getTreeInflateDynamic ( HuffmanTree tree,
HuffmanTree treeD,
const unsigned char *  in,
size_t &  bp,
size_t  inlength 
) [inline, private]

Here is the call graph for this function:

void LodePNG::Inflator::inflateHuffmanBlock ( unsigned char *  out,
const unsigned char *  in,
size_t &  bp,
size_t &  pos,
size_t  outlength,
size_t  inlength,
unsigned long  btype 
) [inline, private]

Here is the call graph for this function:

void LodePNG::Inflator::inflateNoCompression ( unsigned char *  out,
const unsigned char *  in,
size_t &  bp,
size_t &  pos,
size_t  outlength,
size_t  inlength 
) [inline, private]

int LodePNG::Inflator::getError (  )  [inline]

bool LodePNG::Inflator::hasError (  )  [inline]

void LodePNG::Inflator::inflate ( std::vector< unsigned char > &  out,
const std::vector< unsigned char > &  in,
size_t  inpos = 0 
) [inline]

Here is the call graph for this function:


Member Data Documentation

int LodePNG::Inflator::error [private]


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

Generated on Thu Mar 19 19:36:29 2009 for CubicVR by  doxygen 1.5.6