Project
Loading...
Searching...
No Matches
o2::ctf::internal::InplaceEntropyCoder< source_T > Class Template Reference

#include <InplaceEntropyCoder.h>

Public Types

using source_type = source_T
 
using metrics_type = rans::Metrics< source_type >
 
using packer_type = Packer< source_type >
 
using histogram_type = std::variant< dense_histogram_type, adaptive_histogram_type, sparse_histogram_type >
 
using encoder_type = std::variant< dense_encoder_type, adaptive_encoder_type, sparse_encoder_type >
 
using incompressible_buffer_type = std::vector< source_type >
 

Public Member Functions

 InplaceEntropyCoder ()=default
 
template<typename source_IT >
 InplaceEntropyCoder (source_IT srcBegin, source_IT srcEnd)
 
template<typename source_IT >
 InplaceEntropyCoder (source_IT srcBegin, source_IT srcEnd, source_type min, source_type max)
 
void makeEncoder ()
 
const metrics_typegetMetrics () const noexcept
 
size_t getNIncompressibleSamples () const noexcept
 
size_t getNStreams () const
 
size_t getSymbolTablePrecision () const
 
template<typename dst_T = uint8_t>
size_t getPackedIncompressibleSize () const noexcept
 
template<typename src_IT , typename dst_IT >
dst_IT encode (src_IT srcBegin, src_IT srcEnd, dst_IT dstBegin, dst_IT dstEnd)
 
template<typename dst_IT >
dst_IT writeDictionary (dst_IT dstBegin, dst_IT dstEnd)
 
template<typename dst_T >
dst_T * writeIncompressible (dst_T *dstBegin, dst_T *dstEnd)
 
template<typename src_IT >
 InplaceEntropyCoder (src_IT srcBegin, src_IT srcEnd)
 

Detailed Description

template<typename source_T>
class o2::ctf::internal::InplaceEntropyCoder< source_T >

Definition at line 35 of file InplaceEntropyCoder.h.

Member Typedef Documentation

◆ encoder_type

template<typename source_T >
using o2::ctf::internal::InplaceEntropyCoder< source_T >::encoder_type = std::variant<dense_encoder_type, adaptive_encoder_type, sparse_encoder_type>

Definition at line 52 of file InplaceEntropyCoder.h.

◆ histogram_type

Definition at line 51 of file InplaceEntropyCoder.h.

◆ incompressible_buffer_type

template<typename source_T >
using o2::ctf::internal::InplaceEntropyCoder< source_T >::incompressible_buffer_type = std::vector<source_type>

Definition at line 53 of file InplaceEntropyCoder.h.

◆ metrics_type

template<typename source_T >
using o2::ctf::internal::InplaceEntropyCoder< source_T >::metrics_type = rans::Metrics<source_type>

Definition at line 49 of file InplaceEntropyCoder.h.

◆ packer_type

template<typename source_T >
using o2::ctf::internal::InplaceEntropyCoder< source_T >::packer_type = Packer<source_type>

Definition at line 50 of file InplaceEntropyCoder.h.

◆ source_type

Definition at line 48 of file InplaceEntropyCoder.h.

Constructor & Destructor Documentation

◆ InplaceEntropyCoder() [1/4]

template<typename source_T >
o2::ctf::internal::InplaceEntropyCoder< source_T >::InplaceEntropyCoder ( )
default

◆ InplaceEntropyCoder() [2/4]

template<typename source_T >
template<typename source_IT >
o2::ctf::internal::InplaceEntropyCoder< source_T >::InplaceEntropyCoder ( source_IT  srcBegin,
source_IT  srcEnd 
)

◆ InplaceEntropyCoder() [3/4]

template<typename source_T >
template<typename source_IT >
o2::ctf::internal::InplaceEntropyCoder< source_T >::InplaceEntropyCoder ( source_IT  srcBegin,
source_IT  srcEnd,
source_type  min,
source_type  max 
)

Definition at line 135 of file InplaceEntropyCoder.h.

◆ InplaceEntropyCoder() [4/4]

template<typename source_T >
template<typename src_IT >
o2::ctf::internal::InplaceEntropyCoder< source_T >::InplaceEntropyCoder ( src_IT  srcBegin,
src_IT  srcEnd 
)

Definition at line 114 of file InplaceEntropyCoder.h.

Member Function Documentation

◆ encode()

template<typename source_T >
template<typename src_IT , typename dst_IT >
dst_IT o2::ctf::internal::InplaceEntropyCoder< source_T >::encode ( src_IT  srcBegin,
src_IT  srcEnd,
dst_IT  dstBegin,
dst_IT  dstEnd 
)

Definition at line 187 of file InplaceEntropyCoder.h.

◆ getMetrics()

template<typename source_T >
const metrics_type & o2::ctf::internal::InplaceEntropyCoder< source_T >::getMetrics ( ) const
inlinenoexcept

Definition at line 67 of file InplaceEntropyCoder.h.

◆ getNIncompressibleSamples()

template<typename source_T >
size_t o2::ctf::internal::InplaceEntropyCoder< source_T >::getNIncompressibleSamples ( ) const
inlinenoexcept

Definition at line 69 of file InplaceEntropyCoder.h.

◆ getNStreams()

template<typename source_T >
size_t o2::ctf::internal::InplaceEntropyCoder< source_T >::getNStreams ( ) const
inline

Definition at line 143 of file InplaceEntropyCoder.h.

◆ getPackedIncompressibleSize()

template<typename source_T >
template<typename dst_T >
size_t o2::ctf::internal::InplaceEntropyCoder< source_T >::getPackedIncompressibleSize ( ) const
inlinenoexcept

Definition at line 245 of file InplaceEntropyCoder.h.

◆ getSymbolTablePrecision()

template<typename source_T >
size_t o2::ctf::internal::InplaceEntropyCoder< source_T >::getSymbolTablePrecision ( ) const
inline

Definition at line 151 of file InplaceEntropyCoder.h.

◆ makeEncoder()

template<typename source_T >
void o2::ctf::internal::InplaceEntropyCoder< source_T >::makeEncoder ( )

Definition at line 159 of file InplaceEntropyCoder.h.

◆ writeDictionary()

template<typename source_T >
template<typename dst_IT >
dst_IT o2::ctf::internal::InplaceEntropyCoder< source_T >::writeDictionary ( dst_IT  dstBegin,
dst_IT  dstEnd 
)
inline

Definition at line 210 of file InplaceEntropyCoder.h.

◆ writeIncompressible()

template<typename source_T >
template<typename dst_T >
dst_T * o2::ctf::internal::InplaceEntropyCoder< source_T >::writeIncompressible ( dst_T *  dstBegin,
dst_T *  dstEnd 
)
inline

Definition at line 238 of file InplaceEntropyCoder.h.


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