摘要 |
<p>PROBLEM TO BE SOLVED: To reduce a time that is needed to output a codeword by constructing a codeword with a codeword, that is already outputted by a storing means and a codeword outputted by another storing means, when a codeword that corresponds to the combination of counted run length and a value following it is not preliminarily recorded on the storing means. SOLUTION: A memory 13 stores in advance a variable length codeword which corresponds to the combination of the length (run length) of a part, where zero values continues counted by a run length counting circuit 11 and a value following it. A selector 16, designates the combination and selects an output result that is outputted from a memory 12 and a result that is outputted from the memory 13. A control circuit 18 discriminates whether or not the codeword corresponding to the combination is a partial combination. When it is not, the selector 16 successively selects a codeword, that is already outputted from the memory 12 and a codeword outputted by the memory 13 and, constructs a variable length codeword. Thus, it is possible to reduce a time that is needed for code word allocation.</p> |