Triangle prediction with applied-block settings and motion storage settings
View Patent ↗A video coder receives data from a bitstream for a block of pixels to be encoded or decoded as a current block of a current picture of a video. Upon determining that an applied block setting of the current block satisfies a threshold condition, the video coder generates a first prediction based on a first motion information for a first prediction unit of the current block. The video coder generates a second prediction based on a second motion information for a second prediction unit of the current block. The video coder generates a third prediction based on the first and second motion information for an overlap prediction region that is defined based on a partitioning between the first prediction unit and the second prediction unit. The video coder encodes or decodes the current block by using the first, second, and third predictions.
1. A video decoding method comprising:
receiving to-be-decoded data from a bitstream for a block of pixels to be decoded as a current block of a current picture of a video;
upon determining that a set of applied block settings of the current block satisfies a threshold condition:
generating (i) a first prediction based on a first motion information for a first prediction region of the current block and (ii) a second prediction based on a second motion information for a second prediction region of the current block;
generating a third prediction based on the first and second motion information for an overlap prediction region that is defined based on a partitioning between the first prediction region and the second prediction region; and
decoding the current block by using the first, second, and third predictions to reconstruct the current block,
wherein the set of applied block settings satisfies the threshold condition when a width, a height, an area, or a long side to short side ratio of the current block is less than a threshold.
2. The video decoding method of claim 1 , wherein the third prediction is a weighted sum of the first prediction and a second prediction.
3. The video decoding method of claim 1 , wherein the partitioning is along a straight line bifurcating the current block.
4. The video decoding method of claim 3 , wherein the straight line is a diagonal line connecting two opposing vertices of the current block.
5. A video encoding method comprising:
receiving raw pixel data for a block of pixels to be encoded as a current block of a current picture of a video into a bitstream;
upon determining that a set of applied block settings of the current block satisfies a threshold condition:
generating (i) a first prediction based on a first motion information for a first prediction region of the current block and (ii) a second prediction based on a second motion information for a second prediction region of the current block;
generating a third prediction based on the first and second motion information for an overlap prediction region that is defined based on a partitioning between the first prediction region and the second prediction region; and
encoding the current block into the bitstream by using the first, second, and third predictions,
wherein the set of applied block settings satisfies the threshold condition when a width, a height, an area, or a long side to short side ratio of the current block is less than a threshold.
6. An electronic apparatus comprising:
a video decoder circuit configured to perform operations comprising:
receiving to-be-decoded data from a bitstream for a block of pixels to be decoded as a current block of a current picture of a video;
upon determining that a set of applied block settings of the current block satisfies a threshold condition:
generating (i) a first prediction based on a first motion information for a first prediction region of the current block and (ii) a second prediction based on a second motion information for a second prediction region of the current block;
generating a third prediction based on the first and second motion information for an overlap prediction region that is defined based on a partitioning between the first prediction region and the second prediction region; and
decoding the current block by using the first, second, and third predictions to reconstruct the current block,
wherein the set of applied block settings satisfies the threshold condition when a width, a height, an area, or a long side to short side ratio of the current block is less than a threshold.