tudocomp
– The TU Dortmund Compression Framework
tdc::lzss Namespace Reference

Contains compressors and encoders that work with Lempel-Ziv-Storer-Szymansky-like factors. More...

Classes

class  DecodeBackBuffer
 
class  Factor
 
class  FactorBuffer
 
class  TextLiterals
 

Functions

template<typename coder_t , typename text_t , typename factor_t = FactorBuffer>
void encode_text (coder_t &coder, const text_t &text, const factor_t &factors)
 
template<typename coder_t , typename decode_buffer_t >
void decode_text (coder_t &decoder, std::ostream &outs)
 
class tdc::lzss::Factor __attribute__ ((__packed__))
 

Variables

class tdc::lzss::FactorBuffer __attribute__
 

Detailed Description

Contains compressors and encoders that work with Lempel-Ziv-Storer-Szymansky-like factors.

The LZSS family works with factors representing references to positions within the original text that replace parts of the same text, effectively using the input text itself as a dictionary. They consist of a source text position and a length.

Function Documentation

class tdc::lzss::Factor tdc::lzss::__attribute__ ( (__packed__)  )
template<typename coder_t , typename decode_buffer_t >
void tdc::lzss::decode_text ( coder_t &  decoder,
std::ostream &  outs 
)
inline

Definition at line 95 of file LZSSCoding.hpp.

template<typename coder_t , typename text_t , typename factor_t = FactorBuffer>
void tdc::lzss::encode_text ( coder_t &  coder,
const text_t &  text,
const factor_t &  factors 
)
inline

range for factor lengths

current text position

Definition at line 19 of file LZSSCoding.hpp.

Variable Documentation

class tdc::lzss::FactorBuffer tdc::lzss::__attribute__