# US 2021/0092432 A1 · 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 2021/0092432 A1
- Document ID: US20210092432A1
- Status: Published application
- Kind: A1
- Application number: 17/028,064
- Filed: 2020-09-22
- Published: 2021-03-25
- Earliest claimed: 2019-09-24
- Assignees: QUALCOMM Incorporated
- Applicants: QUALCOMM Incorporated
- Inventors: Dmytro RUSANOVSKYY; Marta KARCZEWICZ; Yan ZHANG
- Web page: https://patentgrep.com/patent/US20210092432A1

## CPC

- H04N 19/513: Processing of motion vectors
- H04N 19/52: by predictive encoding
- 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/56: Motion estimation with initialisation of the vector search, e.g. estimating a good candidate to initiate a search
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Systems, methods, and computer-readable media are provided for updating history-based motion vector tables. In some examples, a method can include obtaining one or more blocks of video data; determining a first motion vector derived from a first control point of a block of the one or more blocks, the block being coded using an affine motion mode; determining a second motion vector derived from a second control point of the block; based on the first motion vector and the second motion vector, estimating a third motion vector for a predetermined location within the block; and populating a history-based motion vector predictor (HMVP) table with the third motion vector.

## Claims

### Claim 1

An apparatus for processing video data, the apparatus comprising:
memory; and
one or more processors coupled to the memory, the one or more processors being configured to:
obtain one or more blocks of video data;
determine a first motion vector derived from a first control point of a block of the one or more blocks, the block being coded using an affine motion mode;
determine a second motion vector derived from a second control point of the block;
based on the first motion vector and the second motion vector, estimate a third motion vector for a predetermined location within the block; and
populate a history-based motion vector predictor (HMVP) table with the third motion vector.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the predetermined location comprises a center of the block.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the first control point comprises a top-left control point and the second control point comprises a top-right control point.

### Claim 4 (depends on 3)

The apparatus of claim 3, wherein the third motion vector is estimated further based on a control point motion vector associated with a bottom control point.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein estimating the third motion vector comprises:
determining, based on a difference between the first motion vector and the second motion vector, a rate of change between the first motion vector and the second motion vector; and
multiplying the rate of change by a multiplication factor corresponding to the predetermined location.

### Claim 6 (depends on 5)

The apparatus of claim 5, wherein the predetermined location comprises a center of the block, and wherein the multiplication factor comprises half of at least one of a width of the block and a height of the block.

### Claim 7 (depends on 5)

The apparatus of claim 5, wherein the rate of change comprises a per unit rate of change, wherein each unit of the per unit rate of change comprises at least one of a sample, a sub-block, and a pixel.

### Claim 8 (depends on 5)

The apparatus of claim 5, wherein the multiplication factor comprises a number of samples between the predetermined location and a border of the block.

### Claim 9 (depends on 1)

The apparatus of claim 1, wherein the third motion vector is based on a first change of motion between a horizontal component of the first motion vector and a horizontal component of the second motion vector and a second change of motion between a vertical component of the first motion vector and a vertical component of the second motion vector.

### Claim 10 (depends on 1)

The apparatus of claim 1, wherein the third motion vector comprises a translational motion vector generated based on affine motion information associated with the block.

### Claim 11 (depends on 1)

The apparatus of claim 1, wherein the third motion vector comprises motion information associated with one or more sub-blocks of the block, wherein at least one sub-block of the one or more sub-blocks corresponds to the predetermined location.

### Claim 12 (depends on 1)

The apparatus of claim 1, wherein at least one of the HMVP table and the third motion vector is used in motion prediction of an additional block.

### Claim 13 (depends on 1)

The apparatus of claim 1, wherein the one or more processors are configured to:
add one or more HMVP candidates from the HMVP table to at least one of an advanced motion vector prediction (AMVP) candidate list, a merge mode candidate list, and a motion vector prediction predictor for coding using the affine motion mode.

### Claim 14 (depends on 1)

The apparatus of claim 1, wherein processing video data comprises encoding video data, wherein the one or more processors are configured to:
generate an encoded video bitstream, the encoded video bitstream including the one or more blocks of video data.

### Claim 15 (depends on 14)

