摘要 |
An apparatus for decoding a video, the apparatus comprising a processor which is configured for obtaining, from a bitstream, a skip flag for a coding unit which indicates whether a encoding mode for the coding unit is a skip mode. When the skip flag indicates that the encoding mode for the coding unit is the skip mode, obtaining, from the bitstream, a merge index indicating a block among a candidate block group. When the skip flag indicates that the encoding mode for the coding unit is not a skip mode, obtaining, from the bitstream, information about a partition type and merge information for a partition. The candidate block group includes at least one block among neighboring blocks of the coding unit. The neighboring blocks include a lower-left block which is diagonally adjacent to a lower-left corner of the coding unit. When the information about a partition type is obtained from the bitstream, at least one partition including the partition is determined from the coding unit based on the information about a partition type, The merge information for the partition indicates whether the partition among the at least one partition is encoded on the merge mode. |