tudocomp
– The TU Dortmund Compression Framework
tdc::esp::DArithmetic Class Reference

#include <DRCoder.hpp>

Inheritance diagram for tdc::esp::DArithmetic:
tdc::Algorithm

Public Member Functions

template<typename rhs_t >
void encode (const rhs_t &rhs, std::shared_ptr< BitOStream > &out, size_t bit_width, size_t max_value) const
 
template<typename rhs_t >
void decode (rhs_t &rhs, std::shared_ptr< BitIStream > &in, size_t bit_width, size_t max_value) const
 
- Public Member Functions inherited from tdc::Algorithm
virtual ~Algorithm ()=default
 
 Algorithm (Algorithm const &)=default
 
 Algorithm (Algorithm &&)=default
 
Algorithmoperator= (Algorithm const &)=default
 
Algorithmoperator= (Algorithm &&)=default
 
 Algorithm (Env &&env)
 Instantiates an algorithm in the specified environment. More...
 
Envenv ()
 Provides access to the environment that the algorithm works in. More...
 
const Envenv () const
 

Static Public Member Functions

static Meta meta ()
 

Detailed Description

Definition at line 39 of file DRCoder.hpp.

Member Function Documentation

◆ decode()

template<typename rhs_t >
void tdc::esp::DArithmetic::decode ( rhs_t &  rhs,
std::shared_ptr< BitIStream > &  in,
size_t  bit_width,
size_t  max_value 
) const
inline

Definition at line 58 of file DRCoder.hpp.

◆ encode()

template<typename rhs_t >
void tdc::esp::DArithmetic::encode ( const rhs_t &  rhs,
std::shared_ptr< BitOStream > &  out,
size_t  bit_width,
size_t  max_value 
) const
inline

Definition at line 50 of file DRCoder.hpp.

◆ meta()

static Meta tdc::esp::DArithmetic::meta ( )
inlinestatic

Definition at line 41 of file DRCoder.hpp.


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