The apparatus of claim 14, wherein the one or more processors are configured to:
transmit the encoded video bitstream, the first control point and the second control point.

### Claim 16 (depends on 1)

The apparatus of claim 1, wherein the one or more processors are configured to:
decode the one or more blocks of video data using the affine motion model.

### Claim 17 (depends on 1)

The apparatus of claim 1, wherein the apparatus is a mobile device.

### Claim 18

A method of processing video data, the method comprising:
obtaining one or more blocks of video data;
determining a first motion vector derived from a first control point of a block of the one or more blocks, the block being coded using an affine motion mode;
determining a second motion vector derived from a second control point of the block;
based on the first motion vector and the second motion vector, estimating a third motion vector for a predetermined location within the block; and
populating a history-based motion vector predictor (HMVP) table with the third motion vector.

### Claim 19 (depends on 18)

The method of claim 18, wherein the predetermined location comprises a center of the block.

### Claim 20 (depends on 18)

The method of claim 18, wherein the first control point comprises a top-left control point and the second control point comprises a top-right control point.

### Claim 21 (depends on 20)

The method of claim 20, wherein the third motion vector is estimated further based on a control point motion vector associated with a bottom control point.

### Claim 22 (depends on 18)

The method of claim 18, wherein estimating the third motion vector comprises:
determining, based on a difference between the first motion vector and the second motion vector, a rate of change between the first motion vector and the second motion vector; and
multiplying the rate of change by a multiplication factor corresponding to the predetermined location.

### Claim 23 (depends on 22)

The method of claim 22, wherein the predetermined location comprises a center of the block, and wherein the multiplication factor comprises half of at least one of a width of the block and a height of the block.

### Claim 24 (depends on 22)

The method of claim 22, wherein the rate of change comprises a per unit rate of change, wherein each unit of the per unit rate of change comprises at least one of a sample, a sub-block, and a pixel.

### Claim 25 (depends on 22)

The method of claim 22, wherein the multiplication factor comprises a number of samples between the predetermined location and a border of the block.

### Claim 26 (depends on 18)

The method of claim 18, wherein the third motion vector is based on a first change of motion between a horizontal component of the first motion vector and a horizontal component of the second motion vector and a second change of motion between a vertical component of the first motion vector and a vertical component of the second motion vector.

### Claim 27 (depends on 18)

The method of claim 18, wherein the third motion vector comprises a translational motion vector generated based on affine motion information associated with the block.

### Claim 28 (depends on 18)

The method of claim 18, wherein the third motion vector comprises motion information associated with one or more sub-blocks of the block, wherein at least one sub-block of the one or more sub-blocks corresponds to the predetermined location.

### Claim 29 (depends on 18)

The method of claim 18, wherein at least one of the HMVP table and the third motion vector is used in motion prediction of an additional block.

### Claim 30 (depends on 18)

The method of claim 18, further comprising:
adding one or more HMVP candidates from the HMVP table to at least one of an advanced motion vector prediction (AMVP) candidate list, a merge mode candidate list, and a motion vector prediction predictor for coding using the affine motion mode.

### Claim 31 (depends on 18)

The method of claim 18, wherein the third motion vector comprises a representation of motion information for the block.

### Claim 32 (depends on 18)

The method of claim 18, wherein processing video data comprises encoding video data, the method further comprising:
generating an encoded video bitstream, the encoded video bitstream including the one or more blocks of video data.

### Claim 33 (depends on 32)

The method of claim 32, further comprising:
transmitting the encoded video bitstream, the first control point and the second control point.

### Claim 34 (depends on 18)

The method of claim 18, further comprising:
decoding the one or more blocks of video data using the affine motion model.

### Claim 35

A non-transitory computer-readable storage medium having stored thereon instructions which, when executed by one or more processors, cause the one or more processors to:
obtain one or more blocks of video data;
determine a first motion vector derived from a first control point of a block of the one or more blocks, the block being coded using an affine motion mode;
determine a second motion vector derived from a second control point of the block;
based on the first motion vector and the second motion vector, estimate a third motion vector for a predetermined location within the block; and
populate a history-based motion vector predictor (HMVP) table with the third motion vector.
