US 11,924,406 B2
Method and apparatus for processing video signal on basis of history-based motion vector prediction
Jane Zhao, Seoul (KR); and Seunghwan Kim, Seoul (KR)
Assigned to LG ELECTRONICS INC., Seoul (KR)
Filed by LG ELECTRONICS INC., Seoul (KR)
Filed on Jul. 23, 2020, as Appl. No. 16/937,409.
Application 16/937,409 is a continuation of application No. PCT/KR2020/000071, filed on Jan. 2, 2020.
Claims priority of provisional application 62/787,364, filed on Jan. 1, 2019.
Prior Publication US 2020/0404254 A1, Dec. 24, 2020
Int. Cl. H04N 19/105 (2014.01); H04N 19/132 (2014.01); H04N 19/159 (2014.01); H04N 19/176 (2014.01)
CPC H04N 19/105 (2014.11) [H04N 19/132 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11)] 5 Claims
OG exemplary drawing
 
1. A method of processing video signals based on history based motion vector prediction, comprising:
configuring a merge candidate list based on a neighboring block to a current block, the merge candidate list including spatial merge candidates and a temporal merge candidate, the spatial merge candidates selected among a left neighboring block (A1), a bottom-left neighboring block (A0), a top-right neighboring block (B0), a top neighboring block (B1), and a top-left neighboring block (B2);
adding one or more history based merge candidates of the current block from a history based motion vector predictor candidate list to the merge candidate list based on that a number of merge candidates included in the merge candidate list is smaller than a first predetermined number;
adding a zero motion vector to the merge candidate list based on that the number of merge candidates included in the merge candidate list is smaller than a second predetermined number;
obtaining a merge index indicating a merge candidate used for inter prediction of the current block in the merge candidate list;
generating a prediction sample of the current block based on motion information of the merge candidate indicated by the merge index; and
updating the history based motion vector predictor candidate list based on the motion information,
wherein the step of adding the one or more history based merge candidates of the current block to the merge candidate comprises:
determining whether a specific spatial merge candidate included in the merge candidate list and at least one of a predetermined number of history based merge candidates included in the history based motion vector predictor candidate list have same motion information; and
adding the at least one of the history based merge candidates to the merge candidate list when it is determined that the specific spatial merge candidate and the at least one of the predetermined number of history based merge candidates have different motion information, and
wherein the specific spatial merge candidate is only a spatial candidate corresponding to the left neighboring block (A1) or the top neighboring block (B1), and the predetermined number is 2.