#include <cassert>
#include <vector>
#include <cstring>
#include <random>
#include <algorithm>
#include <version>
#include <boost/test/unit_test.hpp>
#include <boost/mp11.hpp>
#include <fmt/core.h>
#include "DetectorsCommonDataFormats/internal/Packer.h"
#include "DetectorsCommonDataFormats/internal/ExternalEntropyCoder.h"
#include "DetectorsCommonDataFormats/internal/InplaceEntropyCoder.h"
#include "rANS/histogram.h"
#include "rANS/metrics.h"
#include "rANS/factory.h"
#include "rANS/iterator.h"
Go to the source code of this file.
|
using | buffer_type = uint32_t |
|
using | source_types = boost::mp11::mp_list< uint8_t, int8_t, uint16_t, int16_t, uint32_t, int32_t > |
|
|
template<typename source_IT > |
void | encodeInplace (source_IT begin, source_IT end) |
|
| BOOST_AUTO_TEST_CASE_TEMPLATE (testInplaceEncoderEmpty, source_T, source_types) |
|
| BOOST_AUTO_TEST_CASE_TEMPLATE (testInplaceEncoderPTR, source_T, source_types) |
|
| BOOST_AUTO_TEST_CASE_TEMPLATE (testInplaceEncoderIter, source_T, source_types) |
|
template<typename iterA_T , typename iterB_T , typename F > |
auto | makeInputIterators (iterA_T iterA, iterB_T iterB, size_t nElements, F functor) |
|
| BOOST_AUTO_TEST_CASE (testInplaceEncoderCombinedIterator) |
|
template<typename source_IT > |
void | encodeExternal (source_IT begin, source_IT end) |
|
| BOOST_AUTO_TEST_CASE_TEMPLATE (testExternalEncoderEmpty, source_T, source_types) |
|
| BOOST_AUTO_TEST_CASE_TEMPLATE (testExternalEncoderPTR, source_T, source_types) |
|
| BOOST_AUTO_TEST_CASE_TEMPLATE (testExternalEncoderIter, source_T, source_types) |
|
| BOOST_AUTO_TEST_CASE (testExternalEncoderCombinedIterator) |
|
◆ BOOST_TEST_DYN_LINK
#define BOOST_TEST_DYN_LINK |
◆ BOOST_TEST_MAIN
◆ BOOST_TEST_MODULE
#define BOOST_TEST_MODULE Test CTFEntropyCoder class |
◆ buffer_type
◆ source_types
using source_types = boost::mp11::mp_list<uint8_t, int8_t, uint16_t, int16_t, uint32_t, int32_t> |
◆ BOOST_AUTO_TEST_CASE() [1/2]
BOOST_AUTO_TEST_CASE |
( |
testExternalEncoderCombinedIterator |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [2/2]
BOOST_AUTO_TEST_CASE |
( |
testInplaceEncoderCombinedIterator |
| ) |
|
◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [1/6]
◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [2/6]
◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [3/6]
◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [4/6]
◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [5/6]
◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [6/6]
◆ encodeExternal()
template<typename source_IT >
void encodeExternal |
( |
source_IT |
begin, |
|
|
source_IT |
end |
|
) |
| |
◆ encodeInplace()
template<typename source_IT >
void encodeInplace |
( |
source_IT |
begin, |
|
|
source_IT |
end |
|
) |
| |
◆ makeInputIterators()
template<typename iterA_T , typename iterB_T , typename F >
auto makeInputIterators |
( |
iterA_T |
iterA, |
|
|
iterB_T |
iterB, |
|
|
size_t |
nElements, |
|
|
F |
functor |
|
) |
| |
◆ ExternalEncoders
◆ MessageProxy