Title :
A memory-efficient Huffman decoding algorithm
Author :
Wang, Pi-Chung ; Yang, Yuan-Rung ; Lee, Chun-Liang ; Chang, Hung-Yi
Author_Institution :
Telecommun. Labs., Chunghwa Telecom Co., Ltd., Taipei, Taiwan
Abstract :
To reduce the memory size and fasten the process of searching for a symbol in a Huffman tree, we exploit the property of the encoded symbols and propose a memory-efficient data structure to represent the Huffman tree, which uses memory nd bits, where n is the number of source symbols and d is the depth of the Huffman tree. Based on the proposed data structure, we present an O(log n)-time Huffman decoding algorithm. An adaptive version for single-side growing Huffman tree is also addressed. This version could improve the average performance from log n to Σin┌i/(h - 1)┐ × wilog h/Σwi, where wi is the frequency for ith symbol and h is a pre-defined value.
Keywords :
Huffman codes; decoding; tree data structures; tree searching; Huffman tree representation; data structure; memory size reduction; memory-efficient Huffman decoding algorithm; source symbols; Data structures; Decoding; Encoding; Frequency; Information management; Laboratories; Memory management; Telecommunications; Tree data structures; Video compression;
Conference_Titel :
Advanced Information Networking and Applications, 2005. AINA 2005. 19th International Conference on
Print_ISBN :
0-7695-2249-1
DOI :
10.1109/AINA.2005.33