# US 2025/0097436 A1 · Cross-component prediction for video coding

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

- Number: US 2025/0097436 A1
- Document ID: US20250097436A1
- Status: Published application
- Kind: A1
- Application number: 18/968,727
- Filed: 2024-12-04
- Published: 2025-03-20
- Earliest claimed: 2022-06-06
- Assignees: Beijing Dajia Internet Information Technology Co., Ltd.
- Applicants: Beijing Dajia Internet Information Technology Co., Ltd.
- Inventors: Hong-Jheng JHU; Che-Wei KUO; Xiaoyu XIU; Ning YAN; Wei CHEN; Xianglin WANG; Bing YU
- Web page: https://patentgrep.com/patent/US20250097436A1

## 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/186: the unit being a colour or a chrominance component
- H04N 19/11: among a plurality of spatial predictive coding modes
- H04N 19/157: Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/593: involving spatial prediction techniques
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 19/96: Tree coding, e.g. quad-tree coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method for video decoding is provided. The method includes obtaining, from a video bitstream, a coding unit in a current picture; selecting a plurality of sets of neighboring samples of the coding unit; determining one or more cross-component prediction models based on the plurality of sets of neighboring samples; obtaining at least one reconstructed luma sample in the luma block that corresponds to a chroma sample in the at least one chroma block; and applying at least one of the one or more cross-component prediction models to the at least one reconstructed luma sample to predict the chroma sample.

## Claims

### Claim 1

A method for video decoding, comprising:
obtaining, from a video bitstream, a coding unit in a current picture, wherein the coding unit comprises a luma block and at least one chroma block;
selecting a plurality of sets of neighboring samples of the coding unit, wherein each of the plurality of sets of neighboring samples comprises a neighboring chroma sample in a reference area and at least one neighboring luma sample corresponding to the neighboring chroma sample, wherein the reference area neighbors a chroma block of the at least one chroma block;
determining one or more cross-component prediction models based on the plurality of sets of neighboring samples, wherein the one or more cross-component prediction models comprise at least one selected from a group that include a cross-component linear model (CCLM) and a multi-model linear model (MMLM);
obtaining at least one reconstructed luma sample in the luma block that corresponds to a chroma sample in the at least one chroma block; and
applying at least one of the one or more cross-component prediction models to the at least one reconstructed luma sample to predict the chroma sample.

### Claim 2 (depends on 1)

The method of claim 1, wherein determining the one or more cross-component prediction models based on the plurality of sets of neighboring samples comprises:
constructing a linear equation based on the plurality of sets of neighboring samples, wherein the linear equation describes a mapping from sample values of luma samples to sample values of chroma samples; and
deriving parameters of the one or more cross-component prediction models by solving the linear equation through at least one of following algorithms: LDL decomposition, pseudo inverse matrix calculation, adjugate matrix calculation, Gauss-Jordan elimination, or Cholesky decomposition.

### Claim 3 (depends on 1)

The method of claim 1, wherein the reference area extends to a right side of the chroma block by a width of the chroma block, and the reference area extends to below the chroma block by a height of the chroma block.

### Claim 4 (depends on 1)

The method of claim 1, wherein the plurality of sets of neighboring samples comprises a neighboring sample in an additional reference line neighboring the reference area.

### Claim 5 (depends on 1)

The method of claim 1, wherein the one or more cross-component prediction models further comprise at least one selected from a group including a filter linear model (FLM), a gradient linear model (GLM), and an edge-classified linear model (ELM).

### Claim 6 (depends on 1)

The method of claim 1, wherein the at least one chroma block comprises a first chroma block and a second chroma block, wherein the reference area comprises a first reference area neighboring the first chroma block and a second reference area neighboring the second chroma block, and
wherein determining the one or more cross-component prediction models based on the plurality of sets of neighboring samples comprises:
determining a first subset of the one or more cross-component prediction models based on first sets of neighboring samples in the plurality of sets of neighboring samples, wherein each of the first sets of neighboring samples comprises a neighboring chroma sample in the first reference area; and
determining a second subset of the one or more cross-component prediction models based on second sets of neighboring samples in the plurality of sets of neighboring samples, wherein each of the second sets of neighboring samples comprises a neighboring chroma sample in the second reference area.

