![]() |
Project
|
functionality to maintain compatibility with previous version of this library More...
#include <numeric>#include "rANS/internal/common/typetraits.h"#include "rANS/internal/containers/DenseHistogram.h"#include "rANS/internal/containers/RenormedHistogram.h"#include "rANS/internal/containers/DenseSymbolTable.h"#include "rANS/internal/containers/Symbol.h"#include "rANS/internal/containers/LowRangeDecoderTable.h"#include "rANS/internal/encode/Encoder.h"#include "rANS/internal/encode/SingleStreamEncoderImpl.h"#include "rANS/internal/decode/Decoder.h"#include "rANS/internal/decode/DecoderImpl.h"#include "rANS/factory.h"Go to the source code of this file.
Classes | |
| struct | o2::rans::compat::defaults::CoderPreset |
| class | o2::rans::compat::makeEncoder |
| class | o2::rans::compat::makeDecoder |
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::compat |
| namespace | o2::rans::compat::defaults |
| namespace | o2::rans::compat::defaults::internal |
| namespace | o2::rans::compat::compatImpl |
Typedefs | |
| template<typename source_T > | |
| using | o2::rans::compat::encoder_type = decltype(makeEncoder::fromRenormed(RenormedDenseHistogram< source_T >{})) |
| template<typename source_T > | |
| using | o2::rans::compat::decoder_type = decltype(makeDecoder::fromRenormed(RenormedDenseHistogram< source_T >{})) |
Functions | |
| size_t | o2::rans::compat::computeRenormingPrecision (size_t nUsedAlphabetSymbols) |
| template<typename source_T > | |
| RenormedDenseHistogram< source_T > | o2::rans::compat::renorm (DenseHistogram< source_T > histogram, size_t newPrecision=0) |
| template<typename source_T > | |
| size_t | o2::rans::compat::getAlphabetRangeBits (const DenseHistogram< source_T > &histogram) noexcept |
| template<typename source_T > | |
| size_t | o2::rans::compat::getAlphabetRangeBits (const RenormedDenseHistogram< source_T > &histogram) noexcept |
| template<typename source_T , typename symbol_T > | |
| size_t | o2::rans::compat::getAlphabetRangeBits (const DenseSymbolTable< source_T, symbol_T > &symbolTable) noexcept |
| size_t | o2::rans::compat::calculateMaxBufferSizeB (size_t nElements, size_t rangeBits) |
Variables | |
| constexpr size_t | o2::rans::compat::defaults::internal::RenormingLowerBound = 31 |
| constexpr uint32_t | o2::rans::compat::compatImpl::MinRenormThreshold = 10 |
| constexpr uint32_t | o2::rans::compat::compatImpl::MaxRenormThreshold = 20 |
functionality to maintain compatibility with previous version of this library
Definition in file compat.h.