# US 2022/0046273 A1 · Simplification 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 2022/0046273 A1
- Document ID: US20220046273A1
- Status: Published application
- Kind: A1
- Application number: 17/509,947
- Filed: 2021-10-25
- Published: 2022-02-10
- Earliest claimed: 2018-11-27
- Assignees: QUALCOMM Incorporated
- Applicants: QUALCOMM Incorporated
- Inventors: Yu HAN; Wei-Jung Chien; Han Huang; Marta Karczewicz
- Web page: https://patentgrep.com/patent/US20220046273A1

## CPC

- H04N 19/513: Processing of motion vectors
- H04N 19/52: by predictive encoding
- 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/139: Analysis of motion vectors, e.g. their magnitude, direction, variance or reliability
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/43: Hardware specially adapted for motion estimation or compensation
- H04N 19/436: using parallelised computational arrangements
- H04N 19/56: Motion estimation with initialisation of the vector search, e.g. estimating a good candidate to initiate a search
- H04N 19/58: Motion compensation with long-term prediction, i.e. the reference frame for a current frame not being the temporally closest one (H04N19/23 takes precedence)
- H04N 19/583: Motion compensation with overlapping blocks
- H04N 19/42: characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation (H04N19/635 takes precedence)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method of coding video data, including constructing a history-based motion vector prediction (HMVP) candidate history table that includes motion vector information of previously coded blocks that extend beyond adjacent neighboring blocks of a current block, constructing a motion vector predictor list, and adding one or more HMVP candidates from the HMVP candidate history table to the motion vector predictor list. Adding the one or more HMVP candidates from the HMVP candidate history table comprises comparing a first HMVP candidate in the HMVP candidate history table to two entries in the motion vector predictor list and no other entries, and adding the first HMVP candidate to the motion vector predictor list when the first HMVP candidate is different than both of the two entries in the motion vector predictor list. The method also includes coding the current block of video data using the motion vector predictor list.

## Claims

### Claim 1

A method of coding video data, the method comprising:
constructing a history-based motion vector prediction (HMVP) candidate history table that includes motion vector information of previously coded blocks that extend beyond adjacent neighboring blocks of a current block of the video data;
constructing a motion vector predictor list;
adding a first subset of one or more HMVP candidates from the HMVP candidate history table to the motion vector predictor list, wherein adding the first subset of one or more HMVP candidates from the HMVP candidate history table comprises:
comparing a first HMVP candidate from the first subset from the HMVP candidate history table to two entries in the motion vector predictor list and no other entries in the motion vector predictor list, wherein the two entries in the motion vector predictor list comprise an entry for a left neighboring block of the current block and an entry for an above neighboring block of the current block; and
adding the first HMVP candidate to the motion vector predictor list when the first HMVP candidate is different than both of the two entries in the motion vector predictor list; and
coding the current block of video data using the motion vector predictor list.

### Claim 2 (depends on 1)

The method of claim 1, wherein adding the first subset of one or more HMVP candidates further comprises:
comparing a second HMVP candidate from the first subset from the HMVP candidate history table to the two entries in the motion vector predictor list and no other entries in the motion vector predictor list; and
adding the second HMVP candidate to the motion vector predictor list when the second HMVP candidate is different than both of the two entries in the motion vector predictor list.

### Claim 3 (depends on 1)

The method of claim 1, wherein the adding the first subset of the one or more HMVP candidates comprises adding the first subset of the one or more HMVP candidates for the current block that is coded in one of a merge mode, an advanced motion vector prediction (AMVP) mode, or an intra block copy (IBC) merge mode.

### Claim 4 (depends on 1)

The method of claim 1, wherein constructing the motion vector predictor list comprises constructing the motion vector predictor list with motion information of one or more spatially neighboring blocks or collocated blocks.

### Claim 5 (depends on 1)

The method of claim 1, wherein coding the current block comprises decoding the current block, and wherein decoding the current block comprises:
retrieving motion vector information from an entry of the motion vector predictor list;
determining a motion vector for the current block based on the retrieved motion vector information;
determining a prediction block based on the motion vector; and
adding the prediction block to received residual information indicative of a difference between the prediction block and the current block to reconstruct the current block.

### Claim 6 (depends on 1)

The method of claim 1, wherein coding the current block comprises encoding the current block, and wherein encoding the current block comprises:
determining a motion vector for the current block used for identifying a prediction block;
signaling information indicative of an entry into the motion vector predictor list based on the determined motion vector for the current block; and
signaling residual information indicative of a difference between the prediction block and the current block.

### Claim 7

A device for coding video data, the device comprising:
memory configured to store:
a history-based motion vector prediction (HMVP) candidate history table that includes motion vector information of previously coded blocks that extend beyond adjacent neighboring blocks of a current block of the video data, and a motion vector predictor list; and
processing circuitry configured to:
construct the HMVP candidate history table for storage in the memory;
construct the motion vector predictor list for storage in the memory;
add a first subset of one or more HMVP candidates from the HMVP candidate history table to the motion vector predictor list, wherein to add the first subset of one or more HMVP candidates from the HMVP candidate history table, the processing circuitry is configured to:
compare a first HMVP candidate from the first subset from the HMVP candidate history table to two entries in the motion vector predictor list and no other entries in the motion vector predictor list, wherein the two entries in the motion vector predictor list comprise an entry for a left neighboring block of the current block and an entry for an above neighboring block of the current block; and
add the first HMVP candidate to the motion vector predictor list when the first HMVP candidate is different than both of the two entries in the motion vector predictor list; and
code the current block of video data using the motion vector predictor list stored in the memory.

