LodePNG::Deflator Class Reference

List of all members.

Public Member Functions

void deflate (std::vector< unsigned char > &out, const std::vector< unsigned char > &data, unsigned long btype, unsigned long i_windowSize, bool i_useLZ77)

Private Member Functions

void deflateNoCompression (std::vector< unsigned char > &out, const std::vector< unsigned char > &data)
void writeLZ77data (size_t &bp, std::vector< unsigned char > &out, const std::vector< int > &lz77_encoded, const HuffmanTree &codes, const HuffmanTree &codesD)
void deflateDynamic (std::vector< unsigned char > &out, const std::vector< unsigned char > &data)
void deflateFixed (std::vector< unsigned char > &out, const std::vector< unsigned char > &data)

Private Attributes

unsigned long windowSize
bool useLZ77


Member Function Documentation

void LodePNG::Deflator::deflateNoCompression ( std::vector< unsigned char > &  out,
const std::vector< unsigned char > &  data 
) [inline, private]

void LodePNG::Deflator::writeLZ77data ( size_t &  bp,
std::vector< unsigned char > &  out,
const std::vector< int > &  lz77_encoded,
const HuffmanTree codes,
const HuffmanTree codesD 
) [inline, private]

Here is the call graph for this function:

void LodePNG::Deflator::deflateDynamic ( std::vector< unsigned char > &  out,
const std::vector< unsigned char > &  data 
) [inline, private]

Here is the call graph for this function:

void LodePNG::Deflator::deflateFixed ( std::vector< unsigned char > &  out,
const std::vector< unsigned char > &  data 
) [inline, private]

Here is the call graph for this function:

void LodePNG::Deflator::deflate ( std::vector< unsigned char > &  out,
const std::vector< unsigned char > &  data,
unsigned long  btype,
unsigned long  i_windowSize,
bool  i_useLZ77 
) [inline]


Member Data Documentation

unsigned long LodePNG::Deflator::windowSize [private]


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

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