tinyimg 1.0.0
Lightweight image manipulation library for Cloudflare Workers
Loading...
Searching...
No Matches
TinyHuffman Struct Reference

A canonical Huffman decode table. More...

#include <deflate.h>

Public Attributes

uint16_t counts [16]
uint16_t symbols [288]
uint16_t fast [1u<< TINY_DEFLATE_FAST_BITS]

Detailed Description

A canonical Huffman decode table.

Sized for the literal and length alphabet, which is the largest of the three DEFLATE uses.

Member Data Documentation

◆ counts

uint16_t TinyHuffman::counts[16]

How many codes have each length, 1 through 15.

◆ fast

uint16_t TinyHuffman::fast[1u<< TINY_DEFLATE_FAST_BITS]

Symbol in the high bits and code length in the low four, or zero for a miss.

◆ symbols

uint16_t TinyHuffman::symbols[288]

Symbols ordered by code length then by value.


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