CPC H04N 19/513 (2014.11) [H04N 19/139 (2014.11); H04N 19/176 (2014.11)] | 5 Claims |
1. A method of decoding a motion vector, the method comprising:
obtaining, from a bitstream, information indicating a particular motion vector resolution of a current block among a plurality of motion vector resolutions including a first motion vector resolution;
when a motion vector of a first candidate block corresponding to the first motion vector resolution indicated by the information is available, determining the motion vector of the first candidate block as a prediction motion vector of the current block, wherein a position of the first candidate block is determined based on the information;
when the motion vector of the first candidate block is unavailable, determining a default motion vector from default motion vector candidates according to a priority, and determining the default motion vector as the prediction motion vector of the current block;
adjusting the prediction motion vector by applying a shift operation based on the information to the prediction motion vector; and
obtaining a motion vector of the current block by using a residual motion vector and the adjusted prediction motion vector of the current block,
wherein the default motion vector is determined by identifying whether one of the default motion vector candidates is available according to the priority.
|