Method and apparatus for processing video signal
The present invention is related to processing a video signal. A method for decoding a video according to the present invention may comprise checking a merge coding unit which is generated by merging a plurality of coding units neighboring each other based on an encoded syntax element, and decoding the checked merge coding unit, wherein a same motion vector is shared in the merge coding unit.
1. A method of decoding an image, comprising:
dividing, based on a tree-based division, a coding block to determine a current block, the tree-based division including at least one of a quad division, a binary division, or a triple division; and
decoding the current block based on intra prediction or inter prediction,
wherein the triple division is a division type of dividing a first coding block into three second coding blocks,
wherein one of the three second coding blocks has a size greater than a size of the other two of the three second coding blocks,
wherein the largest second coding block is located between the other two of the three second coding blocks,
wherein, with respect to the binary division for the at least one of the three second coding blocks, it is restricted so as not to be divided in a same division direction as a division direction of the triple division for the first coding block, and
wherein the restriction is applied only to the largest second coding block among the three second coding blocks.
2. The method of claim 1 , wherein a size of the largest second coding block is twice a size of the other two of the three second coding blocks.
3. The method of claim 1 , wherein at least one of the three second coding blocks to which the binary division is applied is further divided into two third coding blocks based on first information signaled from a bitstream, and
wherein the second information indicates whether the division direction is a vertical direction or a horizontal direction.
4. The method of claim 3 , wherein the current block is further divided, based on an additional binary division with asymmetric division, into two partitions.
5. The method of claim 4 , wherein a shape of the two partitions is determined based on second information indicating which one among the two partitions have a size greater than the other, and
wherein the second information is signaled from the bitstream.
6. The method of claim 4 , wherein the additional binary division is performed only when the current block is not divided into smaller coding blocks based on the tree-based division.
7. A method of encoding an image, comprising:
dividing, based on a tree-based division, a coding block to determine a current block, the tree-based division including at least one of a quad division, a binary division, or a triple division; and
encoding the current block based on intra prediction or inter prediction,
wherein the triple division is a division type of dividing a first coding block into three second coding blocks,
wherein one of the three second coding blocks has a size greater than a size of the other two of the three second coding blocks,
wherein the largest second coding block is located between the other two of the three second coding blocks,
wherein, with respect to the binary division for the at least one of the three second coding blocks, it is restricted so as not to be divided in a same division direction as a division direction of the triple division for the first coding block, and
wherein the restriction is applied only to the largest second coding block among the three second coding blocks.
8. A non-transitory computer-readable medium for storing data associated with an image signal, comprising:
a data stream stored in the non-transitory computer-readable medium, the data stream being encoded by an encoding method comprising:
dividing, based on a tree-based division, a coding block to determine a current block, the tree-based division including at least one of a quad division, a binary division, or a triple division; and
encoding the current block based on intra prediction or inter prediction,
wherein the triple division is a division type of dividing a first coding block into three second coding blocks,
wherein one of the three second coding blocks has a size greater than a size of the other two of the three second coding blocks,
wherein the largest second coding block is located between the other two of the three second coding blocks,
wherein, with respect to the binary division for the at least one of the three second coding blocks, it is restricted so as not to be divided in a same division direction as a division direction of the triple division for the first coding block, and
wherein the restriction is applied only to the largest second coding block among the three second coding blocks.