To provide a decoder, a program and a method for decoding a variable length code in which decoding rate can be enhanced.
A set of final recovery values is acquired by retrieving a decoding table T1 storing a set of final recovery values, where quantized coefficient values are collected with a predetermined order depending on an inputted variable length code bit sequence, as a recovery event and then the variable length code bit sequence is decoded. Consequently, the set of final recovery values can be obtained immediately upon ending decoding of the variable length code. Since individual final recovery values can be taken out using only a shift instruction or an AND instruction requiring a small number of steps, the final recovery value can be obtained without requiring four operations (especially, division) requiring a large number of steps. Consequently, total number of processing steps is decreased and decoding rate can be enhanced.
JPH11168391A | 1999-06-22 | |||
JPH03209924A | 1991-09-12 | |||
JPH0651943A | 1994-02-25 | |||
JPH07170197A | 1995-07-04 | |||
JPH09261076A | 1997-10-03 | |||
JPH03220870A | 1991-09-30 | |||
JPH03131176A | 1991-06-04 | |||
JPH09135176A | 1997-05-20 |