Title :
Software synthesis of variable-length code decoder using a mixture of programmed logic and table lookups
Author :
Cheung, Gene ; McCanne, Steve ; Papadimitriou, Christos
Author_Institution :
Dept. of Electr. Eng. & Comput. Sci., California Univ., Berkeley, CA, USA
Abstract :
Implementation of variable-length code (VLC) decoders can involve a tradeoff between the number of decoding steps and memory usage. In this paper, we proposed a novel scheme for optimizing this tradeoff using a machine model abstracted from general purpose processors with hierarchical memories. We formulate the VLC decode problem as an optimization problem where the objective is to minimize the average decoding time. After showing that the problem is NP-complete, we present a Lagrangian algorithm that finds an approximate solution with bounded error. An implementation is automatically synthesized by a code generator. To demonstrate the efficacy of our approach, we conducted experiments of decoding codebooks for a pruned tree-structured vector quantizer and H.263 motion vector that show a performance gain of our proposed algorithm over single table lookup implementation and logic implementation
Keywords :
computational complexity; decoding; motion estimation; optimisation; table lookup; tree data structures; variable length codes; vector quantisation; H.263 motion vector; Lagrangian algorithm; NP-complete problem; VLC decoders; array element; bounded error; decoding steps; general purpose processors; hierarchical memories; machine model; memory usage; optimization problem; performance gain; programmed logic; pruned tree-structured vector quantizer; software synthesis; table lookups; variable-length code decoder; Assembly; Binary trees; Costs; Data compression; Decoding; Hardware; Lagrangian functions; Logic; Performance gain; Table lookup;
Conference_Titel :
Data Compression Conference, 1999. Proceedings. DCC '99
Conference_Location :
Snowbird, UT
Print_ISBN :
0-7695-0096-X
DOI :
10.1109/DCC.1999.755661