US 12,238,331 B2
Bit-width control for bi-directional optical flow
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 Aug. 28, 2023, as Appl. No. 18/239,122.
Application 18/239,122 is a continuation of application No. 18/219,089, filed on Jul. 6, 2023, granted, now 12,137,244.
Application 18/219,089 is a continuation of application No. 17/726,523, filed on Apr. 21, 2022, granted, now 11,743,493.
Application 17/726,523 is a continuation of application No. 17/368,468, filed on Jul. 6, 2021, granted, now 11,388,436.
Application 17/368,468 is a continuation of application No. PCT/US2020/012338, filed on Jan. 6, 2020.
Claims priority of provisional application 62/788,898, filed on Jan. 6, 2019.
Prior Publication US 2023/0403408 A1, Dec. 14, 2023
Int. Cl. H04N 19/577 (2014.01); H04N 19/103 (2014.01); H04N 19/176 (2014.01); H04N 19/513 (2014.01)
CPC H04N 19/577 (2014.11) [H04N 19/103 (2014.11); H04N 19/176 (2014.11); H04N 19/513 (2014.11)] 18 Claims
OG exemplary drawing
 
1. A method for video encoding, comprising:
obtaining a current block from a current picture;
determining, for the current block, a first prediction corresponding to a first reference picture, wherein the first reference picture is displayed before the current picture;
determining, for the current block, a second prediction corresponding to a second reference picture, wherein the second reference picture is displayed after the current picture;
calculating first gradient values for the first prediction and second gradient values for the second prediction;
calculating a respective motion refinement of each subblock of the current block by minimizing a difference between the first prediction and the second prediction based on a motion refinement threshold and a plurality of internal parameters representing different summation characters of the first prediction and the second prediction;
calculating a final bi-prediction of the current block based on the first prediction, the second prediction, respective motion refinements, the first gradient values and the second gradient values, wherein calculating the final bi-prediction of the current block comprises:
calculating the final bi-prediction of the current block based further on a fourth right shift value for combining the first prediction and the second prediction; and
generating a video bitstream based on the final bi-prediction.