# US 2022/0279169 A1 · Methods for cross component dependency reduction

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

- Number: US 2022/0279169 A1
- Document ID: US20220279169A1
- Status: Published application
- Kind: A1
- Application number: 17/740,753
- Filed: 2022-05-10
- Published: 2022-09-01
- Earliest claimed: 2019-04-23
- Assignees: Beijing Bytedance Network Technology Co., Ltd.; Bytedance Inc.
- Applicants: Beijing Bytedance Network Technology Co., Ltd.; Bytedance Inc.
- Inventors: Zhipin DENG; Li ZHANG; Hongbin LIU; Kai ZHANG; Jizheng XU
- Web page: https://patentgrep.com/patent/US20220279169A1

## 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/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/176: the region being a block, e.g. a macroblock
- H04N 19/186: the unit being a colour or a chrominance component
- H04N 19/1883: {the unit relating to sub-band structure, e.g. hierarchical level, directional tree, e.g. low-high [LH], high-low [HL], high-high [HH]}
- H04N 19/30: using hierarchical techniques, e.g. scalability (H04N19/63 takes precedence)
- H04N 19/593: involving spatial prediction techniques
- H04N 19/96: Tree coding, e.g. quad-tree coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method for visual media processing, including: computing, during a conversion between a current video block of visual media data and a bitstream representation of the current video block, a cross-component linear model (CCLM) and/or a chroma residual scaling (CRS) factor for the current video block based, at least in part, on neighboring samples of a corresponding luma block which covers a top-left sample of a collocated luma block associated with the current video block, wherein one or more characteristics of the current video block are used for identifying the corresponding luma block.

## Claims

### Claim 1

A method of processing video data, comprising:
determining, during a conversion between a current chroma video block of a video and a bitstream of the video, that a scaling process is applied on chroma residual samples of the current chroma video block; and
performing the conversion by applying the scaling process on the chroma residual samples,
wherein, in the scaling process, the chroma residual samples are scaled based on at least one scaling factor before being used to reconstruct the current chroma video block,
wherein the at least one scaling factor is derived based on an averaged luma variable computed based on at least one neighboring luma block of a video unit of the video which is determined based on a luma sample corresponding to a top-left sample of the current chroma video block, and
wherein, in response to all of the at least one neighboring luma block being unavailable, the averaged luma variable is set to a default fixed value.

### Claim 2 (depends on 1)

The method of claim 1, wherein the scaling process is performed based on a piecewise linear model, and wherein an index identifying a piece to which the averaged luma variable belongs, and the at least one scaling factor is derived based on the index.

### Claim 3 (depends on 1)

The method of claim 1,wherein in response to a first neighboring luma block of the at least one neighboring luma block and the video unit being located in different video regions, the first neighboring luma block is treated as unavailable, and wherein the different video regions include at least one of a different slices or different tiles.

### Claim 4 (depends on 1)

The method of claim 1, wherein the default fixed value is used to find an index identifying the piece to which the default fixed value belongs, and the at least one scaling factor is calculated from the found index.

### Claim 5 (depends on 1)

The method of claim 1, wherein the default fixed value depends on a bit depth of the video.

### Claim 6 (depends on 5)

The method of claim 5, wherein the default fixed value is expressed as 1<<(bitDepth−1), where bitDepth denotes the bit depth of the video.

### Claim 7 (depends on 1)

The method of claim 1, wherein the at least one neighboring luma block is adjacent to the video unit.

### Claim 8 (depends on 1)

The method of claim 1, wherein a location of the video unit is derived based on one or more characteristics of the current chroma video block or the video unit.

### Claim 9 (depends on 8)

The method of claim 8, wherein the one or more characteristics include at least one of a block size and a location information.

### Claim 10 (depends on 8)

The method of claim 8, wherein the one or more characteristics are refrained to be stored in a line buffer.

### Claim 11 (depends on 1)

The method of claim 1, wherein the current chroma video block and the video unit are located inside a same coding tree unit.

### Claim 12 (depends on 1)

The method of claim 1, wherein the current chroma video block and the video unit are located inside a same coding tree unit row.

### Claim 13 (depends on 1)

The method of claim 1, wherein the conversion includes encoding the current chroma video block into the bitstream.

### Claim 14 (depends on 1)

The method of claim 1, wherein the conversion includes decoding the current chroma video block from the bitstream.

### Claim 15

An apparatus for processing video data comprising a processor and a non-transitory memory with instructions thereon, wherein the instructions upon execution by the processor, cause the processor to:
determine, during a conversion between a current chroma video block of a video and a bitstream of the video, that a scaling process is applied on chroma residual samples of the current chroma video block; and
perform the conversion by applying the scaling process on the chroma residual samples,
wherein, in the scaling process, the chroma residual samples are scaled based on at least one scaling factor before being used to reconstruct the current chroma video block,
wherein the at least one scaling factor is derived based on an averaged luma variable computed based on at least one neighboring luma block of a video unit of the video which is determined based on a luma sample corresponding to a top-left sample of the current chroma video block, and
wherein, in response to all of the at least one neighboring luma block being unavailable, the averaged luma variable is set to a default fixed value.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein the scaling process is performed based on a piecewise linear model, and wherein an index identifying a piece to which the averaged luma variable belongs, and the at least one scaling factor is derived based on the index.

### Claim 17 (depends on 15)

The apparatus of claim 15, wherein in response to a first neighboring luma block of the at least one neighboring luma block and the video unit being located in different video regions, the first neighboring luma block is treated as unavailable, and wherein the different video regions include at least one of a different slices or different tiles.

### Claim 18 (depends on 15)

The apparatus of claim 15, wherein the default fixed value is used to find an index identifying the piece to which the default fixed value belongs, and the at least one scaling factor is calculated from the found index.

### Claim 19

A non-transitory computer-readable storage medium storing instructions that cause a processor to:
determine, during a conversion between a current chroma video block of a video and a bitstream of the video, that a scaling process is applied on chroma residual samples of the current chroma video block; and
perform the conversion by applying the scaling process on the chroma residual samples,
wherein, in the scaling process, the chroma residual samples are scaled based on at least one scaling factor before being used to reconstruct the current chroma video block,
wherein the at least one scaling factor is derived based on an averaged luma variable computed based on at least one neighboring luma block of a video unit of the video which is determined based on a luma sample corresponding to a top-left sample of the current chroma video block, and
wherein, in response to all of the at least one neighboring luma block being unavailable, the averaged luma variable is set to a default fixed value.

### Claim 20

A non-transitory computer-readable recording medium storing a bitstream of a video which is generated by a method performed by a video processing apparatus, wherein the method comprises:
determining that a scaling process is applied on chroma residual samples of the current chroma video block; and
generating the bitstream by applying the scaling process on the chroma residual samples,
wherein, in the scaling process, the chroma residual samples are scaled based on at least one scaling factor before being used to reconstruct the current chroma video block,
wherein the at least one scaling factor is derived based on an averaged luma variable computed based on at least one neighboring luma block of a video unit of the video which is determined based on a luma sample corresponding to a top-left sample of the current chroma video block, and
wherein, in response to all of the at least one neighboring luma block being unavailable, the averaged luma variable is set to a default fixed value.
