| CPC H04N 19/137 (2014.11) [H04N 19/105 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11)] | 13 Claims |

|
1. A method performed by a video decoding device for decoding a motion vector of a current block, the method comprising:
decoding, from a bitstream, reference picture indices that are in a bi-direction manner and are of the current block, indicating reference pictures that are in the bi-direction manner and comprise an LX reference picture, where X=0 or X=1, and an L1-X reference picture;
decoding, from the bitstream, motion vector indices that are in the bi-direction manner, indicating motion vectors that are in the bi-direction manner and comprise an LX motion vector and an L1-X motion vector, the LX motion vector comprising a horizontal LX motion vector and a vertical LX motion vector, the L1-X motion vector comprising a horizontal L1-X motion vector and a vertical L1-X motion vector;
decoding, from the bitstream, an LX motion vector difference that comprises a horizontal LX motion vector difference and a vertical LX motion vector difference; and
deriving an L1-X motion vector difference by using the LX motion vector difference;
wherein the L1-X motion vector difference comprises a horizontal L1-X motion vector difference and a vertical L1-X motion vector difference;
wherein deriving the L1-X motion vector difference includes:
deriving a scaling factor by using a difference between a picture order count (POC) of a current picture and a POC of the LX reference picture, and a difference between a POC of the current picture and a POC of the L1-X reference picture; and
calculating the horizontal L1-X motion vector difference and the vertical L1-X motion vector difference by using the scaling factor, the horizontal L1 motion vector difference, and the vertical LX motion vector difference.
|