tudocomp
– The TU Dortmund Compression Framework
compressors/esp/HuffmanCoder.hpp File Reference
#include <sstream>
#include <iostream>
#include <bitset>
#include <numeric>
#include <tudocomp/Coder.hpp>

Go to the source code of this file.

Classes

struct  tdc::esp::huff2::Huffmantable
 
struct  tdc::esp::huff2::ExtendedHuffmantable
 
class  tdc::esp::HuffmanEncoder
 Encodes data to an ASCII character stream. More...
 
class  tdc::esp::HuffmanDecoder
 Decodes data from an Huffman character stream. More...
 

Namespaces

 tdc
 Contains the text compression and encoding framework.
 
 tdc::esp
 
 tdc::esp::huff2
 

Typedefs

using tdc::esp::huff2::OrderedCodelengths = std::vector< size_t >
 
using tdc::esp::huff2::OrderedMapToEffective = std::vector< size_t >
 
using tdc::esp::huff2::Codewords = std::vector< size_t >
 
using tdc::esp::huff2::Counts = std::vector< size_t >
 
using tdc::esp::huff2::MapFromEffective = std::vector< size_t >
 
using tdc::esp::huff2::Codelengths = std::vector< size_t >
 
using tdc::esp::huff2::Numl = std::vector< size_t >
 
using tdc::esp::huff2::OrderedMapFromEffective = std::vector< size_t >
 
using tdc::esp::huff2::Firstcode = std::vector< size_t >
 
using tdc::esp::huff2::PrefixSumLengths = std::vector< size_t >