# US 10,958,932 B2 · Inter-prediction coding of video data using generated motion vector predictor list including non-adjacent blocks

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

- Number: US 10,958,932 B2
- Document ID: US10958932B2
- Status: Granted
- Kind: B2
- Application number: 16/566,571
- Filed: 2019-09-10
- Published: 2020-03-12
- Granted: 2021-03-23
- Earliest claimed: 2018-09-12
- Assignees: QUALCOMM Incorporated
- Applicants: QUALCOMM Incorporated
- Inventors: Wei-Jung Chien; Yu Han; Han Huang; Marta Karczewicz
- Web page: https://patentgrep.com/patent/US10958932B2

## CPC

- 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: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An example device for coding video data includes a processor configured to construct a motion vector predictor list for a current block of video data. The processor adds motion vectors for a first set of blocks that immediately neighbor the current block to the motion vector predictor list. The processor determines whether motion vectors for a second set of blocks that are separated from the current block by one or more blocks are duplicates of motion vectors in the motion vector predictor list, and if not, adds the motion vectors to the motion vector predictor list. The processor inter prediction codes the current block with a motion vector and codes the motion vector using the motion vector predictor list. The processor may further use a temporal motion vector as a motion vector predictor for the motion vector.

## Claims

### Claim 1

A method of coding video data, the method comprising:
determining a size of a current block of a picture of video data, the size comprising one of a plurality of possible sizes for blocks of the video data;
constructing a motion vector predictor list for the current block of the picture of the video data, wherein constructing the motion vector predictor list comprises:
determining motion vectors for blocks of a first set of blocks, the first set of blocks comprising blocks in the picture that immediately neighbor the current block;
determining a distance from the current block, the distance being a function of the size of the current block, the distance being at least a minimum size of the plurality of possible sizes for the blocks of the video data;
determining a first motion vector for a first block of a second set of blocks, the second set of blocks comprising blocks in the picture that are separated from the current block by the determined distance;
determining a second motion vector for a second block of the second set of blocks;
determining whether the second motion vector is the same as the first motion vector for the first block of the second set of blocks or the same as a motion vector of a block from a subset of blocks of the first set of blocks; and
in response to determining that the second motion vector is the same as the first motion vector for the first block of the second set of blocks or is the same as a motion vector of any block from the subset of blocks of the first set of blocks, bypassing inserting the second motion vector as a motion vector predictor in the motion vector predictor list;
inter-prediction coding the current block using a motion vector for the current block; and
coding the motion vector using the motion vector predictor list.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
inserting the determined motion vectors for the first set of blocks in the motion vector prediction list.

### Claim 3 (depends on 1)

The method of claim 1, wherein the first block of the second set of blocks is a block that is the spatially closest block to the second block, and a block that was previously checked to determine whether the first motion vector is to be included in the motion vector predictor list.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
determining a third motion vector for a third block of a third set of blocks;
determining a fourth motion vector for a fourth block of the third set of blocks;
determining whether the fourth motion vector is the same as the third motion vector for the third block of the third set of blocks or the same as any motion vector of any block from the subset of blocks of the first set of blocks; and
in response to determining that the fourth motion vector is the same as the third motion vector for the third block of the third set of blocks or is the same as a motion vector of any block from the subset of blocks of the first set of blocks, bypassing inserting the fourth motion vector as a motion vector predictor in the motion vector predictor list.

### Claim 5 (depends on 4)

The method of claim 4, wherein the third block of the third set of blocks is a block that is the spatially closest block to the fourth block, and a block that was previously checked to determine whether the third motion vector is to be included in the motion vector predictor list.

### Claim 6 (depends on 1)

The method of claim 1, further comprising, in response to determining that the second motion vector is not the same as the first motion vector for the first block of the second set of blocks and not the same as any motion vector of any block from the subset of blocks of the first set of blocks, inserting the second motion vector as a motion vector predictor in the motion vector predictor list.

### Claim 7 (depends on 1)

The method of claim 1, wherein the subset of blocks is limited to a number N of the first set of blocks, N being a positive integer value, the method further comprising coding a value representing N.

### Claim 8 (depends on 1)

The method of claim 1, wherein the subset of blocks comprises the full first set of blocks.

### Claim 9 (depends on 1)

The method of claim 1, wherein determining whether the second motion vector is the same as the first motion vector comprises comparing, between the first motion vector and the second motion vector, one or more of reference directions, reference indexes, or picture order count (POC) values.

