IP Library Granted Patent US 12689729
Granted Patent B2
US 12689729 · App. 18/809,630 · Granted Jul 21, 2026

Video colour component prediction method and apparatus, and computer storage medium

Inventors: Junyan Huo (Dongguan, CN); Xiaoyan Chai (Dongguan, CN); Yanzhuo Ma (Dongguan, CN); Fuzheng Yang (Dongguan, CN)
Assignee: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD.
H04N19/126H04N19/176H04N19/186
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12689729
App. No.
18/809,630
Granted
Jul 21, 2026
Kind
B2
Abstract

A method for decoding a video includes: a first colour component neighboring reference value, a second colour component neighboring reference value and a first colour component reconstructed value corresponding to a current block are obtained; a second colour component predicted value corresponding to the current block is generated at least based on a linear model corresponding to factors, where the factors are determined by at least one of a weight coefficient, the first colour component neighboring reference value, or the second colour component neighboring reference value; and the video is decoded based on the second colour component predicted value. The method further includes: neighboring reference samples are downsampled to determine part of reference samples.

Claims (50)

1 . A method for decoding a video, comprising:

acquiring a first colour component neighboring reference value, a second colour component neighboring reference value and a first colour component reconstructed value corresponding to a current block, wherein the first colour component neighboring reference value is indicative of a first colour component value corresponding to a neighboring reference sample of the current block, the second colour component neighboring reference value is indicative of a second colour component value corresponding to the neighboring reference sample of the current block, and the first colour component reconstructed value is indicative of one or more reconstructed values of a first colour component corresponding to the current block;

generating a second colour component predicted value corresponding to the current block at least based on a linear model corresponding to factors, wherein the factors are determined by at least one of a weight coefficient, the first colour component neighboring reference value, or the second colour component neighboring reference value; and

decoding the video based on the second colour component predicted value;

wherein the method further comprises:

performing downsampling on neighboring reference samples to determine part of reference samples.

2 . The method of claim 1 , further comprising:

generating the second colour component predicted value based on the linear model corresponding to the factors and the first colour component reconstructed value.

3 . The method of claim 1 , wherein a position of the current block is indicative of a position correlation between the current block and the neighboring reference sample.

4 . The method of claim 1 , further comprising:

acquiring a second colour component estimated value corresponding to the current block by performing component prediction according to a second colour component corresponding to the current block.

5 . The method of claim 1 , wherein the neighboring reference sample comprises at least one of:

an upper reference sample of the current block,

an upper-left reference sample of the current block; or

a left reference sample of the current block.

6 . A decoding apparatus, comprising:

a processor; and

a memory storing an instruction executable by the processor, wherein when the instruction is executed, the processor is configured to:

acquire a first colour component neighboring reference value, a second colour component neighboring reference value and a first colour component reconstructed value corresponding to a current block, wherein the first colour component neighboring reference value is indicative of a first colour component value corresponding to a neighboring reference sample of the current block, the second colour component neighboring reference value is indicative of a second colour component value corresponding to the neighboring reference sample of the current block, and the first colour component reconstructed value is indicative of one or more reconstructed values of a first colour component corresponding to the current block;

generate a second colour component predicted value corresponding to the current block at least based on a linear model corresponding to factors, wherein the factors are determined by at least one of a weight coefficient, the first colour component neighboring reference value, or the second colour component neighboring reference value; and

decode the current block based on the second colour component predicted value;

wherein the processor is further configured to perform downsampling on neighboring reference samples to determine part of reference samples.

7 . The apparatus of claim 6 , wherein the processor is further configured to:

generate the second colour component predicted value based on the linear model corresponding to the factors and the first colour component reconstructed value.

8 . The apparatus of claim 6 , wherein a position of the current block is indicative of a position correlation between the current block and the neighboring reference sample.

9 . The apparatus of claim 6 , wherein the processor is further configured to:

acquire a second colour component estimated value corresponding to the current block by performing component prediction according to a second colour component corresponding to the current block.

10 . The apparatus of claim 6 , wherein the neighboring reference sample comprises at least one of:

an upper reference sample of the current block,

an upper-left reference sample of the current block; or

a left reference sample of the current block.

11 . A method for encoding a video, comprising:

determining a first colour component neighboring reference value, a second colour component neighboring reference value and a first colour component reconstructed value corresponding to a current block, wherein the first colour component neighboring reference value is indicative of a first colour component value corresponding to a neighboring reference sample of the current block, the second colour component neighboring reference value is indicative of a second colour component value corresponding to the neighboring reference sample of the current block, and the first colour component reconstructed value is indicative of one or more reconstructed values of a first colour component corresponding to the current block;

determining a second colour component predicted value corresponding to the current block at least based on a linear model corresponding to factors, wherein the factors are determined by at least one of a weight coefficient, the first colour component neighboring reference value, or the second colour component neighboring reference value; and

encoding the video based on the second colour component predicted value;

wherein the method further comprises:

performing downsampling on neighboring reference samples to determine part of reference samples.

12 . The method of claim 11 , further comprising:

determining the second colour component predicted value based on the linear model corresponding to the factors and the first colour component reconstructed value.

13 . The method of claim 11 , wherein a position of the current block is indicative of a position correlation between the current block and the neighboring reference sample.

14 . The method of claim 11 , further comprising:

determining a second colour component estimated value corresponding to the current block by performing component prediction according to a second colour component corresponding to the current block.

15 . The method of claim 11 , wherein the neighboring reference sample comprises at least one of:

an upper reference sample of the current block,

an upper-left reference sample of the current block; or

a left reference sample of the current block.

16 . An encoding apparatus, comprising:

a processor; and

a memory storing an instruction executable by the processor, wherein when the instruction is executed, the processor is configured to perform the method of claim 11 .

17 . A non-transitory computer-readable storage medium, having a computer program and a bitstream stored thereon, wherein the computer program, when executed by a processor, enables the processor to perform the method of claim 11 to generate the bitstream.