Patent ID: 8144773

Claim:
A coding apparatus which codes moving images having a plurality of frames by switching between intra-frame coding and inter-frame coding, the apparatus comprising: a first prediction unit which performs intra-prediction of an original image corresponding to an inter-frame coded frame to produce a first prediction residual and a prediction parameter; a second prediction unit which performs intra-prediction of decode data of the inter-frame coded frame with the prediction parameter to produce a second prediction residual; a subtractor which calculates difference data between the first prediction residual and the second prediction residual; a third prediction unit which performs intra-prediction of data corresponding to a decoded frame with the prediction parameter to produce a third prediction residual when the inter-frame coded frame is decoded and transformed into the intra-frame coded frame; an adder which calculates addition data of the third prediction residual and the difference data; and an intra-frame coding unit which performs intra-frame coding of the addition data.