US 11,991,386 B2
Methods and apparatus of video coding using history-based motion vector prediction
Yi-Wen Chen, San Diego, CA (US); and Xianglin Wang, San Diego, CA (US)
Assigned to BEIJING DAJIA INTERENT INFORMATION TECHNOLOGY CO., LTD., Beijing (CN)
Filed by BEIJING DAJIA INTERNET INFORMATION TECHNOLOGY CO., LTD., Beijing (CN)
Filed on Jun. 29, 2023, as Appl. No. 18/216,129.
Application 18/216,129 is a continuation of application No. 18/075,309, filed on Dec. 5, 2022, granted, now 11,792,422.
Application 18/075,309 is a continuation of application No. 17/149,669, filed on Jan. 14, 2021, granted, now 11,575,929, issued on Feb. 7, 2023.
Application 17/149,669 is a continuation of application No. PCT/US2019/041923, filed on Jul. 16, 2019.
Claims priority of provisional application 62/700,106, filed on Jul. 18, 2018.
Prior Publication US 2023/0345039 A1, Oct. 26, 2023
This patent is subject to a terminal disclaimer.
Int. Cl. H04N 19/52 (2014.01); H04N 19/184 (2014.01); H04N 19/96 (2014.01)
CPC H04N 19/52 (2014.11) [H04N 19/184 (2014.11); H04N 19/96 (2014.11)] 20 Claims
OG exemplary drawing
 
1. A decoding method, comprising:
resetting a history-based motion vector predictor (HMVP) table before decoding a first CU of a current row of CTUs of a current picture being decoded;
decoding the current row of CTUs, comprising:
maintaining a plurality of motion vector predictors in the HMVP table, each motion vector predictor in the HMVP table being used for decoding at least one CU of the current row of CTUs;
for a current CU of the current row of CTUs to be decoded:
constructing a motion vector candidate list in accordance with a prediction mode and based, at least in part, on the plurality of motion vector predictors in the HMVP table;
selecting, from the motion vector candidate list, a motion vector predictor;
determining a motion vector based, at least in part, on the prediction mode and the selected motion vector predictor for decoding the current CU; and
updating the HMVP table based on the determined motion vector,
wherein the updating the HMVP table based on the determined motion vector includes:
comparing the plurality of motion vector predictors in the HMVP table with the determined motion vector;
in accordance with a comparison result that one of the plurality of motion vector predictors in the HMVP table is identical to the determined motion vector:
removing the one identical motion vector predictor from the HMVP table;
moving each of the motion vector predictors after the removed motion vector predictor forward in the HMVP table; and
adding the determined motion vector as a newest one to the HMVP table, and
wherein the prediction mode is an inter mode, the motion vector candidate list has a fixed length of two, and the constructing the motion vector candidate list comprises:
in a case where history-based motion vector predictors from the HMVP table are selected to construct the motion vector candidate list, adding up to two history-based motion vector predictors from the HMVP table to the motion vector candidate list.