摘要 |
Provided is a method checks availability of spatial merge candidates and a temporal merge candidate, constructs a merge candidate list using available spatial and temporal merge candidates, and adds one or more candidates if the number of available spatial and temporal merge candidates is smaller than a predetermined number. The spatial merge candidate is motion information of a spatial merge candidate block, the spatial merge candidate block is a left block, an above block, an above-right block, a left-below block or an above-left block of the current block, and if the current block is a second prediction unit partitioned by asymmetric partitioning, the spatial merge candidate corresponding to a first prediction unit partitioned by the asymmetric partitioning is set as unavailable. Therefore, the coding efficiency of motion information is improved by removing unavailable merge candidates and adding new merge candidates from the merge list. |