发明名称 Creating a dynamic Huffman table
摘要 Techniques for creating a dynamic Huffman table in hardware are provided. In one aspect, a method for encoding data includes the steps of: implementing dynamic Huffman tables in hardware representing a plurality of Huffman tree shapes precomputed from a sample data set, wherein the Huffman tree shapes are represented in the dynamic Huffman tables by code length values; upon receipt of input data, writing symbols and their counts from the input data to the dynamic Huffman tables; calculating a score for each of the dynamic Huffman tables with the symbols and counts from the input data, wherein the score is based on the code length values of the precomputed Huffman tree shapes and the counts from the input data and selecting a given one of the dynamic Huffman tables having a lowest score for encoding the input data. A process for implementing the present techniques in SRAM is also provided.
申请公布号 US9584156(B1) 申请公布日期 2017.02.28
申请号 US201514943590 申请日期 2015.11.17
申请人 International Business Mahcines Corporation 发明人 Abali Bulent;Blaner Bartholomew;Franke Hubertus;Reilly John J.
分类号 H03M7/40;H03M7/42 主分类号 H03M7/40
代理机构 Michael J. Chang, LLC 代理人 Davis Jennifer R.;Michael J. Chang, LLC
主权项 1. A method for encoding data, the method comprising the steps of: implementing dynamic Huffman tables in hardware representing a plurality of Huffman tree shapes precomputed from a sample data set, wherein the Huffman tree shapes are represented in the dynamic Huffman tables by code length values; upon receipt of input data, writing symbols and their counts from the input data to the dynamic Huffman tables; calculating a score for each of the dynamic Huffman tables with the symbols and counts from the input data, wherein the score is based on the code length values of the precomputed Huffman tree shapes and the counts from the input data; and selecting a given one of the dynamic Huffman tables having a lowest score for encoding the input data.
地址 Armonk NY US