CPC H04N 19/51 (2014.11) [H04N 19/105 (2014.11); H04N 19/182 (2014.11); H04N 19/196 (2014.11); H04N 19/42 (2014.11); H04N 19/513 (2014.11); H04N 19/52 (2014.11); H04N 19/593 (2014.11); H04N 19/82 (2014.11)] | 3 Claims |
1. A video decoding method comprising:
determining whether to perform the scaling on a motion vector of a temporal reference block based on picture order count (POC) values of a reference picture referred to by the current block and a reference picture referred to by the temporal reference block used for inter-prediction for the current block;
calculating a first value and a second value based on the POC values;
calculating an offset value by performing an arithmetic right shift on an absolute value of the first value by a binary digit of 1;
calculating an inverse-proportional value of the first value using the offset value; and
calculating a scaling factor based on the inverse-proportional value of the first value and the second value; and
scaling the motion vector of the temporal reference block by using the scaling factor,
wherein the first value is derived based on a first POC difference between a co-located picture comprising the temporal reference block and the reference picture referred to by the temporal reference block, and
wherein the second value is derived based on a second POC difference between a current picture comprising the current block and the reference picture referred to by the current block,
wherein the motion vector of the reference block is scaled in case the first POC difference between the co-located picture and the reference picture referred to by the temporal reference block is different from the second POC difference between the current picture and the reference picture referred to by the current block.
|