# US 2025/0220219 A1 · Method for inter prediction method, video picture 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 2025/0220219 A1
- Document ID: US20250220219A1
- Status: Published application
- Kind: A1
- Application number: 19/082,987
- Filed: 2025-03-18
- Published: 2025-07-03
- Earliest claimed: 2019-09-24
- Assignees: Guangdong Oppo Mobile Telecommunications Corp., Ltd.
- Applicants: Guangdong Oppo Mobile Telecommunications Corp., Ltd.
- Inventors: Junyan HUO; Yanzhuo MA; Shuai WAN; Wei ZHANG; Fuzheng YANG; Qihong RAN
- Web page: https://patentgrep.com/patent/US20250220219A1

## 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/109: among a plurality of temporal predictive coding modes
- 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/184: the unit being bits, e.g. of the compressed video stream
- H04N 19/577: Motion compensation with bidirectional frame interpolation, i.e. using B-pictures
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method and apparatus for inter prediction. According to the position of a current block in a video picture, first motion information and second candidate motion information is determined, the motion information at least includes a motion vector; it is determined whether the distance between the motion vector of the first motion information and the motion vector of the second candidate motion information is greater than a first threshold; if the determination result is that the distance is less than or equal to the first threshold, the second candidate motion information is updated to obtain second motion information; if the determination result is that the distance is greater than the first threshold, the second candidate motion information is taken as the second motion information; and inter prediction is performed on the current block by using the first motion information and the second motion information.

## Claims

### Claim 1

A method for inter prediction, applied to a video picture encoder, and comprising:
determining a first motion vector and a second candidate motion vector according to a position of a current block in a video picture;
taking a coordinate difference value of the first motion vector and the second candidate motion vector in at least one of a horizontal direction or a vertical direction as the difference between the first motion vector and the second candidate motion vector;
judging whether the difference between the first motion vector and the second candidate motion vector is greater than a non-zero first threshold value;
when a judgment result indicates that the difference is less than or equal to the first threshold value, obtaining a second motion vector based on the second candidate motion vector; when the judgment result indicates that the difference is greater than the first threshold value, taking the second candidate motion vector as the second motion vector; and
performing inter prediction on the current block by using the first motion vector and the second motion vector.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first threshold value is a preset value.

### Claim 3

A method for inter prediction, applied to a video picture decoder, and the method comprising:
parsing a bitstream to obtain a position of a current block in a video picture;
determining a first motion vector and a second candidate motion vector according to the position;
taking a coordinate difference value of the first motion vector and the second candidate motion vector in at least one of a horizontal direction or a vertical direction as a difference between the first motion vector and the second candidate motion vector;
judging whether the difference between the first motion vector and the second candidate motion vector is greater than a non-zero first threshold value;
when a judgment result indicates that the difference is less than or equal to the first threshold value, obtaining a second motion vector based on the second candidate motion vector; when the judgment result indicates that the difference is greater than the first threshold value, taking the second candidate motion vector as the second motion vector; and
constructing an inter prediction value of the current block by using the first motion vector and the second motion vector.

### Claim 4 (depends on 3)

The method of claim 3, wherein the first threshold value is a preset value.

### Claim 5

A video picture encoder, comprising:
a memory and a processor, wherein the memory stores a computer program which is runnable on the processor; and the processor is configured to, when executing the program, perform the following:
determine a first motion vector and a second candidate motion vector according to a position of a current block in a video picture;
take a coordinate difference value of the first motion vector and the second candidate motion vector in at least one of a horizontal direction or a vertical direction as the difference between the first motion vector and the second candidate motion vector;
judge whether the difference between the first motion vector and the second candidate motion vector is greater than a non-zero first threshold value; when a judgment result indicates that the difference is less than or equal to the first threshold value, obtain a second motion vector based on the second candidate motion vector; when the judgment result indicates that the difference is greater than the first threshold value, take the second candidate motion vector as the second motion vector; and
perform inter prediction on the current block by using the first motion vector and the second motion vector.

### Claim 6 (depends on 5)

The video picture encoder of claim 5, wherein the first threshold value is a preset value.

### Claim 7

A video picture decoder, comprising:
a memory and a processor, wherein the memory stores a computer program which is runnable on the processor; and the processor is configured to, when executing the program, perform the following:
parse a bitstream to obtain a position of a current block in a video picture;
determine a first motion vector and a second candidate motion vector according to the position;
take a coordinate difference value of the first motion vector and the second candidate motion vector in at least one of a horizontal direction or a vertical direction as a difference between the first motion vector and the second candidate motion vector;
judge whether the difference between the first motion vector and the second candidate motion vector is greater than a non-zero first threshold value; when a judgment result indicates that the difference is less than or equal to the first threshold value, obtain a second motion vector based on the second candidate motion vector; when the judgment result indicates that the difference is greater than the first threshold value, take the second candidate motion vector as the second motion vector; and
construct an inter prediction value of the current block by using the first motion vector and the second motion vector.

### Claim 8 (depends on 7)

The video picture decoder of claim 7, wherein the first threshold value is a preset value.