### Claim 8 (depends on 7)

The device of claim 7, wherein to add the first subset of one or more HMVP candidates, the processing circuitry is configured to:
compare a second HMVP candidate from the first subset from the HMVP candidate history table to the two entries in the motion vector predictor list and no other entries in the motion vector predictor list; and
add the second HMVP candidate to the motion vector predictor list when the second HMVP candidate is different than both of the two entries in the motion vector predictor list.

### Claim 9 (depends on 7)

The device of claim 7, wherein to add the first subset of the one or more HMVP candidates, the processing circuitry is configured to add the first subset of the one or more HMVP candidates for the current block that is coded in one of a merge mode, an advanced motion vector prediction (AMVP) mode, or an intra block copy (IBC) merge mode.

### Claim 10 (depends on 7)

The device of claim 7, wherein to construct the motion vector predictor list, the processing circuitry is configured to construct the motion vector predictor list with motion information of one or more spatially neighboring blocks or collocated blocks.

### Claim 11 (depends on 7)

The device of claim 7, wherein to code the current block, the processing circuitry is configured to decode the current block, and wherein to decode the current block, the processing circuitry is configured to:
retrieve motion vector information from an entry of the motion vector predictor list;
determine a motion vector for the current block based on the retrieved motion vector information;
determine a prediction block based on the motion vector; and
add the prediction block to received residual information indicative of a difference between the prediction block and the current block to reconstruct the current block.

### Claim 12 (depends on 7)

The device of claim 7, wherein to code the current block, the processing circuitry is configured to encode the current block, and wherein to encode the current block, the processing circuitry is configured to:
determine a motion vector for the current block used for identifying a prediction block;
signal information indicative of an entry into the motion vector predictor list based on the determined motion vector for the current block; and
signal residual information indicative of a difference between the prediction block and the current block.

### Claim 13 (depends on 7)

The device of claim 7, wherein the device is a wireless communication device.

### Claim 14

A non-transitory computer-readable storage medium storing instructions thereon that when executed cause one or more processors to:
construct a history-based motion vector prediction (HMVP) candidate history table that includes motion vector information of previously coded blocks that extend beyond adjacent neighboring blocks of a current block of the video data;
construct a motion vector predictor list;
add a first subset of one or more HMVP candidates from the HMVP candidate history table to the motion vector predictor list, wherein the instructions that cause the one or more processors to add the first subset of one or more HMVP candidates from the HMVP candidate history table comprise instructions that cause the one or more processors to:
compare a first HMVP candidate from the first subset from the HMVP candidate history table to two entries in the motion vector predictor list and no other entries in the motion vector predictor list, wherein the two entries in the motion vector predictor list comprise an entry for a left neighboring block of the current block and an entry for an above neighboring block of the current block; and
add the first HMVP candidate to the motion vector predictor list when the first HMVP candidate is different than both of the two entries in the motion vector predictor list; and
code the current block of video data using the motion vector predictor list.

### Claim 15 (depends on 14)

The computer-readable storage medium of claim 14, wherein the instructions that cause the one or more processors to add the first subset of one or more HMVP candidates comprise instructions that cause the one or more processors to:
compare a second HMVP candidate from the first subset from the HMVP candidate history table to the two entries in the motion vector predictor list and no other entries in the motion vector predictor list; and
add the second HMVP candidate to the motion vector predictor list when the second HMVP candidate is different than both of the two entries in the motion vector predictor list.

### Claim 16 (depends on 14)

The computer-readable storage medium of claim 14, wherein the instructions that cause the one or more processors to add the first subset of the one or more HMVP candidates comprise instructions that cause the one or more processors to add the first subset of the one or more HMVP candidates for the current block that is coded in one of a merge mode, an advanced motion vector prediction (AMVP) mode, or an intra block copy (IBC) merge mode.

### Claim 17 (depends on 14)

The computer-readable storage medium of claim 14, wherein the instructions that cause the one or more processors to construct the motion vector predictor list comprise instructions that cause the one or more processors to construct the motion vector predictor list with motion information of one or more spatially neighboring blocks or collocated blocks.

### Claim 18 (depends on 14)

The computer-readable storage medium of claim 14, wherein the instructions that cause the one or more processors to code the current block comprise instructions that cause the one or more processors to decode the current block, and wherein the instructions that cause the one or more processors to decode the current block comprise instructions that cause the one or more processors to:
retrieve motion vector information from an entry of the motion vector predictor list;
determine a motion vector for the current block based on the retrieved motion vector information;
determine a prediction block based on the motion vector; and
add the prediction block to received residual information indicative of a difference between the prediction block and the current block to reconstruct the current block.

### Claim 19 (depends on 14)

The computer-readable storage medium of claim 14, wherein the instructions that cause the one or more processors to code the current block comprise instructions that cause the one or more processors to encode the current block, and wherein the instructions that cause the one or more processors to encode the current block comprise instructions that cause the one or more processors to:
determine a motion vector for the current block used for identifying a prediction block;
signal information indicative of an entry into the motion vector predictor list based on the determined motion vector for the current block; and
signal residual information indicative of a difference between the prediction block and the current block.
