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

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

#include <fzm_format.h>

Public Attributes

StageType stage_type
 Producer stage type (2B)
 
uint16_t stage_version
 Producer stage config version (2B)
 
DataType data_type
 Element data type in this buffer (1B)
 
uint8_t producer_output_idx
 Which output port of the producer (1B)
 
uint16_t dag_buffer_id
 DAG buffer ID used for inverse routing; 0xFFFF = unassigned (2B)
 
char name [FZM_MAX_NAME_LEN]
 Output port name, null-terminated (64B)
 
uint64_t data_size
 Actual compressed bytes in this segment (8B)
 
uint64_t allocated_size
 Buffer capacity required for decompression (8B)
 
uint64_t uncompressed_size
 Bytes after fully decompressing this stage's output (8B)
 
uint64_t byte_offset
 Byte offset of this segment within the compressed payload (8B)
 
uint8_t stage_config [FZM_STAGE_CONFIG_SIZE]
 Producer stage config, see Stage::serializeHeader() (128B)
 
uint32_t config_size
 Valid bytes in stage_config (4B)
 
uint8_t reserved2 [14]
 Reserved for future use (14B)
 

Detailed Description

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

Describes one compressed buffer segment: which stage produced it, its data type, sizes, and byte offset within the payload. Also carries the producing stage's serialized config so decompressFromFile() can reconstruct the stage without needing the corresponding FZMStageInfo.