| CPC H04N 19/137 (2014.11) [H04N 19/105 (2014.11); H04N 19/176 (2014.11); H04N 19/30 (2014.11)] | 5 Claims |

|
1. A method of decoding a video, the method comprising:
decoding index information for a current block from a bitstream;
determining, based on the index information, a motion vector resolution for the current block among a plurality of motion vector resolution candidates;
scaling a motion vector difference of the current block based on a shifting parameter corresponding to the motion vector resolution;
determining a motion vector predictor of the current block from a plurality of motion vector predictor candidates;
obtaining a motion vector of the current block based on the motion vector predictor and the scaled motion vector difference; and
obtaining prediction samples of the current block based on the motion vector of the current block,
wherein a motion vector predictor candidate is derived by modifying a motion vector of a neighboring block adjacent to the current block, and
wherein the modification is performed based on a shift operation using the shifting parameter corresponding to the motion vector resolution of the current block.
|