Video signal encoding/decoding method and device therefor
A video decoding method according to the present invention may comprise: a step for determining whether to divide a current block into a plurality of sub-blocks; a step for determining an intra prediction mode for the current block; and a step for performing intra prediction for each sub-block on the basis of the intra prediction mode, when the current block is divided into the plurality of sub-blocks.
1 . A method of encoding a video, the method comprising:
determining a partitioning type of a coding block associated with the video, wherein the partitioning type is selected from among a plurality of partitioning type candidates;
encoding index information representing the partitioning type;
separating the coding block into a first prediction unit and a second prediction unit based on the determined partitioning type;
determining motion information of each of the first prediction unit and the second prediction unit;
determining prediction samples for the first prediction unit and the second prediction unit based on the motion information; and
encoding the video based on the prediction samples.
2 . The method of claim 1 , wherein the plurality of partitioning type candidates comprises a horizontal partitioning type.
3 . The method of claim 1 , wherein the plurality of partitioning type candidates comprises a vertical partitioning type.
4 . A system comprising:
one or more processors; and
memory storing instructions that when executed by the one or more processors, cause the one or more processors to perform operations comprising:
determining a partitioning type of a coding block associated with a video, wherein the partitioning type is selected from among a plurality of partitioning type candidates;
encoding index information representing the partitioning type;
separating the coding block into a first prediction unit and a second prediction unit based on the determined partitioning type;
determining motion information of each of the first prediction unit and the second prediction unit;
determining prediction samples for the first prediction unit and the second prediction unit based on the motion information; and
encoding the video based on the prediction samples.
5 . The system of claim 4 , wherein the plurality of partitioning type candidates comprises a horizontal partitioning type.
6 . The system of claim 4 , wherein the plurality of partitioning type candidates comprises a vertical partitioning type.
7 . One or more non-transitory, computer-readable storage media having instructions stored thereon, that when executed by one or more processors, cause the one or more processors to perform operations comprising:
determining a partitioning type of a coding block associated with a video, wherein the partitioning type is selected from among a plurality of partitioning type candidates;
encoding index information representing the partitioning type;
separating the coding block into a first prediction unit and a second prediction unit based on the determined partitioning type;
determining motion information of each of the first prediction unit and the second prediction unit;
determining prediction samples for the first prediction unit and the second prediction unit based on the motion information; and
encoding the video based on the prediction samples.
8 . The one or more non-transitory, computer-readable storage media of claim 7 , wherein the plurality of partitioning type candidates comprises a horizontal partitioning type.
9 . The one or more non-transitory, computer-readable storage media of claim 7 , wherein the plurality of partitioning type candidates comprises a vertical partitioning type.