Patent ID: 8325813

Claim:
A moving image coding apparatus comprising: a memory that stores at least image data of a coding target image and image data of a reference image with respect to a motion compensation block of the coding target image; a first data writing unit that stores the image data of the coding target image in the memory; a second data writing unit that stores the image data of the reference image in the memory; and a motion vector search unit that reads the image data of the coding target image and the image data of the reference image which are stored in the memory, and determines a motion vector that uses a past or future image as the reference image, wherein the memory has a plurality of data storing areas, the data storing areas are specified by a row address and a column address, wherein the first data writing unit stores consecutive pieces of pixel data on the coding target image in units of N horizontal pixels (N is an integer of 2 and more) and 1 vertical pixel in the memory for each data storing area of the memory, wherein the second data writing unit stores the consecutive pieces of the pixel data on the reference image in units of P horizontal pixels (P is an integer of 2 and more) and Q vertical pixels (Q is an integer of 2 and more) in the memory for each data storing area of the memory, wherein the motion vector search unit reads the image data of the coding target image in multiple units of N horizontal pixels and 1 vertical pixel and the image data of the reference image in multiple units of P horizontal pixels and Q vertical pixels from the memory, and wherein the motion vector search unit performs a coarse motion vector search of coarse pixel accuracy and a detail motion vector search with increased pixel accuracy.