Project
Loading...
Searching...
No Matches
o2::rans::internal::DecoderImpl< LowerBound_V > Class Template Reference

#include <DecoderImpl.h>

Public Types

using cumulative_frequency_type = uint32_t
 
using stream_type = uint32_t
 
using state_type = uint64_t
 
using symbol_type = Symbol
 
using size_type = std::size_t
 
using difference_type = std::ptrdiff_t
 

Public Member Functions

 DecoderImpl (size_type symbolTablePrecission) noexcept
 
template<typename stream_IT >
stream_IT init (stream_IT inputIter)
 
cumulative_frequency_type get ()
 
template<typename stream_IT >
stream_IT advanceSymbol (stream_IT inputIter, const symbol_type &sym)
 
template<typename stream_IT >
auto renorm (state_type state, stream_IT inputIter) -> std::tuple< state_type, stream_IT >
 

Static Public Member Functions

static constexpr size_type getNstreams () noexcept
 

Detailed Description

template<size_t LowerBound_V>
class o2::rans::internal::DecoderImpl< LowerBound_V >

Definition at line 32 of file DecoderImpl.h.

Member Typedef Documentation

◆ cumulative_frequency_type

template<size_t LowerBound_V>
using o2::rans::internal::DecoderImpl< LowerBound_V >::cumulative_frequency_type = uint32_t

Definition at line 35 of file DecoderImpl.h.

◆ difference_type

template<size_t LowerBound_V>
using o2::rans::internal::DecoderImpl< LowerBound_V >::difference_type = std::ptrdiff_t

Definition at line 40 of file DecoderImpl.h.

◆ size_type

template<size_t LowerBound_V>
using o2::rans::internal::DecoderImpl< LowerBound_V >::size_type = std::size_t

Definition at line 39 of file DecoderImpl.h.

◆ state_type

template<size_t LowerBound_V>
using o2::rans::internal::DecoderImpl< LowerBound_V >::state_type = uint64_t

Definition at line 37 of file DecoderImpl.h.

◆ stream_type

template<size_t LowerBound_V>
using o2::rans::internal::DecoderImpl< LowerBound_V >::stream_type = uint32_t

Definition at line 36 of file DecoderImpl.h.

◆ symbol_type

template<size_t LowerBound_V>
using o2::rans::internal::DecoderImpl< LowerBound_V >::symbol_type = Symbol

Definition at line 38 of file DecoderImpl.h.

Constructor & Destructor Documentation

◆ DecoderImpl()

template<size_t LowerBound_V>
o2::rans::internal::DecoderImpl< LowerBound_V >::DecoderImpl ( size_type  symbolTablePrecission)
inlineexplicitnoexcept

Definition at line 42 of file DecoderImpl.h.

Member Function Documentation

◆ advanceSymbol()

template<size_t LowerBound_V>
template<typename stream_IT >
stream_IT o2::rans::internal::DecoderImpl< LowerBound_V >::advanceSymbol ( stream_IT  inputIter,
const symbol_type sym 
)
inline

Definition at line 88 of file DecoderImpl.h.

◆ get()

template<size_t LowerBound_V>
cumulative_frequency_type o2::rans::internal::DecoderImpl< LowerBound_V >::get ( )
inline

Definition at line 47 of file DecoderImpl.h.

◆ getNstreams()

template<size_t LowerBound_V>
static constexpr size_type o2::rans::internal::DecoderImpl< LowerBound_V >::getNstreams ( )
inlinestaticconstexprnoexcept

Definition at line 52 of file DecoderImpl.h.

◆ init()

template<size_t LowerBound_V>
template<typename stream_IT >
stream_IT o2::rans::internal::DecoderImpl< LowerBound_V >::init ( stream_IT  inputIter)

Definition at line 70 of file DecoderImpl.h.

◆ renorm()

template<size_t LowerBound_V>
template<typename stream_IT >
auto o2::rans::internal::DecoderImpl< LowerBound_V >::renorm ( state_type  state,
stream_IT  inputIter 
) -> std::tuple<state_type, stream_IT>
inline

Definition at line 106 of file DecoderImpl.h.


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