Project
Loading...
Searching...
No Matches
eliasDelta.h File Reference

compress data stream using Elias-Delta coding. More...

#include <cstdint>
#include <cstring>
#include "rANS/internal/common/utils.h"
#include "rANS/internal/containers/BitPtr.h"
#include "rANS/internal/pack/utils.h"
#include "rANS/internal/pack/pack.h"

Go to the source code of this file.

Namespaces

namespace  o2
 a couple of static helper functions to create timestamp values for CCDB queries or override obsolete objects
 
namespace  o2::rans
 
namespace  o2::rans::internal
 

Functions

BitPtr o2::rans::internal::eliasDeltaEncode (BitPtr dst, uint32_t data)
 
template<typename dst_T >
dst_T o2::rans::internal::eliasDeltaDecode (BitPtr &srcPos, size_t rBitOffset=EliasDeltaDecodeMaxBits)
 

Variables

constexpr size_t o2::rans::internal::EliasDeltaDecodeMaxBits = 42
 

Detailed Description

compress data stream using Elias-Delta coding.

Author
Michael Lettrich

Definition in file eliasDelta.h.