FZGPUModules 2.0
GPU-accelerated modular compression pipelines
Loading...
Searching...
No Matches
adaptive_lorenzo_stage.h File Reference

Per-tile adaptive multi-order Lorenzo predictor with centering. Lossless. More...

#include "stage/stage.h"
#include "fzm_format.h"
#include "backend/types.h"
#include <algorithm>
#include <array>
#include <cstdint>
#include <cstring>
#include <stdexcept>
#include <string>
#include <type_traits>
#include <unordered_map>
#include <vector>

Go to the source code of this file.

Classes

struct  fz::AdaptiveLorenzoConfig
 Serialized config stored in FZMBufferEntry.stage_config. More...
 
class  fz::AdaptiveLorenzoStage< T >
 

Namespaces

namespace  fz
 

Functions

template<typename T >
void fz::launchAdaptiveLorenzoForward (const T *d_input, T *d_residuals, uint8_t *d_modes, T *d_means, size_t n, uint32_t tile_size, bool enable_order2, bool enable_centering, fz::stream_t stream)
 Forward: select the best variant per tile and emit its residuals.
 
template<typename T >
void fz::launchAdaptiveLorenzoInverse (const T *d_residuals, const uint8_t *d_modes, const T *d_means, T *d_output, size_t n, uint32_t tile_size, fz::stream_t stream)
 Inverse: replay each tile's recorded variant.
 

Detailed Description

Per-tile adaptive multi-order Lorenzo predictor with centering. Lossless.