# US 2021/0176462 A1 · Method for obtaining candidate motion vector list, apparatus, encoder, and decoder

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

- Number: US 2021/0176462 A1
- Document ID: US20210176462A1
- Status: Published application
- Kind: A1
- Application number: 17/180,274
- Filed: 2021-02-19
- Published: 2021-06-10
- Earliest claimed: 2019-05-15
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Huanbang CHEN; Haitao YANG; Lian ZHANG
- Web page: https://patentgrep.com/patent/US20210176462A1

## 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/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/30: using hierarchical techniques, e.g. scalability (H04N19/63 takes precedence)
- H04N 19/513: Processing of motion vectors
- H04N 19/567: Motion estimation based on rate distortion criteria
- H04N 21/2343: involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements {(video transcoding H04N19/40; media packet handling at the source H04L65/762)}
- H04N 21/4402: involving reformatting operations of video signals for household redistribution, storage or real-time display {(details of conversion of video standards at pixel level H04N7/01; video transcoding H04N19/40; adapting incoming signals to the display format of the display terminal G09G5/005; media handling at the source in data packet switching networks H04L65/764)}
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

This disclosure discloses a method for obtaining a candidate motion vector list, an apparatus, an encoder, and a decoder. The method for obtaining a candidate motion vector list comprises: when a first candidate picture block is encoded/decoded and an inter prediction mode is used, determining whether a reference picture of the first candidate picture block is the same as a reference picture of a current block; and constructing a candidate motion vector list of the current block based on a determining result; when the reference picture of the first candidate picture block is different from the reference picture of the current block, the MV of the first candidate picture block is not used to construct the list. Implementing this disclosure can reduce complexity of a motion information derivation process, and improve coding efficiency.

## Claims

### Claim 1

A method for obtaining a candidate motion vector list, the method comprising:
when a first candidate picture block is encoded or decoded and an inter prediction mode is used for the first candidate picture block, determining whether a reference picture of the first candidate picture block is the same as a reference picture of a current block; and
constructing a candidate motion vector list for the current block based on a result of the determining, wherein:
when the reference picture of the first candidate picture block is the same as the reference picture of the current block, the candidate motion vector list comprises a motion vector (MV) of the first candidate picture block; and
when the reference picture of the first candidate picture block is different from the reference picture of the current block, the MV of the first candidate picture block is not used to construct the candidate motion vector list.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
when a second candidate picture block is encoded or decoded and the inter prediction mode is used for the second candidate picture block, determining whether a reference picture of the second candidate picture block is the same as the reference picture of the current block; and
when the reference picture of the second candidate picture block is the same as the reference picture of the current block, using an MV of the second candidate picture block as a candidate motion vector in the candidate motion vector list.

### Claim 3 (depends on 2)

The method of claim 2, wherein when the reference picture of the second candidate picture block is different from the reference picture of the current block, an MV of the second candidate picture block is not used to construct the candidate motion vector list.

### Claim 4 (depends on 2)

The method of claim 2, further comprising:
when the reference picture of the second candidate picture block is different from the reference picture of the current block, scaling the MV of the second candidate picture block based on a picture order count (POC) of the reference picture of the second candidate picture block and based on a POC of the reference picture of the current block; and
using a scaled MV as a candidate motion vector in the candidate motion vector list.

### Claim 5 (depends on 1)

The method of claim 1, wherein:
the current block has a plurality of reference pictures; and
determining whether a reference picture of the first candidate picture block is the same as a reference picture of a current block comprises:
separately comparing POCs of the plurality of reference pictures with the POC of the reference picture of the first candidate picture block; and
when one of the POCs of the plurality of reference pictures is the same as the POC of the reference picture of the first candidate picture block, determining that the reference picture of the first candidate picture block is the same as the reference picture of the current block.

### Claim 6 (depends on 2)

The method of claim 2, wherein before using an MV of the second candidate picture block as a candidate motion vector in the candidate motion vector list, the method further comprises:
determining that the MV of the first candidate picture block and the MV of the second candidate picture block are different.

### Claim 7 (depends on 2)

The method of claim 2, wherein when the MV of the first candidate picture block is the same as the MV of the second candidate picture block, the MV of the second candidate picture block is not used to construct the candidate motion vector list.

### Claim 8

An inter prediction apparatus, comprising:
a determining module, configured to: when a first candidate picture block is encoded or decoded, and an inter prediction mode is used for the first candidate picture block, determine whether a reference picture of the first candidate picture block is the same as a reference picture of a current block; and
a processing module, configured to construct a candidate motion vector list for the current block based on a result of the determining, wherein:
when the reference picture of the first candidate picture block is the same as the reference picture of the current block, the candidate motion vector list comprises an MV of the first candidate picture block; and
when the reference picture of the first candidate picture block is different from the reference picture of the current block, the MV of the first candidate picture block is not used to construct the candidate motion vector list.