### Claim 10 (depends on 1)

The method of claim 1, wherein the method of coding video data comprises a method of decoding video data, wherein inter-prediction coding comprises inter-prediction decoding, and wherein inter-prediction decoding comprises:
receiving an index into the motion vector predictor list;
determining a motion vector predictor based on the index;
determining the motion vector for the current block based on the motion vector predictor;
determining a prediction block based on the motion vector;
determining a residual block indicative of differences between the prediction block and the current block; and
reconstructing the current block by adding the residual block to the prediction block.

### Claim 11 (depends on 1)

The method of claim 1, wherein the method of coding video data comprises a method of encoding video data, wherein inter-prediction coding comprises inter-prediction encoding, and wherein inter-prediction encoding comprises:
determining a prediction block, wherein the prediction block is identified by a motion vector for the current block, wherein the motion vector for the current block is derivable by a video decoder based on a motion vector predictor identified in the motion vector predictor list;
determining an index into the motion vector predictor list that identifies the motion vector predictor;
determining a residual block based on a difference between the prediction block and the current block; and
signaling information indicative of the residual block and the index into the motion vector predictor list.

### Claim 12

A device for coding video data, the device comprising:
a memory configured to store video data; and
one or more processors implemented in circuitry and configured to:
determine a size of a current block of a picture of the video data, the size comprising one of a plurality of possible sizes for blocks of the video data;
construct a motion vector predictor list for the current block of the picture of the video data, wherein to construct the motion vector predictor list, the one or more processors are configured to:
determine motion vectors for blocks of a first set of blocks, the first set of blocks comprising blocks in the picture that immediately neighbor the current block;
determine a distance from the current block, the distance being a function of the size of the current block, the distance being at least a minimum size of the plurality of possible sizes for the blocks of the video data;
determine a first motion vector for a first block of a second set of blocks, the second set of blocks comprising blocks in the picture that are separated from the current block by the determined distance;
determine a second motion vector for a second block of the second set of blocks;
determine whether the second motion vector is the same as the first motion vector for the first block of the second set of blocks or the same as a motion vector of a block from a subset of blocks of the first set of blocks;
in response to determining that the second motion vector is not the same as the first motion vector for the first block of the second set of blocks and not the same as any motion vector of any block from the subset of blocks of the first set of blocks, insert the second motion vector as a motion vector predictor in the motion vector predictor list; and
in response to determining that the second motion vector is the same as the first motion vector for the first block of the second set of blocks or is the same as a motion vector of any block from the subset of blocks of the first set of blocks, bypass inserting the second motion vector as a motion vector predictor in the motion vector predictor list;
inter-prediction code the current block using a motion vector for the current block; and
code the motion vector using the motion vector predictor list.

### Claim 13 (depends on 12)

The device of claim 12, wherein the one or more processors are further configured to insert the determined motion vectors for the first set of blocks in the motion vector prediction list.

### Claim 14 (depends on 12)

The device of claim 12, wherein the first block of the second set of blocks is a block that is the spatially closest block to the second block, and a block that was previously checked to determine whether the first motion vector is to be included in the motion vector predictor list.

### Claim 15 (depends on 12)

The device of claim 12, wherein the subset of blocks is limited to a number N of the first set of blocks, N being a positive integer value, and wherein the one or more processors are further configured to code a value representing N.

### Claim 16 (depends on 12)

The device of claim 12, wherein the one or more processors are configured to decode the motion vector and inter-prediction decode the current block.

### Claim 17 (depends on 12)

The device of claim 12, wherein the one or more processors are configured to encode the motion vector and inter-prediction encode the current block.

### Claim 18 (depends on 12)

The device of claim 12, further comprising a display configured to display decoded video data.

### Claim 19 (depends on 12)

The device of claim 12, wherein the device comprises one or more of a camera, a computer, a mobile device, a broadcast receiver device, or a set-top box.

### Claim 20

