Patent ID: 11889072
Assignee: HANGZHOU HIKVISION DIGITAL TECHNOLOGY CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 19:
20. A non-transitory machine-readable storage medium storing machine-readable instructions that are executable by at least one processor to:
determine whether a current block satisfies specific conditions for enabling a geometric partitioning mode with triangular partition; and
in response to determining that the current block satisfies the specific conditions for enabling a geometric partitioning mode with triangular partition and that the geometric partitioning mode with triangular partition, perform operations comprising:
obtaining first target motion information and second target motion information of the current block, wherein the first target motion information is different from the second target motion information; and
performing an encoding process on the current block based on the first target motion information and the second target motion information;

wherein determining whether the current block satisfies the specific conditions for enabling the geometric partitioning mode with triangular partition comprises: determining whether a type of a current slice where the current block is located, a motion information mode of the current block, and size information of the current block satisfy the specific conditions;
wherein performing the encoding process on the current block based on the first target motion information and the second target motion information comprises: performing motion compensation on the current block based on the first target motion information and the second target motion information to obtain a prediction value of the current block;
wherein the prediction value of the current block at least comprises a prediction value of a first sub-block area, a prediction value of a second sub-block area, and a prediction value of a third sub-block area;
wherein the prediction value of the first sub-block area is obtained by performing motion compensation on the first sub-block area based on the first target motion information, the prediction value of the second sub-block area is obtained by performing motion compensation on the second sub-block area based on the second target motion information, and the prediction value of the third sub-block area is obtained by performing weighted compensation on the third sub-block area based on the first target motion information and the second target motion information; and
wherein the prediction value of the third sub-block area comprises prediction values of all sub-blocks in the third sub-block area, and each sub-block in the third sub-block area is a 1*1 pixel block,
wherein obtaining the prediction value of the third sub-block area by performing the weighted compensation on the third sub-block area based on the first target motion information and the second target motion information comprises:
for each sub-block in the third sub-block area,
determining a first prediction value of the sub-block based on the first target motion information;
determining a second prediction value of the sub-block based on the second target motion information; and
obtaining a weighted prediction value of the sub-block based on the first prediction value, a first weight coefficient corresponding to the first prediction value, the second prediction value, and a second weight coefficient corresponding to the second prediction value,
wherein the weighted prediction value of the sub-block is P1*a+P2*b when the first prediction value is P1, the second prediction value is P2, the first weight coefficient is a, and the second weight coefficient is b.