CPC H04N 19/159 (2014.11) [H04N 19/105 (2014.11); H04N 19/137 (2014.11); H04N 19/176 (2014.11); H04N 19/52 (2014.11)] | 7 Claims |
1. A method of decoding a video signal, comprising:
generating a merge candidate list including at least one of a spatial neighboring block and a temporal neighboring block of a current block, and including candidates equal to or less than a maximum number of merge candidates, based on that a merge mode is applied to the current block;
obtaining a merge index indicating a candidate to be used for an inter prediction of the current block in the merge candidate list;
deriving motion vectors of each subblocks included in the current block based on motion vectors of the candidate indicated by the merge index;
generating a prediction block of the current block based on the motion vectors of each subblocks;
performing inverse-transform on transformed coefficients of the current block to generate a residual block of the current block; and
generating a reconstructed block of the current block based on the prediction block and the residual block,
wherein the step of generating the merge candidate list comprises:
based on that a width and a height of the current block are respectively greater than or equal to a pre-defined minimum size, adding the temporal neighboring block which is located in a collocated picture of the current block and specified by a motion vector of the spatial neighboring block to the merge candidate list,
wherein based on that the width or the height of the current block is smaller than the pre-defined minimum size, the temporal neighboring block is not included in the merge candidate list, and
wherein based on that the merge index indicates the temporal neighboring block as the candidate, the motion vectors of the each subblocks included in the current block are derived based on motion vectors of subblocks included in the temporal neighboring block.
|