Inter-frame prediction method, device, and readable storage medium

US12495158B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12495158-B2
Application numberUS-202418764354-A
CountryUS
Kind codeB2
Filing dateJul 4, 2024
Priority dateJan 5, 2022
Publication dateDec 9, 2025
Grant dateDec 9, 2025

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

An inter-frame prediction method, a device, and a readable storage medium are provided. The method includes: determining a plurality of motion vector prediction candidates from a motion vector prediction candidate list of a target codec unit according to a template; performing offset processing on the plurality of motion vector prediction candidates to obtain a plurality of offset motion vector prediction candidates; determining a target motion vector prediction candidate according to the plurality of offset motion vector prediction candidates; and using the target motion vector prediction candidate as a search start point to obtain a target motion vector prediction through template matching, where the plurality of motion vector prediction candidates are a plurality of motion vector prediction candidates whose error between a current template and a reference template in the motion vector prediction candidate list is ranked in a first preset position.

First claim

Opening claim text (preview).

The invention claimed is: 1 . An inter-frame prediction method, comprising: determining a plurality of motion vector prediction candidates from a motion vector prediction candidate list of a target codec unit according to a template; performing offset processing on each of the plurality of motion vector prediction candidates along each of at least one preset direction according to a first preset offset distance, to obtain a plurality of offset motion vector prediction candidates; determining a target motion vector prediction candidate from: the plurality of first offset motion vector prediction candidates; or the plurality of first offset motion vector prediction candidates and the plurality of motion vector prediction candidates; and using the target motion vector prediction candidate as a search start point to obtain a target motion vector prediction through template matching, wherein the plurality of motion vector prediction candidates are a plurality of motion vector prediction candidates whose error between a current template and a reference template in the motion vector prediction candidate list is ranked in a first preset position. 2 . The inter-frame prediction method according to claim 1 , wherein the first preset position is N positions with a minimum error between the current template and the reference template in the motion vector prediction candidate list, wherein N is an integer greater than or equal to 1. 3 . The inter-frame prediction method according to claim 1 , wherein the determining the target motion vector prediction candidate from the plurality of first offset motion vector prediction candidates comprises: determining a first motion vector prediction candidate according to the plurality of first offset motion vector prediction candidates, wherein the first motion vector prediction candidate is a motion vector prediction candidate corresponding to a first offset motion vector prediction candidate whose error between the current template and the reference template is ranked in a second preset position; performing offset processing on the first motion vector prediction candidate along each of the at least one preset direction according to a second preset offset distance, to obtain a second offset motion vector prediction candidate; and determining, from the second offset motion vector prediction candidate, the target motion vector prediction candidate whose error between the current template and the reference template is ranked in a third preset position; or determining, from the second offset motion vector prediction candidate and the first motion vector prediction candidate, the target motion vector prediction candidate whose error between the current template and the reference template is ranked in a third preset position. 4 . The inter-frame prediction method according to claim 3 , wherein the first preset offset distance is less than a first threshold, and the second preset offset distance is greater than or equal to the first threshold. 5 . The inter-frame prediction method according to claim 3 , wherein the first preset offset distance is an offset distance comprised in a preset prediction offset distance set, the second preset offset distance is at least one offset distance associated with a target offset distance, and the target offset distance is a first preset offset distance corresponding to the first motion vector prediction candidate. 6 . The inter-frame prediction method according to claim 3 , wherein an error corresponding to the first offset motion vector prediction candidate is less than an error corresponding to the first motion vector prediction candidate. 7 . The inter-frame prediction method according to claim 1 , wherein the determining the target motion vector prediction candidate from the plurality of first offset motion vector prediction candidates and the plurality of motion vector prediction candidates comprises: determining, from the plurality of first offset motion vector prediction candidates and the plurality of motion vector prediction candidates, the target motion vector prediction candidate whose error between the current template and the reference template is ranked in a fourth preset position. 8 . The inter-frame prediction method according to claim 1 , wherein a motion vector resolution of each of the plurality of offset motion vector prediction candidates is equal to a motion vector resolution of the target codec unit. 9 . The inter-frame prediction method according to claim 1 , wherein a motion vector resolution of the target codec unit meets a preset motion vector resolution. 10 . The inter-frame prediction method according to claim 1 , wherein target information of the target codec unit meets a preset threshold, and the target information comprises at least one of an area, a width, or a height. 11 . The inter-frame prediction method according to claim 3 , further comprising: determining at least one of the preset direction, the first preset offset distance, or the second preset offset distance according to a value of a flag of a to-be-decoded image header. 12 . A terminal, comprising: a memory storing computer-readable instructions; and a processor coupled to the memory, wherein the computer-readable instructions, when executed by the processor, cause the processor to perform operations comprising: determining a plurality of motion vector prediction candidates from a motion vector prediction candidate list of a target codec unit according to a template; performing offset processing on each of the plurality of motion vector prediction candidates along each of at least preset direction according to a first preset offset distance, to obtain a plurality of offset motion vector prediction candidates; determining a target motion vector prediction candidate from: the plurality of first offset motion vector prediction candidates; or the plurality of first offset motion vector prediction candidates and the plurality of motion vector prediction candidates; and using the target motion vector prediction candidate as a search start point to obtain a target motion vector prediction through template matching, wherein the plurality of motion vector prediction candidates are a plurality of motion vector prediction candidates whose error between a current template and a reference template in the motion vector prediction candidate list is ranked in a first preset position. 13 . The terminal according to claim 12 , wherein the first preset position is N positions with a minimum error between the current template and the reference template in the motion vector prediction candidate list, wherein N is an integer greater than or equal to 1. 14 . The terminal according to claim 12 , wherein the determining the target motion vector prediction candidate from the plurality of first offset motion vector prediction candidates comprises: determining a first motion vector prediction candidate according to the plurality of first offset motion vector prediction candidates, wherein the first motion vector prediction candidate is a motion vector prediction candidate corresponding to a first offset motion vector prediction candidate whose error between the current template and the reference template is ranked in a second preset position; performing offset processing on the first motion vector prediction candidate along each of the at least one preset direction according to a second preset offset distance, to obtain a second offset motion vector prediction candidate; and determining, from the second offset motion vector prediction candidate, the target motion vect

Assignees

Inventors

Classifications

  • by predictive encoding · CPC title

  • the region being a slice, e.g. a line of blocks or a group of blocks · CPC title

  • Motion estimation or motion compensation · CPC title

  • 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 · CPC title

  • H04N19/521Primary

    for estimating the reliability of the determined motion vectors or motion vector field, e.g. for smoothing the motion vector field or for correcting motion vectors · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US12495158B2 cover?
An inter-frame prediction method, a device, and a readable storage medium are provided. The method includes: determining a plurality of motion vector prediction candidates from a motion vector prediction candidate list of a target codec unit according to a template; performing offset processing on the plurality of motion vector prediction candidates to obtain a plurality of offset motion vector…
Who is the assignee on this patent?
Vivo Mobile Communication Co Ltd
What technology area does this patent fall under?
Primary CPC classification H04N19/521. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Dec 09 2025 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).