# US 11,910,000 B2 · Method and device for processing video signal on basis of inter prediction

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

- Number: US 11,910,000 B2
- Document ID: US11910000B2
- Status: Granted
- Kind: B2
- Application number: 18/197,624
- Filed: 2023-05-15
- Published: 2023-09-07
- Granted: 2024-02-20
- Earliest claimed: 2018-12-06
- Assignees: LG Electronics Inc.
- Applicants: LG Electronics Inc.
- Inventors: Jane Zhao; Seunghwan Kim
- Web page: https://patentgrep.com/patent/US11910000B2

## CPC

- H04N 19/51: Motion estimation or motion compensation
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/423: characterised by memory arrangements (H04N19/433 takes precedence)
- H04N 19/103: Selection of coding mode or of prediction mode
- 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/503: involving temporal prediction (adaptive coding with adaptive selection between spatial and temporal predictive coding H04N19/107; adaptive coding with adaptive selection among a plurality of temporal predictive coding modes H04N19/109)
- H04N 19/513: Processing of motion vectors
- H04N 19/52: by predictive encoding
- H04N 19/55: Motion estimation with spatial constraints, e.g. at image or region borders
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

The disclosure discloses a method for processing a video signal and an apparatus therefor. Specifically, the method of processing a video signal based on an inter prediction, comprising: configuring a merge list based on a neighboring block of a current block; adding a history based merge candidate included in a history based merge candidate list to the merge list when a number of a merge candidate included in the merge list is smaller than a first predetermined number; obtaining a merge index indicating a merge candidate used for an inter prediction of the current block within the merge list; and generating a prediction block of the current block based on motion information of a merge candidate indicated by the merge index, wherein a step of adding the history based merge candidate to the merge list comprises checking whether a second predetermined number of the history based merge candidate within the history based merge candidate list has the same motion information as the merge candidate included in the merge list.

## Claims

### Claim 1

A method for decoding a video signal by a device, comprising:
determining whether a merge mode is applied to a current block among a plurality of inter prediction modes, wherein the plurality of inter prediction modes include the merge mode and a Motion Vector Prediction (MVP) mode;
configuring, based on the determination that the merge mode is applied to the current block, a merge list based on a neighboring block of the current block;
adding a History based Motion Vector Predictor (HMVP) candidate included in a HMVP candidate list to the merge list until a number of a merge candidate included in the merge list is equal to a value being 1 subtracted from a maximum number of merge candidates, wherein the HMVP candidate represents motion information of the block coded prior to the current block;
adding a zero motion vector candidate to the merge list;
obtaining a merge index indicating a merge candidate used for an inter prediction of the current block within the merge list;
obtaining prediction samples of the current block based on motion information of the merge candidate indicated by the merge index; and
reconstructing the current block based on the prediction samples,
wherein a step of adding the HMVP candidate to the merge list comprises
checking whether a first number of the HMVP candidate within the HMVP candidate list has the same motion information as the merge candidate included in the merge list,
wherein the first number of the HMVP candidate is added to the merge list based on that it has motion information different with a predefined spatial merge candidate of merge candidates included in the merge list,
wherein the predefined spatial merge candidate includes at least one of a left block or an upper block neighboring to the current block, and
wherein the number of the predefined spatial merge candidates is less than the number of the spatial merge candidates included in the merge list.

### Claim 2 (depends on 1)

The method of claim 1,
wherein the step of adding the HMVP candidate comprises:
checking whether two history based merge candidates have the same motion information as merge candidates included in the merge list based on that there are three current merge candidates included in the merge list.

### Claim 3 (depends on 1)

The method of claim 1,
wherein the method further comprises
obtaining a merge flag from the video signal, wherein the merge flag represents whether motion parameters are inferred from the neighboring block of the current block.

### Claim 4

A method for encoding a video signal by a device, comprising:
determining whether a merge mode is applied to a current block among a plurality of inter prediction modes, wherein the plurality of inter prediction modes include the merge mode and a Motion Vector Prediction (MVP) mode;
generating a merge list based on a neighboring block of the current block;
adding a History based Motion Vector Predictor (HMVP) candidate included in a HMVP candidate list to the merge list until a number of a merge candidate included in the merge list is equal to a value being 1 subtracted from a maximum number of merge candidates, wherein the HMVP candidate represents motion information of the block coded prior to the current block;
generating a merge index indicating a merge candidate used for an inter prediction of the current block within the merge list;
generating prediction samples of the current block based on motion infoii iation of the merge candidate indicated by the merge index;
obtaining residual samples of the current block based on the prediction samples;
performing a transform on the residual samples to obtain transform coefficients; and
performing a quantization and an entropy-encoding for the transform coefficients,
wherein a step of adding the HMVP candidate to the merge list comprises
checking whether a first number of the HMVP candidate within the HMVP candidate list has the same motion information as the merge candidate included in the merge list,
wherein the first number of the HMVP candidate is added to the merge list based on that it has motion information different with a predefined spatial merge candidate of merge candidates included in the merge list,
wherein the predefined spatial merge candidate includes at least one of a left block or an upper block neighboring to the current block, and
wherein the number of the predefined spatial merge candidates is less than the number of the spatial merge candidates included in the merge list.

### Claim 5 (depends on 4)

The method of claim 4,
wherein the step of adding the HMVP candidate comprises:
checking whether two history based merge candidates have the same motion information as merge candidates included in the merge list based on that there are three current merge candidates included in the merge list.

### Claim 6 (depends on 4)

The method of claim 4,
wherein the method further comprises
generating a merge flag based on the determination that the merge mode is applied to the current block, wherein the merge flag represents whether motion parameters are inferred from the neighboring block of the current block.

### Claim 7

A transmission method of data for an image, the method comprising:
obtaining a bitstream for the image, wherein the bitstream is generated based on determining whether a merge mode is applied to a current block among a plurality of inter prediction modes, wherein the plurality of inter prediction modes include the merge mode and a Motion Vector Prediction (MVP) mode, generating a merge list based on a neighboring block of the current block, adding a History based Motion Vector Predictor (HMVP) candidate included in a HMVP candidate list to the merge list until a number of a merge candidate included in the merge list is equal to a value being 1 subtracted from a maximum number of merge candidates, wherein the HMVP candidate represents motion information of the block coded prior to the current block, generating a merge index indicating a merge candidate used for an inter prediction of the current block within the merge list, generating prediction samples of the current block based on motion information of the merge candidate indicated by the merge index, obtaining residual samples of the current block based on the prediction samples, performing a transform on the residual samples to obtain transform coefficients and performing a quantization and an entropy-encoding for the transform coefficients,
wherein a step of adding the HMVP candidate to the merge list comprises
checking whether a first number of the HMVP candidate within the HMVP candidate list has the same motion information as the merge candidate included in the merge list,
wherein the first number of the HMP candidate is added to the merge list based on that it has motion information different with a predefined spatial merge candidate of merge candidates included in the merge list,
wherein the predefined spatial merge candidate includes at least one of a left block or an upper block neighboring to the current block, and
wherein the number of the predefined spatial merge candidates is less than the number of the spatial merge candidates included in the merge list.
