Patent ID: 8817873

Claim:
An image coding and recording apparatus which codes and records image data based on a predetermined coding standard, said apparatus comprising: a coding unit operable to (i) code the image data on a block-by-block basis defined by the predetermined coding standard so as to generate a first coded stream, and (ii) re-code, after decoding at least one block in the first coded stream, the at least one block so as to generate a second coded stream different from the first coded stream; a recording unit operable to record the first coded stream generated by said coding unit; and a re-coding control unit operable to obtain a violation block from the first coded stream recorded by said recording unit, the violation block being a block having a coding amount exceeding a maximum coding amount defined by the predetermined coding standard, wherein said coding unit is operable to: (i) even when the violation block occurs in the coding of the image data, complete the coding of the image data without re-coding the violation block so as to generate the first coded stream including the violation block; and (ii) when said re-coding control unit obtains the violation block from the first coded stream recorded by said recording unit, re-code partial data including at least the violation block in the first coded stream, and generate the second coded stream including only one or more blocks each having a coding amount smaller than the maximum coding amount defined by the predetermined coding standard, and wherein said recording unit is configured to: (i) record the second coded stream together with the first coded stream; and (ii) record control information defining that the second coded stream is reproduced, in a process of reproducing the first coded stream, instead of the partial data during reproduction the partial data.