CPC H04N 19/573 (2014.11) [H04N 19/105 (2014.11); H04N 19/139 (2014.11); H04N 19/176 (2014.11); H04N 19/117 (2014.11); H04N 19/70 (2014.11)] | 5 Claims |
1. A method, performed by a decoding apparatus, of decoding motion information, the method comprising:
obtaining, from a bitstream, information indicating whether motion information of a neighboring block is changed for obtaining a motion vector of a current block, the information representing index information indicating one of a first value, a second value or a third value;
when the information does not indicate a change of the motion information of the neighboring block, obtaining the motion vector of the current block using a motion vector of the neighboring block and a differential motion vector;
when the information indicates the change of the motion information of the neighboring block, obtaining the motion vector of the current block using the motion vector of the neighboring block, a pre-defined offset for at least one of a x-component or a y-component of the motion vector of the neighboring block, and the differential motion vector; and
reconstructing the current block by using a reference block indicated by the motion vector of the current block in a reference picture of the current block,
wherein, when the information indicates the third value, it is determined not to change the motion information of the neighboring block, and when the information indicates the first value or the second value, it is determined to change the motion information of the neighboring block,
wherein, when the information indicates the first value, the offset has a + sign, and when the information indicates the second value, the offset has a − sign, and
wherein the differential motion vector is derived from variation distance information and variation direction information included in the bitstream.
|