CPC H04N 19/159 (2014.11) [H04N 19/105 (2014.11); H04N 19/137 (2014.11); H04N 19/176 (2014.11)] | 11 Claims |
1. A method of decoding a video signal by an apparatus, comprising:
generating a first merge candidate list of a current block based on a plurality of spatial candidates including a bottom left corner neighboring spatial candidate, a left neighboring spatial candidate, a top right corner neighboring spatial candidate, a top neighboring spatial candidate and a top left corner neighboring spatial candidate, and a temporal candidate of the current block, the plurality of spatial candidates preceding the temporal candidate in the first merge candidate list;
generating a second merge candidate list by adding to the first merge candidate list a history-based candidate including motion information for a block decoded prior to the current block;
parsing a merge index indicating a merge candidate applied to the current block within the second merge candidate list;
generating a prediction block of the current block based on motion information of the merge candidate indicated by the merge index; and
generating a reconstructed block of the current block based on the prediction block,
wherein the generating of the second merge candidate list includes:
performing a pruning check whether the history based candidate has same motion information with the left neighboring spatial candidate and the top neighboring spatial candidate included in the first merge candidate list; and
adding the history-based candidate only when the pruning checking indicates that the history-based candidate does not have same motion information with the left neighboring spatial candidate and the top neighboring spatial candidate included in the first merge candidate list, and
wherein the pruning check is not performed for the bottom left corner neighboring spatial candidate, the top right corner neighboring spatial candidate and the top left corner neighboring spatial candidate included in the first merge candidate list.
|