-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
always use DEFLATE canonical form for huffman::table codes
Update huffman::table constructors to always call canonicalize(). As canonicalize() is now called in the constructor, this method is now private. Note that the table_contents constructor is an exception and does not call canonicalize(). File decode_test.cpp does not yet update the Huffman table to use canonical form as this requires the recalculating the encoded bits. Change-Id: I5597dc51ea5e9f086c71e2f9396fccd5ace923b2
- Loading branch information
Showing
7 changed files
with
206 additions
and
291 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.