US 12,284,383 B2
System and method for combined inter and intra prediction
Xiaoyu Xiu, San Diego, CA (US); Yi-Wen Chen, San Diego, CA (US); and Xianglin Wang, San Diego, CA (US)
Assigned to BEIJING DAJIA INTERNET INFORMATION TECHNOLOGY CO., LTD., Beijing (CN)
Filed by BEIJING DAJIA INTERNET INFORMATION TECHNOLOGY CO., LTD., Beijing (CN)
Filed on Oct. 21, 2022, as Appl. No. 17/971,550.
Application 17/971,550 is a continuation of application No. 17/371,607, filed on Jul. 9, 2021, granted, now 11,523,131.
Application 17/371,607 is a continuation of application No. PCT/US2020/012826, filed on Jan. 9, 2020.
Claims priority of provisional application 62/790,421, filed on Jan. 9, 2019.
Prior Publication US 2023/0051193 A1, Feb. 16, 2023
Int. Cl. H04N 19/176 (2014.01); H04N 19/105 (2014.01); H04N 19/132 (2014.01); H04N 19/159 (2014.01); H04N 19/527 (2014.01)
CPC H04N 19/527 (2014.11) [H04N 19/105 (2014.11); H04N 19/132 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11)] 15 Claims
OG exemplary drawing
 
1. A method of video encoding, comprising:
obtaining a first reference picture and a second reference picture associated with a current coding block of a current picture, wherein the first reference picture is before the current picture and the second reference picture is after the current picture in time order;
obtaining a first prediction based on a first motion vector from the current coding block to a reference block in the first reference picture;
obtaining a second prediction based on a second motion vector from the current coding block to a reference block in the second reference picture; and
calculating a bi-prediction of the current coding block based on at least the first prediction and the second prediction, comprising: enabling a bidirectional optical flow (BDOF) in calculating the bi-prediction of the current coding block on a condition that a Combined Inter and Intra Prediction (CIIP) is not applied to calculate the bi-prediction of the current coding block, wherein the BDOF comprises:
calculating first horizontal gradient values

OG Complex Work Unit Math
and first vertical gradient values

OG Complex Work Unit Math
for prediction samples associated with the first prediction, and calculating second horizontal gradient values

OG Complex Work Unit Math
and second vertical gradient values

OG Complex Work Unit Math
for prediction samples associated with the second prediction, wherein I(0)(i,j) represents the prediction sample at sample location (i,j) associated with the first prediction, and I(1)(i,j) represents the prediction sample at sample location (i,j) associated with the second prediction; and
calculating the bi-prediction of the current coding block based on the first prediction, the second prediction, the first horizontal gradient values, the first vertical gradient values, the second horizontal gradient values, and the second vertical gradient values.