Huffman decoding method, circuit and system employing conditional subtraction for conversion of negative numbers
Abstract
This invention decodes a continuous stream of Huffman encoded data, each datum having a size portion of a predetermined number of bits and a value portion of a variable number of bits. The invention extracts the size portion, determines the variable number of bits of the value portion and extracts this value portion. The decoding of this value portion differs depending upon the sign bit. If this sign bit is "1", then translation is required. A mask constant having a single "1" bit is rotated an amount equal to the size aligning this single "1" bit with the most significant bit of the value portion. This rotated mask is ANDed with the value portion. A zero result indicates no translation is needed. The translation, if needed, takes place by subtraction. The quantity 2 N -1 is subtracted from the value portion, where N is the size. A mask generator (239) forms the quantity 2 N -1 by forming a number of right justified "1's" equal to the size. In the preferred embodiment a data processing apparatus (71, 72, 73, 74) having an arithmetic logic unit (230) with a barrel rotator (235) and a mask generator (239) performs the key steps of the decoding. In
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 31.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of decoding a continuous stream of Huffman encoded data, each datum having a size portion of a predetermined number of bits and a value portion of a variable number of bits, said method comprising the steps of: extracting from the continuous stream of Huffman encoded data a first set of next bits equal in number to the predetermined number of bits, said first set of next bits being the size portion of a next datum; determining from said first set of next bits the variable number of bits of the value portion; extracting from the continuous stream of Huffman encoded data a second se
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 31 total)
References Cited — Backward Prior Art (14)
Non-Patent Literature (2)
- Microprocessor Report, Slater, Michael, "IIT Ships Programmable Video Processor," vol. 5, No. 20, Oct. 30, 1991 pp. 1, 6-7, 13.
- Microprocessor Report, Slater, Michael, IIT Ships Programmable Video Processor, vol. 5, No. 20, Oct. 30, 1991 pp. 1, 6 7, 13.