摘要 |
A method for determining motion vectors for a current block (E) in a picture to be coded is disclosed, comprising: obtaining first and second motion vectors of blocks (A, B, C) other than the current block (E); obtaining a reference picture index of the other blocks (A, B, C); and determining first and second prediction motion vectors of the current block (E) by using the first and second motion vectors of the other blocks (A, B, C); wherein the step of determining first and second prediction motion vectors of the current block (E) is performed by using the reference picture index; wherein the other blocks (A, B, C) are neighboring the current block (E) at a left, top and top right position, respectively; and wherein the step of determining first and second prediction motion vectors of the current block (E) includes applying a median operation to the first motion vectors of the other blocks (A, B, C) and to the second motion vectors of the other blocks (A, B, C). |