Apparatus and method for encoding motion information, and decoding apparatus and method
A method of decoding motion information includes: identifying a type of omission motion information not included in a bitstream from among a plurality of pieces of motion information used to decode a current block that is inter predicted; obtaining the omission motion information by using a predetermined method; and decoding the current block based on the plurality of pieces of motion information including the obtained omission motion information.
1. A method of decoding motion information, the method comprising:
when a current block is bi-predicted, obtaining, from a bitstream, information indicating whether motion information is omitted or not;
if the information indicates that the motion information is not omitted, obtaining, from the bitstream, a motion vector difference for list 0 and a motion vector difference for list 1;
if the information indicates that the motion information is omitted:
obtaining, from the bitstream, the motion vector difference for list 0; and
determining the motion vector difference for list 1, that is not included in the bitstream, using a predetermined method.
2. The method of claim 1 , wherein the method further comprises adjusting a motion vector of a neighboring block according to a motion vector resolution of the current block.
3. The method of claim 1 , the method further comprising:
if the information indicates that the motion information is omitted,
determining a first predetermined picture as a reference picture of the list 0; and
determining a second predetermined picture as a reference picture of the list 1.