### Claim 7 (depends on 6)

The method of claim 6, wherein at least one of the first reference area and the second reference area is switched in Picture Header (PH), Coding Tree Unit (CTU), or Coding Unit (CU) level.

### Claim 8 (depends on 1)

The method of claim 1, wherein the reference area is determined based on a color format of the current picture.

### Claim 9 (depends on 1)

The method of claim 1, wherein determining the one or more cross-component prediction models based on the plurality of sets of neighboring samples comprises:
in response to determining that a sample value of a neighboring chroma sample or a neighboring luma sample in a set of neighboring samples is unavailable, deriving the sample value of the neighboring chroma sample or the neighboring luma sample from the sample value of at least one of available samples in the set of neighboring samples.

### Claim 10 (depends on 1)

The method of claim 1, wherein determining the one or more cross-component prediction models based on the plurality of sets of neighboring samples comprises:
in response to determining that a sample value of a neighboring chroma sample or a neighboring luma sample in a set of neighboring samples is unavailable, skipping using the set of neighboring samples to determine the one or more cross-component prediction models.

### Claim 11 (depends on 1)

The method of claim 1, wherein the reference area is predefined, or is signaled in Sequence Parameter Set (SPS), Decoding Parameter Set (DPS), Video Parameter Set (VPS), Supplemental Enhancement Information (SEI), Adaptation Parameter Set (APS), Picture Parameter Set (PPS), Picture Header (PH), Slice Header (SH), Region, Coding Tree Unit (CTU), Coding Unit (CU), Subunit or Sample level,
or wherein the reference area is selected from a group of candidates, wherein the group of candidates is predefined, or is signaled in Sequence Parameter Set (SPS), Decoding Parameter Set (DPS), Video Parameter Set (VPS), Supplemental Enhancement Information (SEI), Adaptation Parameter Set (APS), Picture Parameter Set (PPS), Picture Header (PH), Slice Header (SH), Region, Coding Tree Unit (CTU), Coding Unit (CU), Subunit or Sample level.

### Claim 12

An apparatus for video decoding, comprising:
one or more processors; and
one or more memory devices coupled to the one or more processors and configured to, individually or collectively, store instructions executable by the one or more processors,
wherein the one or more processors, upon execution of the instructions, are configured to, individually or collectively, perform operations comprising:
obtaining, from a video bitstream, a coding unit in a current picture, wherein the coding unit comprises a luma block and at least one chroma block;
selecting a plurality of sets of neighboring samples of the coding unit, wherein each of the plurality of sets of neighboring samples comprises a neighboring chroma sample in a reference area and at least one neighboring luma sample corresponding to the neighboring chroma sample, wherein the reference area neighbors a chroma block of the at least one chroma block;
determining one or more cross-component prediction models based on the plurality of sets of neighboring samples, wherein the one or more cross-component prediction models comprise at least one selected from a group that include a cross-component linear model (CCLM) and a multi-model linear model (MMLM);
obtaining at least one reconstructed luma sample in the luma block that corresponds to a chroma sample in the at least one chroma block; and
applying at least one of the one or more cross-component prediction models to the at least one reconstructed luma sample to predict the chroma sample.

### Claim 13 (depends on 12)

The apparatus of claim 12, wherein determining the one or more cross-component prediction models based on the plurality of sets of neighboring samples comprises:
constructing a linear equation based on the plurality of sets of neighboring samples, wherein the linear equation describes a mapping from sample values of luma samples to sample values of chroma samples; and
deriving parameters of the one or more cross-component prediction models by solving the linear equation through at least one of following algorithms: LDL decomposition, pseudo inverse matrix calculation, adjugate matrix calculation, Gauss-Jordan elimination, or Cholesky decomposition.

