FZGPUModules 1.0
GPU-accelerated modular compression pipeline
Loading...
Searching...
No Matches
fz::FZMStageInfo Struct Reference

Per-stage metadata record written into the FZM header (256 bytes). More...

#include <fzm_format.h>

Public Attributes

StageType stage_type
 Stage type (2B)
 
uint16_t stage_version
 Config format version (2B)
 
uint8_t num_inputs
 Number of input ports (1B)
 
uint8_t num_outputs
 Number of output ports (1B)
 
uint16_t reserved1
 Padding (2B)
 
uint16_t input_buffer_ids [FZM_MAX_STAGE_INPUTS]
 Input buffer indices (16B); 0xFFFF = unused.
 
uint16_t output_buffer_ids [FZM_MAX_STAGE_OUTPUTS]
 Output buffer indices (16B); 0xFFFF = unused.
 
uint8_t stage_config [FZM_STAGE_CONFIG_SIZE]
 Serialized stage config, see Stage::serializeHeader() (128B)
 
uint32_t config_size
 Valid bytes in stage_config (4B)
 
uint8_t reserved2 [84]
 Reserved for future use (84B)
 

Detailed Description

Per-stage metadata record written into the FZM header (256 bytes).

Describes one stage's type, configuration, and buffer connectivity. Used by decompressFromFile() to reconstruct the pipeline execution order.

stage_config holds the output of Stage::serializeHeader() — a stage-defined POD struct (e.g. LorenzoConfig, QuantizerConfig) packed into the 128-byte slot.