摘要 |
<p>PROBLEM TO BE SOLVED: To provide a moving image encoder and a moving image decoder, capable of reducing additional information of motion vector selection information while enhancing the degree of freedom in motion vector calculation.SOLUTION: A moving image encoder and a moving image decoder include; an acquisition section for seeking an available block from encoded blocks adjacent to an encoding target block, and calculating the number of available blocks; a selection section for selecting a selection block from the available blocks; a selection information encoding section for encoding selection information that identifies a selection block using a code table corresponding to the number of available blocks; and an image encoding section for performing a motion compensative prediction encoding on the encoding target block using a motion vector possessed by the selection block. In addition, the moving image encoder and the moving image decoder include: a vector selection section for selecting a motion vector indicated by the selection information; and an image decoding section for performing a motion compensative prediction decoding on the decoding target image using the motion vector selected.</p> |