Method and device for sharing a candidate list
The present invention relates to a method and device for sharing a candidate list. A method of generating a merging candidate list for a predictive block may include: producing, on the basis of a coding block including a predictive block on which a parallel merging process is performed, at least one of a spatial merging candidate and a temporal merging candidate of the predictive block; and generating a single merging candidate list for the coding block on the basis of the produced merging candidate. Thus, it is possible to increase processing speeds for coding and decoding by performing inter-picture prediction in parallel on a plurality of predictive blocks.
1. A method for decoding a video signal comprising:
deriving, based on a position and a size of a first prediction block, a spatial merging candidate block relating to the first prediction block,
wherein when a size of a block indicated by parallel merge level information is equal to or greater than a first size and a size of a coding block which comprising the first prediction block is equal to a second size, the position of the first prediction block is set equal to the position of the coding block and the size of the first prediction block is set equal to the size of the coding block;
determining whether the spatial merging candidate block is available for inter prediction of the first prediction block;
generating a merging candidate list for the first prediction block based on an availability of the spatial merging candidate block; and
obtaining prediction samples of the first prediction block based the merging candidate list.
2. The method of claim 1 , wherein the parallel merge level information represents information on the size of the block to which parallel merge processing is applicable.
3. The method of claim 1 , wherein the first size and the second size are 8×8.
4. The method of claim 1 , wherein the merging candidate list for the first prediction block is same as a merging candidate list for a second prediction block included in the coding block with the first prediction block.
5. The method of claim 1 , wherein the availability of the spatial merging candidate block is determined based on whether the spatial merging candidate block is intra coded.