| CPC H04N 19/159 (2014.11) [H04N 19/105 (2014.11); H04N 19/176 (2014.11); H04N 19/184 (2014.11); H04N 19/521 (2014.11)] | 3 Claims |

|
1. A video decoding method comprising:
obtaining, from a bitstream, correction distance range information indicating one of a plurality of correction distance candidate sets;
obtaining, from the bitstream, information about a correction distance and information about a correction direction;
determining a current correction distance by using the information about the correction distance and the correction distance range information;
determining a current correction direction by using the information about the correction direction; and
determining a motion vector of a current block by correcting a base motion vector according to the current correction distance and the current correction direction,
wherein:
one correction distance set from among the plurality of correction distance candidate sets comprises a preset number of correction distance candidates,
a correction distance set is selected, from among the plurality of correction distance candidate sets, according to the correction distance range information,
the correction distance is indicated by the information about the correction distance, among the preset number of correction distance candidates included in the selected correction distance set, and
a first correction distance candidate set, among the plurality of correction distance candidate sets, includes correction distance candidates {1, 2}, and a second correction distance candidate set, among the plurality of correction distance candidate sets, does not include the correction distance candidates {1, 2}.
|