# US 2020/0404254 A1 · Method and apparatus for processing video signal on basis of history-based motion vector prediction

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2020/0404254 A1
- Document ID: US20200404254A1
- Status: Published application
- Kind: A1
- Application number: 16/937,409
- Filed: 2020-07-23
- Published: 2020-12-24
- Earliest claimed: 2019-01-01
- Assignees: LG Electronics Inc.
- Applicants: LG Electronics Inc.
- Inventors: Jane ZHAO; Seunghwan KIM
- Web page: https://patentgrep.com/patent/US20200404254A1

## CPC

- H04N 19/105: Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
- H04N 19/52: by predictive encoding
- H04N 19/11: among a plurality of spatial predictive coding modes
- H04N 19/132: Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
- H04N 19/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 19/593: involving spatial prediction techniques
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

The disclosure discloses a method for processing video signals and an apparatus therefor. Specifically, the 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; adding a history based merge candidate of the current block to the merge candidate list when 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 when 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 a history based merge candidate list based on the motion information.

## Claims

### Claim 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;
adding a history based merge candidate of the current block 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 a history based merge candidate list based on the motion information,
wherein the history based merge candidate is added to the merge candidate list based on that the history based merge candidate includes motion information which is not identical to motion information of a predefined merge candidate among merge candidates included in the merge candidate list.

### Claim 2 (depends on 1)

The method of claim 1, wherein the history based merge candidate list is defined to have a size which is determined based on a maximum number of the mum merge candidates in the merge candidate list.

### Claim 3 (depends on 1)

The method of claim 1, wherein the history based merge candidate list is defined to have a size same as a value obtained by subtracting one from a maximum number of the mum merge candidates in the merge candidate list.

### Claim 4 (depends on 1)

The method of claim 1, wherein a size of the history based merge candidate list is defined as 5.

### Claim 5 (depends on 1)

The method of claim 1, wherein the history based merge candidate is added to the merge candidate list based on that the history based merge candidate includes motion information different from motion information of a specific number of predefined merge candidates among merge candidates included in the merge candidate list.

### Claim 6 (depends on 1)

The method of claim 1, wherein the history based merge candidate is added to the merge candidate list based on that the history based merge candidate includes motion information different from motion information of specific spatial merge candidates included in the merge candidate list.

### Claim 7 (depends on 6)

The method of claim 6, wherein the history based merge candidate is derived from a predetermined number of candidates within the history based merge candidate list.

### Claim 8

An apparatus of processing video signals based on inter prediction, comprising:
a memory configured to storing the video signals; and
a processor combined to the memory,
wherein the processor is configured for:
configuring a merge candidate list based on a neighboring block to a current block;
adding a history based merge candidate of the current block 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 a history based merge candidate list based on the motion information,
wherein the history based merge candidate is added to the merge candidate list based on that the history based merge candidate includes motion information which is not identical to motion information of a predefined merge candidate among merge candidates included in the merge candidate list.

### Claim 9 (depends on 8)

The apparatus of claim 8, wherein the history based merge candidate list is defined to have a size which is determined based on a maximum number of the mum merge candidates in the merge candidate list.

### Claim 10 (depends on 8)

The apparatus of claim 8, wherein the history based merge candidate list is defined to have a size same as a value obtained by subtracting one from a maximum number of the mum merge candidates in the merge candidate list.

### Claim 11 (depends on 8)

The apparatus of claim 8, wherein a size of the history based merge candidate list is defined as 5.

### Claim 12 (depends on 8)

The apparatus of claim 8, wherein the history based merge candidate is added to the merge candidate list based on that the history based merge candidate includes motion information different from motion information of a specific number of predefined merge candidates among merge candidates included in the merge candidate list.

### Claim 13 (depends on 1)

The apparatus of claim 1, wherein the history based merge candidate is added to the merge candidate list based on that the history based merge candidate includes motion information different from motion information of specific spatial merge candidates included in the merge candidate list.

### Claim 14 (depends on 13)

The apparatus of claim 13, wherein the history based merge candidate is derived from a predetermined number of candidates within the history based merge candidate list.