### Claim 9 (depends on 8)

The apparatus of claim 8, wherein:
the determining module is further configured to: when a second candidate picture block is encoded or decoded and the inter prediction mode is used for the second candidate picture block, determine whether a reference picture of the second candidate picture block is the same as the reference picture of the current block; and
the processing module is further configured to: when the reference picture of the second candidate picture block is the same as the reference picture of the current block, use an MV of the second candidate picture block as a candidate motion vector in the candidate motion vector list.

### Claim 10 (depends on 9)

The apparatus of claim 9, wherein when the reference picture of the second candidate picture block is different from the reference picture of the current block, an MV of the second candidate picture block is not used to construct the candidate motion vector list.

### Claim 11 (depends on 9)

The apparatus of claim 9, wherein the processing module is further configured to:
when the reference picture of the second candidate picture block is different from the reference picture of the current block, scale the MV of the second candidate picture block based on a picture order count POC of the reference picture of the second candidate picture block, and based on a POC of the reference picture of the current block; and
use a scaled MV as a candidate motion vector in the candidate motion vector list.

### Claim 12 (depends on 8)

The apparatus of claim 8, wherein:
the current block has a plurality of reference pictures; and
the determining module is further configured to:
separately compare POCs of the plurality of reference pictures with the POC of the reference picture of the first candidate picture block; and
when one of the POCs of the plurality of reference pictures is the same as the POC of the reference picture of the first candidate picture block, determine that the reference picture of the first candidate picture block is the same as the reference picture of the current block.

### Claim 13 (depends on 8)

The apparatus of claim 8, wherein the processing module is further configured to determine that the MV of the first candidate picture block and the MV of the second candidate picture block are different.

### Claim 14 (depends on 9)

The apparatus of claim 9, wherein when the MV of the first candidate picture block is the same as the MV of the second candidate picture block, the MV of the second candidate picture block is not used to construct the candidate motion vector list.

### Claim 15

A non-transitory computer readable medium comprising instructions which, when executed by a computer, cause the computer to perform operations comprising:
when a first candidate picture block is encoded or decoded and an inter prediction mode is used for the first candidate picture block, determining whether a reference picture of the first candidate picture block is the same as a reference picture of a current block; and
constructing a candidate motion vector list for the current block based on a result of the determining, wherein:
when the reference picture of the first candidate picture block is the same as the reference picture of the current block, the candidate motion vector list comprises a motion vector (MV) of the first candidate picture block; and
when the reference picture of the first candidate picture block is different from the reference picture of the current block, the MV of the first candidate picture block is not used to construct the candidate motion vector list.

### Claim 16 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein the operations further comprise:
when a second candidate picture block is encoded or decoded and the inter prediction mode is used for the second candidate picture block, determining whether a reference picture of the second candidate picture block is the same as the reference picture of the current block; and
when the reference picture of the second candidate picture block is the same as the reference picture of the current block, using an MV of the second candidate picture block as a candidate motion vector in the candidate motion vector list.

### Claim 17 (depends on 16)

The non-transitory computer readable medium of claim 16, wherein when the reference picture of the second candidate picture block is different from the reference picture of the current block, an MV of the second candidate picture block is not used to construct the candidate motion vector list.

### Claim 18 (depends on 16)

The non-transitory computer readable medium of claim 16, wherein the operations further comprise:
when the reference picture of the second candidate picture block is different from the reference picture of the current block, scaling the MV of the second candidate picture block based on a picture order count (POC) of the reference picture of the second candidate picture block and based on a POC of the reference picture of the current block; and
using a scaled MV as a candidate motion vector in the candidate motion vector list.

### Claim 19 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein:
the current block has a plurality of reference pictures; and
determining whether a reference picture of the first candidate picture block is the same as a reference picture of a current block comprises:
separately comparing POCs of the plurality of reference pictures with the POC of the reference picture of the first candidate picture block; and
when one of the POCs of the plurality of reference pictures is the same as the POC of the reference picture of the first candidate picture block, determining that the reference picture of the first candidate picture block is the same as the reference picture of the current block.

### Claim 20 (depends on 16)

The non-transitory computer readable medium of claim 16, wherein before using an MV of the second candidate picture block as a candidate motion vector in the candidate motion vector list, the method further comprises:
determining that the MV of the first candidate picture block and the MV of the second candidate picture block are different.
