摘要 |
A data processing device includes: a data reading unit that reads a predetermined amount of data; a data-period selection unit that selects a data period in units of the predetermined amount of data; a data clipping unit that clips data from the read data with the data period; an intermediate-data conversion unit that converts the clipped data into intermediate data; and a coding processing unit that codes the intermediate data. The data-period selection unit has a match count unit that obtains count values of matches in data between pieces of divided data that are obtained by dividing the read data in units of respective predetermined periods, and selects one of the periods of divided data that provides largest one of the count values of matches or selects, when some of the count values are the same, largest one of the periods that provide the same count value. |