| CPC H04N 19/513 (2014.11) [H04N 19/13 (2014.11); H04N 19/139 (2014.11); H04N 19/176 (2014.11); H04N 19/184 (2014.11); H04N 19/70 (2014.11)] | 3 Claims |

|
1. A method of decoding motion information, the method comprising:
obtaining, from a bitstream, information about a precision of a pixel unit in a predetermined mode;
obtaining, from the bitstream, information indicating a disparity distance for a current block;
obtaining, from the bitstream, information indicating a disparity direction for the current block;
if the precision of the pixel unit is a predetermined precision, determining a first disparity distance based on the obtained information indicating the disparity distance;
if the precision of the pixel unit is not the predetermined precision, determining a second disparity distance based on the obtained information indicating the disparity distance;
if the current block is bi-predicted:
determining a first motion vector for a first list of the current block by changing a first base motion vector for the first list by a first offset, wherein the first offset has a size corresponding to the first disparity distance or the second disparity distance, and a sign of the first offset corresponds to the information indicating the disparity direction;
determining a second offset by scaling the first offset based on a picture order count (POC) of a current picture, a POC of a first reference picture in the first list, and a POC of a second reference picture in a second list; and
determining a second motion vector for the second list of the current block by changing a second base motion vector for the second list by the second offset,
wherein the second disparity distance is larger than the first disparity distance, and
wherein at least one of the first disparity distance and the second disparity distance has a value of a power of 2.
|