Motion vector calculation method
When a block (MB 22 ) of which motion vector is referred to in the direct mode contains a plurality of motion vectors, 2 motion vectors MV 23 and MV 24 , which are used for inter picture prediction of a current picture (P 23 ) to be coded, are determined by scaling a value obtained from averaging the plurality of motion vectors or selecting one of the plurality of the motion vectors.
1. A motion vector determining method for determining a motion vector of a current block included in a current picture, said motion vector determining method comprising:
specifying a co-located block which is a block included in a second picture that is different from the current picture, the co-located block being located in the second picture at the same position that the current block is located in the current picture; and
determining first and second motion vectors for performing motion compensation on the current block, using a third motion vector which is a motion vector of the co-located block,
wherein, in the case where a reference picture referred to by the third motion vector is stored in a long term picture buffer, (i) the first motion vector, which refers to the reference picture stored in the long term picture buffer, is determined to be equal to the third motion vector, and (ii) the second motion vector, which refers to the second picture that is different from the current picture, is determined to be equal to a value of 0.
2. The motion vector determining method according to claim 1 ,
wherein, in the case where the co-located block has two motion vectors, one of the two motion vectors is used as the third motion vector,
wherein said one of the two motion vectors is a motion vector which refers to a reference picture selected from a reference picture list in which lower identification numbers are assigned with priority to a reference picture to be displayed prior to the current picture.
3. A semiconductor apparatus for determining a motion vector of a current block included in a current picture, said semiconductor apparatus comprising:
a specifying unit operable to specify a co-located block which is a block included in a second picture that is different from the current picture, the co-located block being located in the second picture at the same position that the current block is located in the current picture; and
a determining unit operable to determine first and second motion vectors for performing motion compensation on the current block, using a third motion vector which is a motion vector of the co-located block,
wherein, in the case where a reference picture referred to by the third motion vector is stored in a long term picture buffer, (i) the first motion vector, which refers to the reference picture stored in the long term picture buffer, is determined to be equal to the third motion vector, and (ii) the second motion vector, which refers to the second picture that is different from the current picture, is determined to be equal to a value of 0.
4. A mobile terminal comprising the semiconductor apparatus according to claim 3 .