PROBLEM TO BE SOLVED: To efficiently encode the finite number of encoded symbols.;SOLUTION: A variable length code generating apparatus 500 receives a table size that is a maximum index number of symbols being encoded objects, and also receives encoded indices that are index numbers of the encoded objects. The variable length code generating apparatus 500 is provided with: a finite basic table storage section 503 for storing a finite basic table being a variable length encoded table saturated at a finite index number; an index calculation section 501 for determining an output index and an output table number on the basis of the table size and the encoded index numbers; a table selection section 502 for selecting an encoded basic table from the finite basic table storage section 503 in accordance with the determined output table number; and a code output section 504 for outputting a variable length code on the basis of the selected encoded basic table and the determined output index.;COPYRIGHT: (C)2004,JPO
展开▼