Fast compact decoder for huffman codes
Abstract
A method may include performing an N bit-at-a-time matching operation for a first N bits in an encoded input stream of bits using a lookup table. The matching operation may obtain a first address in the table, and N may be an integer greater than one. The method may also include obtaining a second address in the table based on a mask and a jump address that are associated with the first address and a second number of bits in the encoded input stream. An index value may be output based on the second address in the table.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 13.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method comprising: performing a matching operation for a first number of bits in a compressed input stream using a lookup table to obtain an initial address in the table; obtaining a next address in the table based on a mask associated with the initial address and a next number of bits in the compressed input stream if the initial address is not associated with a decompressed value; and outputting the decompressed value based on the next address in the table.
- Claim 2Depends on #1
The method of claim 1 , wherein the first number of bits includes two bits or four bits.
- Claim 3Depends on #1
The method of claim 1 , wherein the obtaining includes: logically combining the mask and the next number of bits to produce a result.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (13 of 13 total)
References Cited — Backward Prior Art (6)
Non-Patent Literature (1)
- Hsiun, "Programmable variable length decoder", USPGPUB 2003/0184457, filed on Nov. 12, 2002.