摘要 |
A video encoding apparatus determines, when the picture type of a picture to be encoded matches the picture type of at least one of reference pictures, a prediction value candidate for the motion vector of a block to be encoded from among the motion vectors of a plurality of already encoded blocks in the picture being encoded and the motion vector of a block contained in the at least one reference picture and having a predefined positional relationship to the block to be encoded, but when the picture type of the picture to be encoded does not match the picture type of any one of the reference pictures, determines the prediction value candidate for the motion vector of the block to be encoded from among the motion vectors of a plurality of already encoded blocks in the picture being encoded. |