A Leading Sign Grouping with Direct Table Lookup Approach for AAC Huffman Decoding

This paper presents a high speed search and memory efficient Huffman decoding for MPEG AAC audio decoder. First, the leading sign bit characteristic in AAC Huffman codewords is utilized. Based on the leading sign grouping, a two-level table lookup approach is introduced. It can branch to the correct group by first table and decode the symbols by second table. Two optimization approaches are developed, one is to reduce the branch cycles and the other is to combine direct table lookup approach. Simulation results show that these two optimizations can totally save about 18.25% cycles further comparing to the non-optimized version and about 9x speed up comparing to the linear search approach. Besides, the codeword packing scheme is used that the 12 Huffman codebooks only consume 3.6 Kbytes.

[1]  Shau-Yin Tseng,et al.  PAC DSP Core and Application Processors , 2006, 2006 IEEE International Conference on Multimedia and Expo.

[2]  Tae-Gyu Chang,et al.  An efficient method of Huffman decoding for MPEG-2 AAC and its performance analysis , 2005, IEEE Transactions on Speech and Audio Processing.

[3]  Tsung-Han Tsai,et al.  A pure-ASIC design approach for MPEG-2 AAC audio decoder , 2003, Fourth International Conference on Information, Communications and Signal Processing, 2003 and the Fourth Pacific Rim Conference on Multimedia. Proceedings of the 2003 Joint.

[4]  Raghunath Rao,et al.  Selecting an Optimal Huffman Decoder for AAC , 2001 .

[5]  Werner Oomen,et al.  Parametric Coding for High-Quality Audio , 2002 .