CPC H04N 19/51 (2014.11) [H04N 19/176 (2014.11); H04N 19/513 (2014.11); H04N 19/523 (2014.11); H04N 19/53 (2014.11); H04N 19/70 (2014.11)] | 13 Claims |
1. A method of decoding a video signal, comprising:
obtaining residual samples of a current block;
deriving a motion vector predictor (MVP) based on motion information of a neighbor block of the current block;
obtaining a motion vector difference (MVD) of the current block;
obtaining a flag related to a resolution of the MVD, a value 0 of the flag specifying that the resolution of the MVD is ¼ pel-scale;
rounding the MVP based on the flag;
scaling the MVD based on the flag;
obtaining a motion vector (MV) of the current block based on the scaled MVD and the rounded MVP;
generating prediction samples of the current block based on the MV; and
generating reconstructed samples of the current block based on the prediction samples and the residual samples.
|