Claims
- 1. A method of decoding a series of binary digital signals using a data structure, the series of binary digital signals being encoded, said method comprising:
searching the data structure based on, at least in part, the length of a subgrouping of binary digital signals of the series of binary digital signals being decoded.
- 2. The method of claim 1, and further comprising:
prior to searching, selecting the first N binary digital signals in the series as the subgrouping, N being the length of the shortest code.
- 3. The method of claim 2, and further comprising:
increasing the length of the subgrouping by the next binary digital signal in the series if no code in the data structure having length N matches the subgrouping.
- 4. The method of claim 1, and further comprising:
prior to searching, selecting the first N binary digital signals in the series as the subgrouping, N being the length of the longest code.
- 5. The method of claim 4, and further comprising:
decreasing the length of the subgrouping by the next binary digital signal in the series if no code in the data structure having length N matches the subgrouping.
- 6. The method of claim 1, wherein the binary digital signals are encoded in accordance with a Huffman code.
- 7. The method of claim 1, wherein the data structure is organized, at least in part, based on code length.
- 8. The method of claim 7, wherein every code in the data structure having the same length as the subgrouping is checked for a match.
- 9. The method of claim 8, wherein the data structure is organized in subgroupings of codes having the same code length, the subgroupings being stored sequentially.
- 10. A data structure of Huffman codes, the Huffman codes being arranged in subgroupings, comprising:
for each subgrouping, a code word length, a start code, an end code, and a base index.
- 11. The data structure of claim 10, wherein the subgroupings are organized sequentially according to code word length.
- 12. The data structure of claim 11, wherein within each subgrouping, the code words are impliedly sequential from start code to end code.
- 13. A method of creating a data structure for decoding code words, said method comprising:
sorting the code words by code length; and ordering the code words of the same length sequentially from start code to end code.
- 14. The method of claim 13, wherein each subgrouping of code words having a specific code length is represented using a start code and an end code.
- 15. The method of claim 14, and further comprising:
relating a base index to each subgrouping.
- 16. The method of claim 15, wherein the base index corresponds to the index for the symbol having the start code.
- 17. An article comprising: a storage medium, said storage medium having stored thereon, instructions, that, when executed, result in a method of decoding a series of binary digital signals using a data structure being executed, the series of binary digital signals being encoded, by:
searching the data structure based on, at least in part, the length of a subgrouping of binary digital signals of the series of binary digital signals being decoded.
- 18. The article of claim 17, wherein said instructions, when executed, result in, prior to searching, the first N binary digital signals in the series being selected as the subgrouping, N being the length of the shortest code.
- 19. The article of claim 18, wherein said instructions, when executed, result in the length of the subgrouping being increased by the next binary digital signal in the series if no code in the data structure having length N matches the subgrouping.
- 20. An article comprising: a storage medium, said storage medium having stored thereon, instructions, that, when executed, result in a method of creating a data structure for decoding encoded code words being executed by:
sorting the code words by code length; and ordering the code words of the same length sequentially from start code to end code.
- 21. The article of claim 20, wherein said instructions, when executed, result in each subgrouping of code words having a specific code length being represented using a start code and an end code.
- 22. The article of claim 21, wherein said instructions, when executed, result in a base index being related to each subgrouping.
RELATED APPLICATION
[0001] This patent application is related to concurrently filed U.S. patent application Ser. No. ______, titled “A Method of Generating Huffman Code Length Information” by Acharya, et al. (Attorney Docket No. 042390.P9804), assigned to the assignee of the present invention and herein incorporated by reference.
Continuations (1)
|
Number |
Date |
Country |
Parent |
09704380 |
Oct 2000 |
US |
Child |
10293187 |
Nov 2002 |
US |