Method for encoding/decoding video signal, and apparatus therefor
A method for decoding a video, according to the present invention, may comprise the steps of: parsing a first flag indicating whether inter prediction on the basis of a merge mode is applied to a current block; if the first flag is true, parsing a second flag indicating whether a regular merge mode or a merge offset encoding mode is applied to the current block; and if the second flag is true, parsing a third flag indicating whether the merge offset encoding mode is applied to the current block.
1 . A method of decoding video content, the method comprising:
accessing, by one or more computer processors, a bitstream representing the video content; and
decoding, by the one or more computer processors, the bitstream, wherein decoding the bitstream comprises:
determining a coding unit of the video content based on the bitstream,
determining whether a prediction unit partitioning is applied to the coding unit, wherein determining whether the prediction unit partitioning is applied to the coding unit comprises:
determining whether a maximum number of merge candidates included in a merge condition list is greater than or equal to 2, and
decoding the bitstream based on the determination whether the prediction unit partitioning is applied to the coding unit.
2 . The method of claim 1 , wherein determining whether the prediction unit partitioning is applied to the coding unit comprises:
determining that the maximum number of merge candidates included in the merge condition list is greater than or equal to 2, and
responsive to determining that the maximum number of merge candidates included in the merge condition list is greater than or equal to 2, determining that prediction unit partitioning may be applied to the coding unit.
3 . The method of claim 1 , wherein determining whether the prediction unit partitioning is applied to the coding unit comprises:
determining that the maximum number of merge candidates included in the merge condition list is not greater than or equal to 2, and
responsive to determining that the maximum number of merge candidates included in the merge condition list is not greater than or equal to 2, determining that prediction unit partitioning is not applied to the coding unit.
4 . A system comprising:
one or more processors; and
one or more non-transitory computer readable media storing instructions that, when executed by the one or more processors, cause the one or more processors to perform operations comprising:
accessing a bitstream representing video content; and
decoding the bitstream, wherein decoding the bitstream comprises:
determining a coding unit of the video content based on the bitstream,
determining whether a prediction unit partitioning is applied to the coding unit, wherein determining whether the prediction unit partitioning is applied to the coding unit comprises:
determining whether a maximum number of merge candidates included in a merge condition list is greater than or equal to 2, and
decoding the bitstream based on the determination whether the prediction unit partitioning is applied to the coding unit.
5 . The system of claim 4 , wherein determining whether the prediction unit partitioning is applied to the coding unit comprises:
determining that the maximum number of merge candidates included in the merge condition list is greater than or equal to 2, and
responsive to determining that the maximum number of merge candidates included in the merge condition list is greater than or equal to 2, determining that prediction unit partitioning may be applied to the coding unit.
6 . The system of claim 4 , wherein determining whether the prediction unit partitioning is applied to the coding unit comprises:
determining that the maximum number of merge candidates included in the merge condition list is not greater than or equal to 2, and
responsive to determining that the maximum number of merge candidates included in the merge condition list is not greater than or equal to 2, determining that prediction unit partitioning is not applied to the coding unit.
7 . One or more non-transitory computer readable media storing instructions that, when executed by one or more processors, cause the one or more processors to perform operations comprising:
obtaining one or more spatial merge candidates
accessing a bitstream representing video content; and
decoding the bitstream, wherein decoding the bitstream comprises:
accessing a bitstream representing video content; and
decoding the bitstream, wherein decoding the bitstream comprises:
determining a coding unit of the video content based on the bitstream,
determining whether a prediction unit partitioning is applied to the coding unit, wherein determining whether the prediction unit partitioning is applied to the coding unit comprises:
determining whether a maximum number of merge candidates included in a merge condition list is greater than or equal to 2, and
decoding the bitstream based on the determination whether the prediction unit partitioning is applied to the coding unit.
8 . The one or more non-transitory computer readable media of claim 7 , wherein determining whether the prediction unit partitioning is applied to the coding unit comprises:
determining that the maximum number of merge candidates included in the merge condition list is greater than or equal to 2, and
responsive to determining that the maximum number of merge candidates included in the merge condition list is greater than or equal to 2, determining that prediction unit partitioning may be applied to the coding unit.
9 . The one or more non-transitory computer readable media of claim 7 , wherein determining whether the prediction unit partitioning is applied to the coding unit comprises:
determining that the maximum number of merge candidates included in the merge condition list is not greater than or equal to 2, and
responsive to determining that the maximum number of merge candidates included in the merge condition list is not greater than or equal to 2, determining that prediction unit partitioning is not applied to the coding unit.