# US 12,764,280 B2 · Picture prediction method and apparatus

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

- Number: US 12,764,280 B2
- Document ID: US12764280B2
- Status: Granted
- Kind: B2
- Application number: 19/016,653
- Filed: 2025-01-10
- Published: 2025-06-26
- Granted: 2026-10-13
- Earliest claimed: 2018-10-27
- Assignees: Hauwei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Weiwei Xu; Haitao Yang; Yin Zhao
- Web page: https://patentgrep.com/patent/US12764280B2

## CPC

- H04N 19/11: among a plurality of spatial predictive coding modes
- H04N 19/132: Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
- H04N 19/137: Motion inside a coding unit, e.g. average field, frame or block difference
- 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/513: Processing of motion vectors
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A picture prediction method includes receiving a bitstream; parsing the bitstream to obtain a prediction mode of a current block; when the prediction mode of the current block is a combined intra and inter prediction mode, selecting an execution manner of a triangular prediction unit mode according to a preset policy; determining motion information of the current block according to the execution manner of the triangular prediction unit mode; performing a motion compensation process based on the motion information, to obtain an inter prediction sample; obtaining an intra prediction sample according to the prediction mode of the current block; and combining the inter prediction sample and the intra prediction sample to obtain a prediction picture of the current block.

## Claims

### Claim 1

A method comprising:
obtaining a bitstream;
parsing the bitstream to obtain an identifier indicating whether a combined intra and inter prediction mode is applied for a current block;
determining that a geometric partitioning based motion compensation is used to obtain prediction samples of the current block when the identifier indicates that the combined intra and inter prediction mode is not applied for the current block;
parsing the bitstream to obtain a geometric partitioning index when the geometric partitioning based motion compensation is used; and
obtaining a splitting direction based on the geometric partitioning index when the geometric partitioning based motion compensation is used.

### Claim 2 (depends on 1)

The method of claim 1, further comprising determining that the geometric partitioning based motion compensation is not used to obtain the prediction samples of the current block when the identifier indicates that the combined intra and inter prediction mode is applied for the current block.

### Claim 3 (depends on 1)

The method of claim 1, wherein when the identifier indicates that the combined intra and inter prediction mode is applied for the current block, the method further comprises:
obtaining inter prediction samples of the current block according to an inter prediction mode;
obtaining intra prediction samples of the current block according to the intra prediction mode; and
combining the inter prediction samples and the intra prediction samples to obtain combined prediction samples of the current block.

### Claim 4 (depends on 3)

The method of claim 3, wherein the intra prediction mode is a planar mode.

### Claim 5 (depends on 1)

The method of claim 1, wherein when the geometric partitioning based motion compensation is used, the method further comprises:
determining motion information of the current block according to the geometric partitioning based motion compensation; and
performing a motion compensation process based on the motion information to obtain the prediction samples of the current block.

### Claim 6 (depends on 1)

The method of claim 1, wherein when the geometric partitioning based motion compensation is not to be executed, the method further comprises:
generating a merge motion information candidate list; and
determining motion information of the current block based on a merge index in the bitstream, wherein the motion information is used to obtain inter prediction sample of the current block.

### Claim 7

A method comprising:
encoding an identifier into a bitstream, wherein the identifier indicates whether a combined intra and inter prediction mode is applied for a current block;
determining that a geometric partitioning based motion compensation is used to obtain prediction samples of the current block when the identifier indicates that the combined intra and inter prediction mode is not applied for the current block;
obtaining a splitting direction based on a geometric partitioning index when the geometric partitioning based motion compensation is used; and
encoding the geometric partitioning index into the bitstream when the geometric partitioning based motion compensation is used.

### Claim 8 (depends on 7)

The method of claim 7, further comprising determining that the geometric partitioning based motion compensation is not used to obtain the prediction samples of the current block when the identifier indicates that the combined intra and inter prediction mode is applied for the current block.

### Claim 9 (depends on 7)

The method of claim 7, wherein when the identifier indicates that the combined intra and inter prediction mode is applied for the current block, the method further comprises:
obtaining inter prediction samples of the current block according to an inter prediction mode;
obtaining intra prediction samples of the current block according to the intra prediction mode; and
combining the inter prediction samples and the intra prediction samples to obtain combined prediction samples of the current block.

### Claim 10 (depends on 9)

The method of claim 9, wherein the intra prediction mode is a planar mode.

### Claim 11 (depends on 7)

The method of claim 7, wherein when the geometric partitioning based motion compensation is used, the method further comprises:
determining motion information of the current block according to the geometric partitioning based motion compensation; and
performing a motion compensation process based on the motion information to obtain the prediction samples of the current block.

### Claim 12 (depends on 7)

The method of claim 7, wherein when the geometric partitioning based motion compensation is not to be executed, the method further comprises:
generating a merge motion information candidate list;
determining motion information of the current block based on a merge index in the bitstream, wherein the motion information is used to obtain inter prediction samples of the current block; and
encoding the merge index into the bitstream.

### Claim 13

A device comprising:
a receiver configured to receive one or more bitstreams, wherein each of the one or more bitstreams comprises encoded picture data and an identifier indicating whether a combined intra and inter prediction mode is applied for a current block, wherein a geometric partitioning based motion compensation is used to obtain prediction samples of the current block when the identifier indicates that the combined intra and inter prediction mode is not applied for the current block, and wherein when the geometric partitioning based motion compensation is used, the one or more bitstreams further comprise a geometric partitioning index and a splitting direction is based on the geometric partitioning index;
a memory configured to store the one or more bitstreams; and
one or more processors coupled to the memory and configured to reconstruct a picture from the one or more bitstreams stored in the memory using the identifier and the geometric partitioning index.

### Claim 14 (depends on 13)

The device of claim 13, wherein the geometric partitioning based motion compensation is not used to obtain the prediction samples of the current block when the identifier indicates that the combined intra and inter prediction mode is applied for the current block.

### Claim 15 (depends on 13)

The device of claim 13, wherein an intra prediction mode is a planar mode when the combined intra and inter prediction mode is applied for the current block.

### Claim 16 (depends on 13)

The device of claim 13, wherein the one or more bitstreams further comprise a merge index for determining motion information of the current block.

### Claim 17 (depends on 16)

The device of claim 16, wherein the motion information is used to obtain inter prediction samples of the current block.

### Claim 18 (depends on 13)

The device of claim 13, further comprising a transmitter configured to transmit the one or more bitstreams to another device for storage.

### Claim 19 (depends on 13)

The device of claim 13, further comprising a transmitter configured to transmit the one or more bitstreams to another device for decoding the one or more bitstreams.

### Claim 20 (depends on 13)

The device of claim 13, wherein when the geometric partitioning based motion compensation is used, a motion compensation process is performed based on motion information of the current block to obtain the prediction samples of the current block.
