iPXE
Data Fields
deflate_huf_symbols Struct Reference

A Huffman-coded set of symbols of a given length. More...

#include <deflate.h>

Data Fields

uint8_t bits
 Length of Huffman-coded symbols.
uint8_t shift
 Shift to normalise symbols of this length to 16 bits.
uint16_t freq
 Number of Huffman-coded symbols having this length.
uint32_t start
 First symbol of this length (normalised to 16 bits)
uint16_traw
 Raw symbols having this length.

Detailed Description

A Huffman-coded set of symbols of a given length.

Definition at line 115 of file deflate.h.


Field Documentation

Length of Huffman-coded symbols.

Definition at line 117 of file deflate.h.

Referenced by deflate_alphabet(), deflate_consume(), deflate_decode(), and deflate_dump_alphabet().

Shift to normalise symbols of this length to 16 bits.

Definition at line 119 of file deflate.h.

Referenced by deflate_alphabet(), deflate_decode(), and deflate_dump_alphabet().

Number of Huffman-coded symbols having this length.

Definition at line 121 of file deflate.h.

Referenced by deflate_alphabet(), and deflate_dump_alphabet().

First symbol of this length (normalised to 16 bits)

Stored as a 32-bit value to allow the value 0x10000 to be used for empty sets of symbols longer than the maximum utilised length.

Definition at line 128 of file deflate.h.

Referenced by deflate_alphabet(), and deflate_dump_alphabet().

Raw symbols having this length.

Definition at line 130 of file deflate.h.

Referenced by deflate_alphabet(), deflate_decode(), and deflate_dump_alphabet().


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