CPC H04N 19/105 (2014.11) [H04N 19/159 (2014.11); H04N 19/176 (2014.11); H04N 19/52 (2014.11); H04N 19/80 (2014.11)] | 4 Claims |
1. A method by a processor for decoding a picture, the method comprising:
determining that a temporal candidate is available when a size of a current block is greater than or equal to a predetermined size;
determining whether one neighboring block spatially adjacent to the current block in a current picture is available;
obtaining a temporal motion vector by using a motion vector of the one neighboring block when the one neighboring block is available, wherein when the one neighboring block is not available, the temporal motion vector is determined as a zero vector;
dividing the temporal motion vector by a predetermined value;
generating a candidate list comprising the temporal candidate when the temporal candidate is available; and
when the temporal candidate is selected from among candidates included in the candidate list:
determining a motion vector of a first sub-block in the current block, the motion vector of the first sub-block being determined based on a motion vector of a first sub-block in a predetermined picture;
determining a motion vector of a second sub-block in the current block, the motion vector of the second sub-block being determined based on a motion vector of a second sub-block in the predetermined picture; and
reconstructing the current block by using the motion vector of the first sub-block in the current block and the motion vector of the second sub-block in the current block,
wherein the first sub-block in the predetermined picture and the second sub-block in the predetermined picture are determined based on the divided temporal motion vector.
|