Abstract
Huffman coding is a popular and important lossless compression scheme for various multimedia applications. This paper presents a low-latency parallel Huffman decoding technique with efficient memory usage for multimedia standards. First, the multi-layer prefix grouping technique is proposed for sub-group partition. It exploits the prefix characteristic in Huffman codewords to solve the problem of table size explosion. Second, a two-level table lookup approach is introduced which can promptly branch to the correct sub-group by level-1 table lookup and decode the symbols by level-2 table lookup. Third, two optimization approaches are developed; one is to reduce the branch cycles and the other is parallel processing between two-level table lookup and direct table lookup approaches to fully utilize the advantage of VLIW parallel processing. An AAC Huffman decoding example is realized on the Parallel Architecture Core DSP (PAC DSP) processor. The simulation results show that the proposed method can further improve about 89% of decoding cycles and 33% of table size comparing to the linear search method.
Similar content being viewed by others
References
ISO/IEC 10918-1 (1993). Digital compression and coding of continuous-tone still images: requirements and guidelines.
ISO/IEC 13818-2 (1995). Information technology—Generic coding of moving pictures and associated audio, part 2: Video.
ISO/IEC 14496-2 (2001). Information technology—Coding of audio visual objects, part 2: Visual.
ITU-T H.264 (2005). Advanced video coding for generic audiovisual services.
ISO/IEC 11172-3 (1993). Information technology—Coding of moving pictures and associated audio for digital storage media at up to 1.5 Mbit/s, part 3: Audio. Aug.
ISO/IEC 13818-7 (2006). Information technology—Generic coding of moving pictures and associated audio information, part 7: Advanced Audio Coding (AAC).
Lei, S.-M., & Sun, M.-T. (1991). An entropy coding system for digital HDTV applications. IEEE Transactions on Circuits and Systems for Video Technology, 1(1), 147–155, Mar.
Liu, C.-N., & Tsai, T.-H. (2003). A pure-ASIC design approach for MPEG-2 AAC audio decoder. (ICICS-PCM), 3, 1633–1636, Dec.
Hashemian, R. (1994). Design and hardware implementation of a memory efficient Huffman decoding. IEEE Transactions on Consumer Electronics, 40, 345–352, Aug.
Hsieh, C.-T., & Kim, S.-P. (1996). A concurrent memory-efficient VLC decoder for MPEG applications. IEEE Transactions on Consumer Electronics, 42(3), 439–446, Aug.
Chien, C.-D., Lu, K.-P., Chen, Y.-M., Guo, J.-I., Chu, Y.-S., & Su, C.-L. (2006). An area-efficient variable length decoder IP core design for MPEG-1/2/4 video coding applications. IEEE Transactions on Circuits and Systems for Video Technology, 16(9), 1172–1178, Sept.
Sheng, B., Gao, W., Xie, D., & Wu, D. (2006). An efficient VLSI architecture of VLD for AVS HDTV decoder. IEEE Transactions on Consumer Electronics, 52(2), 696–701, May.
Nikara, J., Vassiliadis, S., Takala, J., & Liuha, P. (2004). Multiple-symbol parallel decoding for variable length codes. IEEE Transactions on Very Large Scale Integration (VLSI) Systems, 12(7), 676–685, July.
Mesarovic, V. Z., Rao, R., Dokic, M. V., & Deo, S. (2001). Selecting an optimal Huffman decoder for AAC. AES Convention Paper 5436, Sep.
Jiang, J.-H., Chang, C.-C., & Chen, T.-S. (1999). An efficient Huffman decoding method based on pattern partition and look-up table. Fifth Asia-Pacific Conference on Communications and Fourth Optoelectronics and Communications Conference, 2, 904–907, Oct.
Tao, S., Mudar, S., & Jingli, Z. (2007) Memory efficient and low complexity variable length decoding for MPEG-4 applications. International Conference on Parallel Processing Workshops (ICPPW 2007), Sept, pp. 38–43.
Lee, J.-S., Jeong, J.-H., & Chang, T.-G. (2005). An efficient method of Huffman decoding for MPEG-2 AAC and its performance analysis. IEEE Transactions on Speech and Audio Processing, 13(6), 1206–1209.
Texas Instruments (1999). TMS320C6000 technical brief. Feb.
Philips Electronics (1999). Trimedia, TM1300 preliminary data book. first draft, Oct.
Analog Devices (2006). TigerSHARC embedded processor. Dec.
Chang, D. C.-W., Liao, I.-T., Lee, J.-K., Chen, W.-F., Tseng, S.-Y., & Jen, C.-W. (2006) PAC DSP core and application processors. IEEE International Conference on Multimedia and Expo, 289–292, July.
Chang, D. C.-W., Liao, I.-T., Tseng, S.-Y., & Jen, C.-W. (2006). PAC DSP core and its applications. IEEE Asian Solid-State Circuits Conference, 19–22, Nov.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Tsai, TH., Liu, CN. A Low-Latency Multi-layer Prefix Grouping Technique for Parallel Huffman Decoding of Multimedia Standards. J Sign Process Syst Sign Image Video Technol 53, 323–333 (2008). https://doi.org/10.1007/s11265-008-0210-x
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11265-008-0210-x