METHOD, DEVICE, AND SYSTEM FOR DETERMINING PREDICTION WEIGHT FOR MERGE MODE
The present disclosure provides systems, devices, and methods for determining prediction weight for sub-block. One exemplary method comprises: partitioning a coding unit into a plurality of sub-blocks; determining a weight of a sub-block of the plurality of sub-blocks based on weights of control points, wherein the control points are neighboring corners of the coding unit; and bi-predicting the sub-block based on the determined weight
1 . A method for processing video data, comprising:
partitioning a coding unit into a plurality of sub-blocks, wherein each subblock has a sub-block motion vector;
determining a weight of a sub-block of the plurality of sub-blocks based on a weight of a top-left control point of the coding unit, wherein the top-left control point is a top-left neighboring corner of the coding unit; and
bi-predicting the sub-block based on the weight of the sub-block.
2 . The method according to claim 1 , wherein the coding unit is partitioned into two sub-blocks.
3 . The method according to claim 2 , wherein the two sub-blocks are horizontally partitioned.
4 . The method according to claim 2 , wherein the two sub-blocks are vertically partitioned.
5 . The method according to claim 1 , wherein the coding unit is partitioned into four sub-blocks.
6 . The method according to claim 1 , wherein determining the weight of the sub-block of the plurality of sub-blocks based on the weight of a top-left control point of the coding unit further comprises:
setting the weight of a top-left control point of the coding unit as the weight of the sub-block of the plurality of sub-blocks.
7 . The method according to claim 1 , further comprising:
encoding the coding unit into a bitstream.
8 . The method according to claim 1 , wherein before partitioning the coding unit into a plurality of sub-blocks, the method further comprises:
decoding the coding unit from a bitstream.
9 . A apparatus for processing video data, comprising:
a memory storing instructions; and
one or more processors configured to execute the instructions to cause the apparatus to perform operations comprising:
partitioning a coding unit into a plurality of sub-blocks, wherein each subblock has a sub-block motion vector;
determining a weight of a sub-block of the plurality of sub-blocks based on a weight of a top-left control point of the coding unit, wherein the top-left control point is a top-left neighboring corner of the coding unit; and
bi-predicting the sub-block based on the weight of the sub-block.
10 . The apparatus according to claim 9 , wherein the coding unit is partitioned into two sub-blocks.
11 . The apparatus according to claim 10 , wherein the two sub-blocks are horizontally partitioned.
12 . The apparatus according to claim 10 , wherein the two sub-blocks are vertically partitioned.
13 . The apparatus according to claim 9 , wherein the coding unit is partitioned into four sub-blocks.
14 . The apparatus according to claim 9 , wherein determining the weight of the sub-block of the plurality of sub-blocks based on the weight of a top-left control point of the coding unit further comprises:
setting the weight of a top-left control point of the coding unit as the weight of the sub-block of the plurality of sub-blocks.
15 . A non-transitory computer readable storage medium storing a bitstream of video data, the non-transitory computer readable storage medium being part of a computing device configured to execute a set of instructions to cause the computing device to decode the bitstream for processing according to operations comprising:
partitioning a coding unit into a plurality of sub-blocks, wherein each subblock has a sub-block motion vector;
determining a weight of a sub-block of the plurality of sub-blocks based on a weight of a top-left control point of the coding unit, wherein the top-left control point is a top-left neighboring corner of the coding unit; and
bi-predicting the sub-block based on the weight of the sub-block.
16 . The non-transitory computer readable storage medium according to claim 15 , wherein the coding unit is partitioned into two sub-blocks.
17 . The non-transitory computer readable storage medium according to claim 16 , wherein the two sub-blocks are horizontally partitioned.
18 . The non-transitory computer readable storage medium according to claim 16 , wherein the two sub-blocks are vertically partitioned.
19 . The non-transitory computer readable storage medium according to claim 15 , wherein the coding unit is partitioned into four sub-blocks.
20 . The non-transitory computer readable storage medium according to claim 15 , wherein determining the weight of the sub-block of the plurality of sub-blocks based on the weight of a top-left control point of the coding unit further comprises:
setting the weight of a top-left control point of the coding unit as the weight of the sub-block of the plurality of sub-blocks.