Project
Loading...
Searching...
No Matches
o2::data_compression Namespace Reference

Classes

struct  AlphabetTester
 
class  BitRangeContiguousAlphabet
 
class  CodecIdentity
 
class  CodingModelDispatcher
 Runtime dispatcher interface for probability model definitions. More...
 
class  ContiguousAlphabet
 
class  DataDeflater
 
class  ExampleAlphabet
 
struct  getmax
 Get maximum of an n-bit number. More...
 
struct  getmax< T, 0 >
 
struct  getmaxTester
 
struct  getnofelements
 Get number of elements in a sequence of integral types This redirects to the size meta program of the boost mpl, but includes the upper bound as a valid element in the accounting. More...
 
class  HuffmanCodec
 Main class of the Huffman codec implementation. More...
 
class  HuffmanModel
 
class  HuffmanNode
 Container holding information to build Huffman tree. More...
 
class  ProbabilityModel
 
class  TruncatedPrecisionConverter
 
struct  upperbinarybound
 Get the upper binary bound of a number The gives the number of bits required to present a number. More...
 
struct  upperbinarybound< 0 >
 
struct  upperbinaryboundTester
 
class  ZeroBoundContiguousAlphabet
 

Functions

 BOOST_AUTO_TEST_CASE (test_dc_primitives)
 
template<class RandvalStreamT , class EncodedStreamT , class CodecT >
void decoderProcess (RandvalStreamT &fifoRandvals, EncodedStreamT &fifoEncoded, CodecT &codec)
 
template<typename CodecT , typename GeneratorT >
void checkRandom (CodecT &codec, GeneratorT &generator, int nRolls=1000000)
 
auto setupCodec (int verbosity=0)
 
 BOOST_AUTO_TEST_CASE (test_HuffmanCodec_basic)
 
 BOOST_AUTO_TEST_CASE (test_HuffmanCodec_configuration)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/3]

o2::data_compression::BOOST_AUTO_TEST_CASE ( test_dc_primitives  )

Definition at line 79 of file test_dc_primitives.cxx.

◆ BOOST_AUTO_TEST_CASE() [2/3]

o2::data_compression::BOOST_AUTO_TEST_CASE ( test_HuffmanCodec_basic  )

Definition at line 167 of file test_HuffmanCodec.cxx.

◆ BOOST_AUTO_TEST_CASE() [3/3]

o2::data_compression::BOOST_AUTO_TEST_CASE ( test_HuffmanCodec_configuration  )

Definition at line 207 of file test_HuffmanCodec.cxx.

◆ checkRandom()

template<typename CodecT , typename GeneratorT >
void o2::data_compression::checkRandom ( CodecT &  codec,
GeneratorT &  generator,
int  nRolls = 1000000 
)

Definition at line 66 of file test_HuffmanCodec.cxx.

◆ decoderProcess()

template<class RandvalStreamT , class EncodedStreamT , class CodecT >
void o2::data_compression::decoderProcess ( RandvalStreamT &  fifoRandvals,
EncodedStreamT &  fifoEncoded,
CodecT &  codec 
)

Definition at line 43 of file test_HuffmanCodec.cxx.

◆ setupCodec()

auto o2::data_compression::setupCodec ( int  verbosity = 0)

Definition at line 107 of file test_HuffmanCodec.cxx.