### Claim 14 (depends on 12)

The apparatus of claim 12, wherein the reference area extends to a right side of the chroma block by a width of the chroma block, and the reference area extends to below the chroma block by a height of the chroma block.

### Claim 15 (depends on 12)

The apparatus of claim 12, wherein the one or more cross-component prediction models further comprise at least one selected from a group including a filter linear model (FLM), a gradient linear model (GLM), and an edge-classified linear model (ELM).

### Claim 16 (depends on 12)

The apparatus of claim 12, wherein the at least one chroma block comprises a first chroma block and a second chroma block, wherein the reference area comprises a first reference area neighboring the first chroma block and a second reference area neighboring the second chroma block, and
wherein determining the one or more cross-component prediction models based on the plurality of sets of neighboring samples comprises:
determining a first subset of the one or more cross-component prediction models based on first sets of neighboring samples in the plurality of sets of neighboring samples, wherein each of the first sets of neighboring samples comprises a neighboring chroma sample in the first reference area; and
determining a second subset of the one or more cross-component prediction models based on second sets of neighboring samples in the plurality of sets of neighboring samples, wherein each of the second sets of neighboring samples comprises a neighboring chroma sample in the second reference area.

### Claim 17 (depends on 12)

The apparatus of claim 12, wherein determining the one or more cross-component prediction models based on the plurality of sets of neighboring samples comprises:
in response to determining that a sample value of a neighboring chroma sample or a neighboring luma sample in a set of neighboring samples is unavailable, deriving the sample value of the neighboring chroma sample or the neighboring luma sample from the sample value of at least one of available samples in the set of neighboring samples.

### Claim 18 (depends on 12)

The apparatus of claim 12, wherein determining the one or more cross-component prediction models based on the plurality of sets of neighboring samples comprises:
in response to determining that a sample value of a neighboring chroma sample or a neighboring luma sample in a set of neighboring samples is unavailable, skipping using the set of neighboring samples to determine the one or more cross-component prediction models.

### Claim 19 (depends on 12)

The apparatus of claim 12, wherein the reference area is predefined, or is signaled in Sequence Parameter Set (SPS), Decoding Parameter Set (DPS), Video Parameter Set (VPS), Supplemental Enhancement Information (SEI), Adaptation Parameter Set (APS), Picture Parameter Set (PPS), Picture Header (PH), Slice Header (SH), Region, Coding Tree Unit (CTU), Coding Unit (CU), Subunit or Sample level,
or wherein the reference area is selected from a group of candidates, wherein the group of candidates is predefined, or is signaled in Sequence Parameter Set (SPS), Decoding Parameter Set (DPS), Video Parameter Set (VPS), Supplemental Enhancement Information (SEI), Adaptation Parameter Set (APS), Picture Parameter Set (PPS), Picture Header (PH), Slice Header (SH), Region, Coding Tree Unit (CTU), Coding Unit (CU), Subunit or Sample level.

### Claim 20

A non-transitory computer-readable storage medium for video decoding storing a bitstream to be decoded by operations comprising:
obtaining, from a video bitstream, a coding unit in a current picture, wherein the coding unit comprises a luma block and at least one chroma block;
selecting a plurality of sets of neighboring samples of the coding unit, wherein each of the plurality of sets of neighboring samples comprises a neighboring chroma sample in a reference area and at least one neighboring luma sample corresponding to the neighboring chroma sample, wherein the reference area neighbors a chroma block of the at least one chroma block;
determining one or more cross-component prediction models based on the plurality of sets of neighboring samples, wherein the one or more cross-component prediction models comprise at least one selected from a group that include a cross-component linear model (CCLM) and a multi-model linear model (MMLM);
obtaining at least one reconstructed luma sample in the luma block that corresponds to a chroma sample in the at least one chroma block; and
applying at least one of the one or more cross-component prediction models to the at least one reconstructed luma sample to predict the chroma sample.
