tag | a50a00725a47695841c980e875ae1b1f1dea3736 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Wed Jul 25 11:29:50 2018 -0700 |
object | 9caaca88dfc4d175a42ae804c584120a54d9f632 |
Android p preview 5
commit | 9caaca88dfc4d175a42ae804c584120a54d9f632 | [log] [tgz] |
---|---|---|
author | Amin Hassani <ahassani@google.com> | Wed Jun 06 10:29:21 2018 -0700 |
committer | Amin Hassani <ahassani@google.com> | Thu Jun 07 17:26:23 2018 +0000 |
tree | b0f47bcb70f07ffef96bea10a466d90a3f68f78e | |
parent | 2d51d2b7790c384a5b085040d0be859ecaf51ee5 [diff] |
Remove SampleGenerator and zlib dependencies No function in sample_generator.cc (except for PrintArray) was being used. This patch moves the PrintArray to the only place it is being used and removes the sample generator files. As a consequence, all dependencies to zlib is removed from Puffin. Bug: 80148379 Test: unittest Change-Id: Ic77ed06653bdf0a85b0e66feb885385a7cbc154f
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_
.