Patent ID: 8121193

Claim:
A motion picture encoding device which selects either interframe coding or intraframe coding to perform video compression, comprising: a motion compensation error detection unit which detects motion compensation error upon interframe prediction; a detection unit which detects flatness of a macroblock image; an encoding determination unit which compares the motion compensation error with the flatness of the macroblock image multiplied by a coefficient, when the motion compensation error detected by the motion compensation error detection unit is greater than a first predetermined value during inter-frame coding by a macroblock image unit, and selects intra-frame coding if the motion compensation error is greater; a partitioning unit which obtains block images by partitioning the macroblock image; and a block image determination unit which detects flatness and quantization error of the block images and determines whether any of the block images has visually noticeable noise based on comparison results of: (i) the detected quantization error and a second predetermined value, and (ii) the detected flatness and a third predetermined value; wherein the encoding determination unit selects intra-frame coding when the motion compensation error detected by the motion compensation error detection unit is less than the first predetermined value, and when the block image determination unit determines that one of the block images within the macroblock image has visually noticeable noise.