# US 2026/0101028 A1 · Colour component prediction method, encoder, decoder and storage medium

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

- Number: US 2026/0101028 A1
- Document ID: US20260101028A1
- Status: Published application
- Kind: A1
- Application number: 19/368,751
- Filed: 2025-10-24
- Published: 2026-04-09
- Earliest claimed: 2019-03-18
- Assignees: Guangdong Oppo Mobile Telecommunications Corp., Ltd.
- Applicants: Guangdong Oppo Mobile Telecommunications Corp., Ltd.
- Inventors: Junyan HUO; Shuai WAN; Yanzhuo MA
- Web page: https://patentgrep.com/patent/US20260101028A1

## 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/132: Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
- H04N 19/14: Coding unit complexity, e.g. amount of activity or edge presence estimation (H04N19/146 takes precedence)
- 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/182: the unit being a pixel
- H04N 19/186: the unit being a colour or a chrominance component
- H04N 19/107: between spatial and temporal predictive coding, e.g. picture refresh
- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/51: Motion estimation or motion compensation
- H04N 19/61: in combination with predictive coding
- H04N 19/82: involving filtering within a prediction loop
- H04N 19/86: involving reduction of coding artifacts, e.g. of blockiness
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Disclosed are a colour component prediction method, an encoder, a decoder, and a storage medium. The method includes: determining adjacent reference pixels of a current block in a picture; constructing a subset of adjacent reference pixels according to the adjacent reference pixels, wherein the subset of adjacent reference pixels contains a part of the adjacent reference pixels; and calculating model parameters of a prediction model according to the subset of adjacent reference pixels, wherein the prediction model includes N prediction sub-models, the N prediction sub-models correspond to N groups of model parameters, and the prediction sub-models are used to perform, through corresponding model parameters, cross-component prediction of colour components to be predicted.

## Claims

### Claim 1

A method for encoding, which is applied to an encoder, the method comprising:
determining adjacent reference samples of a current block in a picture;
calculating a first sampling interval according to a preset number of candidate samples and a length of at least one edge of the current block;
determining a starting point position on the at least one edge of the current block;
determining candidate positions of candidate samples based on the starting point position and the first sampling interval;
determining a subset of adjacent reference samples corresponding to the candidate positions from the adjacent reference samples, wherein the subset of adjacent reference samples contains a part of the adjacent reference samples; and
calculating model parameters of a prediction model according to the subset of adjacent reference samples, wherein the prediction model is configured to perform cross-component prediction for the current block.

### Claim 2 (depends on 1)

The method of claim 1, wherein determining the adjacent reference samples of the current block in the picture comprises:
acquiring reference samples adjacent to the at least one edge of the current block, wherein the at least one edge of the current block comprises at least one of: an upper row, a right upper row, a left column and a left lower column; and
obtaining the adjacent reference samples according to the acquired reference samples.

### Claim 3 (depends on 1)

The method of claim 1, wherein determining the starting point position on the at least one edge of the current block comprises:
determining the starting point position based on the length of the at least one edge of the current block and the preset number of candidate samples.

### Claim 4 (depends on 1)

The method of claim 1, wherein determining the starting point position on the at least one edge of the current block comprises:
determining the starting point position based on the first sampling interval.

### Claim 5 (depends on 1)

The method of claim 1, wherein determining the candidate positions of the candidate samples based on the starting point position and the first sampling interval comprises:
determining the candidate positions by sampling the at least one edge of the current block according to the starting point position and the first sampling interval.

### Claim 6 (depends on 1)

The method of claim 1, wherein the candidate positions of the candidate samples are determined according to formulas of:
Δ
=
length
/
(
N
2
/
2
)
shift
=
Δ
/
2
wherein Δ represents a sampling interval, length represents a quantity of reference samples in a row adjacent to an upper edge of the current block or a quantity of reference samples in a column adjacent to a left edge of the current block, N2 represents an expected quantity of reference samples forming the subset of adjacent reference samples of the current block, and shift represents a starting point position of a determined reference sample.

### Claim 7 (depends on 1)

The method of claim 1, wherein after calculating the first sampling interval, the method further comprises:
adjusting the first sampling interval to obtain a second sampling interval; and
determining the candidate positions according to the second sampling interval based on the starting point position.

### Claim 8

A method for decoding, which is applied to a decoder, the method comprising:
determining adjacent reference samples of a current block in a picture;
calculating a first sampling interval according to a preset number of candidate samples and a length of at least one edge of the current block;
determining a starting point position on the at least one edge of the current block;
determining candidate positions of candidate samples based on the starting point position and the first sampling interval;
determining a subset of adjacent reference samples corresponding to the candidate positions from the adjacent reference samples, wherein the subset of adjacent reference samples contains a part of the adjacent reference samples; and
calculating model parameters of a prediction model according to the subset of adjacent reference samples, wherein the prediction model is configured to perform cross-component prediction for the current block.

### Claim 9 (depends on 8)

The method of claim 8, wherein determining the adjacent reference samples of the current block in the picture comprises:
acquiring reference samples adjacent to at least one edge of the current block, wherein the at least one edge of the current block comprises at least one of: an upper row, a right upper row, a left column and a left lower column; and
obtaining the adjacent reference samples according to the acquired reference samples.

### Claim 10 (depends on 8)

The method of claim 8, wherein determining the starting point position on the at least one edge of the current block comprises:
determining the starting point position based on the length of the at least one edge of the current block and the preset number of candidate samples.

### Claim 11 (depends on 8)

The method of claim 8, wherein determining the starting point position on the at least one edge of the current block comprises:
determining the starting point position based on the first sampling interval.

### Claim 12 (depends on 8)

The method of claim 8, wherein determining the candidate positions of the candidate samples based on the starting point position and the first sampling interval comprises:
determining the candidate positions by sampling the at least one edge of the current block according to the starting point position and the first sampling interval.

### Claim 13 (depends on 8)

The method of claim 8, wherein the candidate positions of the candidate samples are determined according to formulas of:
Δ
=
length
/
(
N
2
/
2
)
shift
=
Δ
/
2
wherein Δ represents a sampling interval, length represents a quantity of reference samples in a row adjacent to an upper edge of the current block or a quantity of reference samples in a column adjacent to a left edge of the current block, N2 represents an expected quantity of reference samples forming the subset of adjacent reference samples of the current block, and shift represents a starting point position of a determined reference sample.

### Claim 14 (depends on 8)

The method of claim 8, wherein after calculating the first sampling interval, the method further comprises:
adjusting the first sampling interval to obtain a second sampling interval; and
determining the candidate positions according to the second sampling interval based on the reference point.

### Claim 15

A method for transmitting a bitstream, comprising:
executing the following operations to generate the bitstream; and transmitting the bitstream:
determining adjacent reference samples of a current block in a picture;
calculating a first sampling interval according to a preset number of candidate samples and a length of at least one edge of the current block;
determining a starting point position on the at least one edge of the current block;
determining candidate positions of candidate samples based on the starting point position and the first sampling interval;
determining a subset of adjacent reference samples corresponding to the candidate positions from the adjacent reference samples, wherein the subset of adjacent reference samples contains a part of the adjacent reference samples; and
calculating model parameters of a prediction model according to the subset of adjacent reference samples, wherein the prediction model is configured to perform cross-component prediction for the current block.
