CCSDS 124.0-B-1 C++ 1.0.0
CCSDS 124.0-B-1 Lossless Compression
Loading...
Searching...
No Matches
decoder.hpp File Reference

CCSDS 124.0-B-1 decoding functions (COUNT, RLE, bit insert). More...

#include "bitreader.hpp"
#include "bitvector.hpp"
#include "config.hpp"
#include "error.hpp"
Include dependency graph for decoder.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  ccsds124
 

Functions

Error ccsds124::count_decode (BitReader &reader, std::uint32_t &value) noexcept
 Counter decoding (inverse of CCSDS Section 5.2.2, Equation 9).
 
template<std::size_t N>
Error ccsds124::rle_decode (BitReader &reader, BitVector< N > &result) noexcept
 Run-length decoding (inverse of CCSDS Section 5.2.3, Equation 10).
 
template<std::size_t N>
Error ccsds124::bit_insert (BitReader &reader, BitVector< N > &data, const BitVector< N > &mask) noexcept
 Bit insertion (inverse of CCSDS Section 5.2.4, Equation 11).
 
template<std::size_t N>
Error ccsds124::bit_insert_forward (BitReader &reader, BitVector< N > &data, const BitVector< N > &mask) noexcept
 Bit insertion with forward order.
 

Detailed Description

CCSDS 124.0-B-1 decoding functions (COUNT, RLE, bit insert).

Definition in file decoder.hpp.