A non-transitory computer-readable storage medium having stored thereon instructions that, when executed, cause a processor to:
determine a size of a current block of a picture of video data, the size comprising one of a plurality of possible sizes for blocks of the video data;
construct a motion vector predictor list for the current block of the picture of the video data, wherein to construct the motion vector predictor list, the instructions cause the processor to:
determine motion vectors for blocks of a first set of blocks, the first set of blocks comprising blocks in the picture that immediately neighbor the current block;
determine a distance from the current block, the distance being a function of the size of the current block, the distance being at least a minimum size of the plurality of possible sizes for the blocks of the video data;
determine a first motion vector for a first block of a second set of blocks, the second set of blocks comprising blocks in the picture that are separated from the current block by the determined distance;
determine a second motion vector for a second block of the second set of blocks;
determine whether the second motion vector is the same as the first motion vector for the first block of the second set of blocks or the same as a motion vector of a block from a subset of blocks of the first set of blocks;
in response to determining that the second motion vector is not the same as the first motion vector for the first block of the second set of blocks and not the same as any motion vector of any block from the subset of blocks of the first set of blocks, insert the second motion vector as a motion vector predictor in the motion vector predictor list; and
in response to determining that the second motion vector is the same as the first motion vector for the first block of the second set of blocks or is the same as a motion vector of any block from the subset of blocks of the first set of blocks, bypass inserting the second motion vector as a motion vector predictor in the motion vector predictor list; inter-prediction code the current block using a motion vector for the current block; and code the motion vector using the motion vector predictor list.

### Claim 21 (depends on 20)

The non-transitory computer-readable storage medium of claim 20, further comprising instructions that cause the processor to insert the determined motion vectors for the first set of blocks in the motion vector prediction list.

### Claim 22 (depends on 20)

The non-transitory computer-readable storage medium of claim 20, wherein the first block of the second set of blocks is a block that is the spatially closest block to the second block, and a block that was previously checked to determine whether the first motion vector is to be included in the motion vector predictor list.

### Claim 23 (depends on 20)

The non-transitory computer-readable storage medium of claim 20, wherein the subset of blocks is limited to a number N of the first set of blocks, N being a positive integer value, further comprising instructions that cause the processor to code a value representing N.

### Claim 24 (depends on 20)

The non-transitory computer-readable storage medium of claim 20, wherein the instructions that cause the processor to code the motion vector and inter-prediction code the current block comprise instructions that cause the processor to decode the motion vector and inter-prediction decode the current block.

### Claim 25 (depends on 20)

The non-transitory computer-readable storage medium of claim 20, wherein the instructions that cause the processor to code the motion vector and inter-prediction code the current block comprise instructions that cause the processor to encode the motion vector and inter-prediction encode the current block.

### Claim 26

A device for coding video data, the device comprising:
means for determining a size of a current block of a picture of video data, the size comprising one of a plurality of possible sizes for blocks of the video data;
means for constructing a motion vector predictor list for the current block of the picture of the video data, wherein the means for constructing the motion vector predictor list comprises:
means for determining motion vectors for blocks of a first set of blocks, the first set of blocks comprising blocks in the picture that immediately neighbor the current block;
means for determining a distance from the current block, the distance being a function of the size of the current block, the distance being at least a minimum size of the plurality of possible sizes for the blocks of the video data;
means for determining a first motion vector for a first block of a second set of blocks, the second set of blocks comprising blocks in the picture that are separated from the current block by the determined distance;
means for determining a second motion vector for a second block of the second set of blocks;
means for determining whether the second motion vector is the same as the first motion vector for the first block of the second set of blocks or the same as a motion vector of a block from a subset of blocks of the first set of blocks;
means for inserting the second motion vector as a motion vector predictor in the motion vector predictor list in response to determining that the second motion vector is not the same as the first motion vector for the first block of the second set of blocks and not the same as any motion vector of any block from the subset of blocks of the first set of blocks; and
means for bypassing inserting the second motion vector as a motion vector predictor in the motion vector predictor list in response to determining that the second motion vector is the same as the first motion vector for the first block of the second set of blocks or is the same as a motion vector of any block from the subset of blocks of the first set of blocks;
means for inter-prediction coding the current block using a motion vector for the current block; and
means for coding the motion vector using the motion vector predictor list.

### Claim 27 (depends on 12)

The device of claim 12, wherein the size of the current block comprises a width of the current block, wherein the distance comprises the width of the current block, and wherein the second set of blocks comprises blocks that are separated to the left of the current block by the width of the current block.

### Claim 28 (depends on 12)

The device of claim 12, wherein the size of the current block comprises a height of the current block, wherein the distance comprises the height of the current block, and wherein the second set of blocks comprises blocks that are separated above the current block by the height of the current block.
