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

#include <ExternalEntropyCoder.h>

Public Types

using source_type = source_T
 
using encoder_type = typename rans::denseEncoder_type< source_type >
 

Public Member Functions

 ExternalEntropyCoder (const encoder_type &encoder)
 
const encoder_typegetEncoder () const noexcept
 
template<typename dst_T = uint8_t>
size_t computePayloadSizeEstimate (size_t nElements, double_t safetyFactor=1)
 
template<typename src_IT , typename dst_IT >
dst_IT encode (src_IT srcBegin, src_IT srcEnd, dst_IT dstBegin, dst_IT dstEnd)
 
size_t getNIncompressibleSamples () const noexcept
 
source_type getIncompressibleSymbolOffset () const noexcept
 
size_t getIncompressibleSymbolPackingBits () const noexcept
 
template<typename dst_T = uint8_t>
size_t computePackedIncompressibleSize () const noexcept
 
template<typename dst_T >
dst_T * writeIncompressible (dst_T *dstBegin, dst_T *dstEnd) const
 

Detailed Description

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

Definition at line 33 of file ExternalEntropyCoder.h.

Member Typedef Documentation

◆ encoder_type

template<typename source_T >
using o2::ctf::internal::ExternalEntropyCoder< source_T >::encoder_type = typename rans::denseEncoder_type<source_type>

Definition at line 37 of file ExternalEntropyCoder.h.

◆ source_type

Constructor & Destructor Documentation

◆ ExternalEntropyCoder()

template<typename source_T >
o2::ctf::internal::ExternalEntropyCoder< source_T >::ExternalEntropyCoder ( const encoder_type encoder)

Definition at line 68 of file ExternalEntropyCoder.h.

Member Function Documentation

◆ computePackedIncompressibleSize()

template<typename source_T >
template<typename dst_T >
size_t o2::ctf::internal::ExternalEntropyCoder< source_T >::computePackedIncompressibleSize ( ) const
inlinenoexcept

Definition at line 105 of file ExternalEntropyCoder.h.

◆ computePayloadSizeEstimate()

template<typename source_T >
template<typename dst_T >
size_t o2::ctf::internal::ExternalEntropyCoder< source_T >::computePayloadSizeEstimate ( size_t  nElements,
double_t  safetyFactor = 1 
)
inline

Definition at line 77 of file ExternalEntropyCoder.h.

◆ encode()

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

Definition at line 87 of file ExternalEntropyCoder.h.

◆ getEncoder()

template<typename source_T >
const encoder_type & o2::ctf::internal::ExternalEntropyCoder< source_T >::getEncoder ( ) const
inlinenoexcept

Definition at line 41 of file ExternalEntropyCoder.h.

◆ getIncompressibleSymbolOffset()

template<typename source_T >
source_type o2::ctf::internal::ExternalEntropyCoder< source_T >::getIncompressibleSymbolOffset ( ) const
inlinenoexcept

Definition at line 51 of file ExternalEntropyCoder.h.

◆ getIncompressibleSymbolPackingBits()

template<typename source_T >
size_t o2::ctf::internal::ExternalEntropyCoder< source_T >::getIncompressibleSymbolPackingBits ( ) const
inlinenoexcept

Definition at line 53 of file ExternalEntropyCoder.h.

◆ getNIncompressibleSamples()

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

Definition at line 49 of file ExternalEntropyCoder.h.

◆ writeIncompressible()

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

Definition at line 112 of file ExternalEntropyCoder.h.


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