Patent ID: 7876829

Claim:
A motion picture coding device that searches a motion vector in units of one of blocks into which data of a frame of a motion picture is divided, compensates or predicts motion data using the searched motion vector so as to produce predictive image data, and codes a difference signal, which represents a difference between the predictive image data and the motion picture data, and the motion data, comprising: a motion search unit that searches the motion data and comprises: a first motion vector detecting part that searches a plurality of first pixel blocks and a plurality of sub-blocks of different shapes, into which each of the plurality of first pixel blocks is divided, for a motion vector with integer pixel precision; a shape mode selection part that selects one block or a plurality of blocks of different shapes according to information acquired by the first motion vector detecting part; and a second motion vector detecting part that searches one sub-block or a plurality of sub-blocks, which is selected by the shape mode selection part, for a motion vector with decimal image precision.