Patent ID: 6408102
Filing Date: 2002-06-18
Classification: G06T,H03M

Abstract:
An encoding and decoding device, comprising:(a) a first inputter, arranged for inputting a first code number corresponding to a first fixed-length code; (b) a first code length calculator, arranged for calculating a code length of a first variable length code corresponding to the first fixed-length code, by using results of comparing the inputted first code number with first reference values corresponding to code lengths; (c) a variable-length code calculator, arranged for calculating the first variable-length code corresponding to the first fixed-length code, by using the inputted first code number and one first reference value corresponding to the calculated code length; (d) a second inputter, arranged for inputting a second variable-length code; (e) a second code length calculator, arranged for calculating a code length of the inputted second variable-length code, by using results of comparing the inputted second variable-length code with second reference values corresponding to code lengths; and (f) a code number calculator, arranged for calculating a second code number which is used to convert the inputted second variable-length code into a second fixed-length code, by using the inputted second variable-leg code and one second reference value corresponding to the calculated code length.