Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb::alp::AlpDecompression< T > Struct Template Reference

Static Public Member Functions

static void Decompress (uint8_t *for_encoded, T *output, idx_t count, uint8_t vector_factor, uint8_t vector_exponent, uint16_t exceptions_count, T *exceptions, const uint16_t *exceptions_positions, uint64_t frame_of_reference, uint8_t bit_width)

Member Function Documentation

◆ Decompress()

template<class T>
void duckdb::alp::AlpDecompression< T >::Decompress ( uint8_t * for_encoded,
T * output,
idx_t count,
uint8_t vector_factor,
uint8_t vector_exponent,
uint16_t exceptions_count,
T * exceptions,
const uint16_t * exceptions_positions,
uint64_t frame_of_reference,
uint8_t bit_width )
inlinestatic
393004 {
393006
393007 // Bit Unpacking
393009 if (bit_width > 0) {
393011 }
393012 auto *encoded_integers = reinterpret_cast<uint64_t *>(data_ptr_cast(for_decoded));
393013
393014 // unFOR
393015 for (idx_t i = 0; i < count; i++) {
393017 }
393018
393019 // Decoding
393020 for (idx_t i = 0; i < count; i++) {
393021 auto encoded_integer = static_cast<int64_t>(encoded_integers[i]);
393023 }
393024
393025 // Exceptions Patching
393026 for (idx_t i = 0; i < exceptions_count; i++) {
393027 output[exceptions_positions[i]] = static_cast<T>(exceptions[i]);
393028 }
393029 }
static T DecodeValue(int64_t encoded_value, AlpEncodingIndices encoding_indices)
Definition duckdb.cpp:392753
Definition duckdb.cpp:393001

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