Patent ID: 8280176

Claim:
A video encoding device for encoding video data in block units, comprising: division means for dividing a frame image constituting said video data into a plurality of encoding target blocks; encoding means for encoding said encoding target block; reproduced image generation means for generating a decoded block, which is a reproduced signal of said encoding target block; storage means for storing reproduced video data generated from said reproduced signal; and prediction signal generation means for generating a prediction block, which is a prediction signal of said encoding target block, using a template generated from a reproduced signal, which is adjacent to said encoding target block in a predetermined positional relationship and belongs to the reproduced video data stored in said storage means, wherein said encoding means generates a difference block, which is a difference signal of said encoding target block, by subtracting said prediction block from said encoding target block in pixel units, and encodes said difference block, and said reproduced image generation means generates a decoded difference block, which is a reproduced signal of the difference block encoded by said encoding means, and generates a decoded block by adding said decoded difference block and said prediction block in pixel units.