|
tudocomp
– The TU Dortmund Compression Framework
|
Encodes data to an ASCII character stream. More...
#include <ArithmeticCoder.hpp>
Public Member Functions | |
| template<typename literals_t > | |
| Encoder (Env &&env, Output &out, literals_t &&literals) | |
| template<typename value_t > | |
| void | encode (value_t v, const LiteralRange &) |
Public Member Functions inherited from tdc::Encoder | |
| template<typename literals_t > | |
| Encoder (Env &&env, std::shared_ptr< BitOStream > out, literals_t &&literals) | |
| Constructor. More... | |
| template<typename literals_t > | |
| Encoder (Env &&env, Output &out, literals_t &&literals) | |
| Convenience constructor. More... | |
| template<typename value_t > | |
| void | encode (value_t v, const Range &r) |
| Encodes an arbitrary-range integer value. More... | |
| template<typename value_t > | |
| void | encode (value_t v, const BitRange &r) |
| Encodes a bit. More... | |
| const std::shared_ptr< BitOStream > & | stream () |
Public Member Functions inherited from tdc::Algorithm | |
| virtual | ~Algorithm ()=default |
| Algorithm (Algorithm const &)=default | |
| Algorithm (Algorithm &&)=default | |
| Algorithm & | operator= (Algorithm const &)=default |
| Algorithm & | operator= (Algorithm &&)=default |
| Algorithm (Env &&env) | |
| Instantiates an algorithm in the specified environment. More... | |
| Env & | env () |
| Provides access to the environment that the algorithm works in. More... | |
| const Env & | env () const |
Additional Inherited Members | |
Protected Attributes inherited from tdc::Encoder | |
| std::shared_ptr< BitOStream > | m_out |
| The underlying bit output stream. More... | |
Encodes data to an ASCII character stream.
Definition at line 35 of file coders/ArithmeticCoder.hpp.
|
inline |
Definition at line 159 of file coders/ArithmeticCoder.hpp.
|
inline |
Definition at line 169 of file coders/ArithmeticCoder.hpp.