Patent ID: 6937170
Filing Date: 2005-08-30
Classification: H03M

Abstract:
1. A variable-length code decoding apparatus which receives a bitstream of variable-length-encoded image data and outputs symbol data, comprising: queuing means for queuing a variable-length code word from the received bitstream; discrimination means for discriminating a type of a code word in accordance with a pattern of a predetermined number of bits at a start of the variable-length code word queued by said queuing means; extraction means for extracting data having a sufficient code word length from a predetermined bit position on the basis of a discrimination result from said discrimination means; a Huffman table which compares the extracted data with a variable-length code word stored in advance, and when the data and the variable-length code word coincide, outputs first symbol data; computing means for modifying, for the first symbol data output from said Huffman table, the first symbol data and generating a plurality of types of second symbol data in accordance with the modified first symbol; decoding means for selecting a predetermined bit lane from the variable-length code word queued by said queuing means and outputting the bit lane as third symbol data; and selection means for selecting and outputting one of the first symbol data output from said Huffman table, the second symbol data generated by said computing means, and the third symbol data generated by said decoding means, in accordance with a value of the variable-length code word queued by said queuing means.