ZXC 1.0.3
High-performance asymmetric lossless compression library
Loading...
Searching...
No Matches
zxc_dict_huf_state_t Struct Reference

Frame-constant dictionary Huffman state, prebuilt once at attach. More...

#include <zxc_internal.h>

Data Fields

zxc_pivco_tree_t tree
 PivCo tree from the shared literal table.
uint32_t codes [256]
 Leaf codes as laid out in tree.
uint8_t code_len [256]
 Unpacked code lengths.

Detailed Description

Frame-constant dictionary Huffman state, prebuilt once at attach.

The PivCo tree (decoder and estimator) and the codes / code_len (encoder), reused by every dict block. Carved from the workspace only when dict_size > 0. Built by zxc_huf_dict_tree_build via zxc_cctx_attach_dict_huf.

Definition at line 837 of file zxc_internal.h.

Field Documentation

◆ code_len

uint8_t zxc_dict_huf_state_t::code_len[256]

Unpacked code lengths.

Definition at line 840 of file zxc_internal.h.

◆ codes

uint32_t zxc_dict_huf_state_t::codes[256]

Leaf codes as laid out in tree.

Definition at line 839 of file zxc_internal.h.

◆ tree

zxc_pivco_tree_t zxc_dict_huf_state_t::tree

PivCo tree from the shared literal table.

Definition at line 838 of file zxc_internal.h.


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