摘要 |
To order to provide an encoding/decoding device capable of reducing the memory area required and speeding up encoding processing, an encoding/decoding device according to the invention includes a data encoder for reading a size representing a code length of each code word stored in memory, and an offset representing the numerical difference between a base, representing a minimum or maximum value in code words having the code length represented by this size, and the code word, using an address designated by a run length and a group number, outputting a minimum or maximum value in a code word having a code length designated by the size with a multiplexer, adding the base and the offset, and outputting a code of a code word corresponding to the run length and group number.
|