commit | e117046df35aa9de5c7dc7215951418ce935c764 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Tue Sep 04 15:47:29 2018 -0700 |
committer | Chih-Hung Hsieh <chh@google.com> | Wed Sep 05 14:11:38 2018 -0700 |
tree | 3a91077c66f88c901cf4d72d7088604130f4f2ea | |
parent | 5997a125a477cc9b4b36348c698fe2ca7e8e5c01 [diff] |
Enable -Wimplicit-fallthrough. Use FALLTHROUGH_INTENDED to mark intended fallthrough. Test: make checkbuild Change-Id: Ic493e1fab1da65630369c308435fce32cd2de999
Source code for Puffin: A utility for deterministic DEFLATE recompression.
TODO(ahassani): Describe the directory structure and how-tos.
Alphabet A value that occurs in the input stream. It can be either a literal:[0..255], and end of block sign [256], a length[257..285], or a distance [0..29].
Huffman code A variable length code representing the Huffman encoded of an alphabet. Huffman codes can be created uniquely using Huffman code length array.
Huffman code array An array which an array index identifies a Huffman code and the array element in that index represents the corresponding alphabet. Throughout the code, Huffman code arrays are identified by vectors with postfix hcodes_
.
Huffman reverse code array An array which an array index identifies an alphabet and the array element in that index contains the Huffman code of the alphabet. Throughout the code, The Huffman reverse code arrays are identified by vectors with postfix rcodes_
.
Huffman code length The number of bits in a Huffman code.
Huffman code length array An array of Huffman code lengths with the array index as the alphabet. Throughout the code, Huffman code length arrays are identified by vectors with postfix lens_
.