Patent ID: 7475324

Claim:
An encoding apparatus for appending a first error correction code and a second error correction code for record data to be recorded on an optical disk, comprising: an error detection code generator that produces error detection codes for the record data; a scrambling section that scrambles a block unit of data constituted by forming sector units of data from the record data and arranging a plurality of sector units of data to form a matrix; a first error correction code generator that produces the first error correction codes for each of first data groups constituting the rows of the block unit of data; a second error correction code generator that produces the second error correction codes for each of second data groups constituting the columns of the block unit of data; and an encoding controller that controls at least two of the processes in the error detection code generator, the scrambling section, the first error correction code generator, and the second error correction code generator to be performed in parallel, controls the error detection code generator to perform an operation on the record data read out from the memory device to produce the error detection codes, while the scrambling section performs an operation on the read-out record data to scramble the record data, and controls the second error correction code generator to perform a second operation on the scrambled record data to produce the second error correction codes, while the first error correction code generator performs a first operation on the scrambled record data to produce the first error correction codes.