US 12,284,379 B2
Method and apparatus for video coding
Guichun Li, Milpitas, CA (US); Xiang Li, Saratoga, CA (US); Xiaozhong Xu, State College, PA (US); and Shan Liu, San Jose, CA (US)
Assigned to TENCENT AMERICA LLC, Palo Alto, CA (US)
Filed by TENCENT AMERICA LLC, Palo Alto, CA (US)
Filed on Mar. 29, 2022, as Appl. No. 17/707,881.
Application 17/707,881 is a continuation of application No. 16/441,879, filed on Jun. 14, 2019, granted, now 11,394,989.
Claims priority of provisional application 62/777,593, filed on Dec. 10, 2018.
Prior Publication US 2022/0232243 A1, Jul. 21, 2022
This patent is subject to a terminal disclaimer.
Int. Cl. H04N 19/513 (2014.01); H04N 19/176 (2014.01); H04N 19/96 (2014.01)
CPC H04N 19/513 (2014.11) [H04N 19/176 (2014.11); H04N 19/96 (2014.11)] 18 Claims
OG exemplary drawing
 
1. A method for video encoding in an encoder, the method comprising:
encoding a first block in a picture;
when the first block is encoded according to bi-directional prediction,
adding motion information of the first block and a first bi-prediction weight index of the first block as a History-based Motion Vector Prediction (HMVP) candidate to an HMVP list, the first bi-prediction weight index indicating bi-prediction weights used for performing the bi-directional prediction for the first block;
when the first block is encoded according to uni-directional prediction,
the first bi-prediction weight index indicates equal bi-prediction weights;
encoding a second block in the picture based on a plurality of candidates that includes the HMVP candidate; and
when the second block is encoded according to the bi-directional prediction,
storing the motion information of the HMVP candidate as a merge candidate, and
setting a second bi-prediction weight index to the first bi-prediction weight index.