# US 2022/0286674 A1 · Cross-component adaptive filtering and subblock coding

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

- Number: US 2022/0286674 A1
- Document ID: US20220286674A1
- Status: Published application
- Kind: A1
- Application number: 17/824,386
- Filed: 2022-05-25
- Published: 2022-09-08
- Earliest claimed: 2019-11-30
- Assignees: Beijing Bytedance Network Technology Co., Ltd.; Bytedance Inc.
- Applicants: Beijing Bytedance Network Technology Co., Ltd.; Bytedance Inc.
- Inventors: Yang WANG; Li ZHANG; Hongbin LIU; Kai ZHANG; Kui FAN; Yue WANG
- Web page: https://patentgrep.com/patent/US20220286674A1

## CPC

- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/119: Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
- 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/186: the unit being a colour or a chrominance component
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 19/82: involving filtering within a prediction loop
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method of video processing, including performing a conversion between a video block of a video component of a video and a bitstream of the video, where the video block includes sub-blocks, where a filtering tool is used during the conversion according to a rule, and where the rule specifies that the filtering tool is applied by using a single offset for all samples of each sub-block of the video block.

## Claims

### Claim 1

A method of processing video data, comprising:
performing a conversion between a video block of a first video component of a video and a bitstream of the video,
wherein the conversion of a sample of the first video component includes applying a cross-component adaptive loop filter (CC-ALF) tool on sample differences of a second video component of the video, and
wherein the CC-ALF tool predicts sample values of the video block of the first video component of the video from sample values of another video component of the video.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first video component is a chroma component and the second video component is a luma component, and
wherein the sample difference of the second video component is determined by obtaining a difference between a luma representative sample in a luma filter support region and another luma sample in the luma filter support region.

### Claim 3 (depends on 2)

The method of claim 2, wherein the sample is located at a location (X, Y) and the representative luma sample is selected from location (2×, 2Y), and
wherein X and Y are integer offsets to the sample location from a top left corner of the video block located at (0, 0).

### Claim 4 (depends on 3)

The method of claim 3, wherein the sample is located at a location (X, Y) and the representative luma sample is selected from any one location from locations (2×, 2Y), (2×, 2Y+1), (2×+1, 2Y), (2×+1, 2Y−1), (2×, 2Y−1), (2×−1, 2Y−1), (2×−1, 2Y), and
wherein X and Y are integer offsets to the sample location from a top left corner of the video block located at (0, 0).

### Claim 5 (depends on 3)

The method of claim 3, wherein the sample is located at a location (X, Y) and the representative luma sample is selected from location (2×, 2Y) and the another luma sample is located at (2×+1, 2Y), or
the sample is located at a location (X, Y) and the representative luma sample is selected from location (2×, 2Y) and the another luma sample is located at (2×, 2Y+1),
wherein X and Y are integer offsets to the sample location from a top left corner of the video block located at (0, 0).

### Claim 6 (depends on 3)

The method of claim 3, wherein the selection of the representative sample is based on a color format for the video block.

### Claim 7 (depends on 1)

The method of claim 1, wherein a filter having support across multiple video components of the video is used for the cross-component adaptive loop filtering (CC-ALF) tool used during the conversion.

### Claim 8 (depends on 7)

The method of claim 7, wherein the multiple video components comprise the second video component and a third video component, and
wherein one or more syntax elements in the bitstream sequentially indicate use of filter coefficients applied on the second video component and the third video component to correct the first video component.

### Claim 9 (depends on 8)

The method of claim 8, wherein filter coefficients of the second video component are indicated in the bitstream before filter coefficients of the third video component, or
the filter coefficients of the second video component are interleaved with the filter coefficients of the third video component.

### Claim 10 (depends on 8)

The method of claim 8, wherein a correction of samples in the first video component is performed by filtering samples in the second video component, or
a correction of a sample in the first video component is performed by samples from the multiple video components.

### Claim 11 (depends on 10)

The method of claim 10, wherein the correction of the sample of the first video component is performed by using a same filter on the multiple video components.

### Claim 12 (depends on 11)

The method of claim 11,
wherein the filter includes a symmetric 8-tap filter shape with 4 unique coefficients, or
wherein the filter includes a symmetric 8-tap filter shape with 5 unique coefficients, or
wherein the filter includes an 8-tap filter shape with 6 unique coefficients.

### Claim 13 (depends on 11)

The method of claim 11, wherein the sample of the first video component is corrected using an average or a weighted average of offsets derived from the multiple video components, or
the sample of the first video component is corrected by multiplying offsets derived from the multiple video components.

### Claim 14 (depends on 1)

The method of claim 1, wherein samples in multiple video frames of the video are used to refine a set of samples in a current video frame of the video in the cross-component adaptive loop filter (CC-ALF) tool or an adaptive loop filter (ALF) tool applied during the conversion,
wherein the ALF tool filters samples of the video block of the video component using a loop filter.

### Claim 15 (depends on 14)

The method of claim 14, wherein whether to use the samples from the multiple video frames to refine the set of samples in the current video frame is indicated in the bitstream at a sequence level or a picture level or a slice level or a tile group level in a sequence header, a picture header, a sequence parameter set (SPS), a video parameter set (VPS), a decoder parameter set (DPS), a picture parameter set (PPS), an adaptation parameter set (APS), a slice header, or a tile group header.

### Claim 16 (depends on 14)

The method of claim 14, wherein the multiple video frames include reference pictures of the current video frame or the current video frame, and
wherein a picture of the video that is nearest to the current video frame is used for the ALF tool and/or the CC-ALF tool,
short-term pictures of the current video frame are used for the ALF tool and/or the CC-ALF tool;
long-term pictures of the current video frame are used for the ALF tool and/or the CC-ALF tool;
reference pictures in a same temporal layer of the current video frame are used for the ALF tool and/or the CC-ALF tool; or
reference pictures in different temporal layers of the current video frame are used for the ALF tool and/or the CC-ALF tool.

### Claim 17 (depends on 1)

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

### Claim 18 (depends on 1)

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

### Claim 19

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:
perform a conversion between a video block of a first video component of a video and a bitstream of the video,
wherein the conversion of a sample of the first video component includes applying a cross-component adaptive loop filter (CC-ALF) tool on sample differences of a second video component of the video, and
wherein the CC-ALF tool predicts sample values of the video block of the first video component of the video from sample values of another video component of the video.

### 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:
generating, for a video block of a first video component of the video, the bitstream of the video,
wherein the generating of a sample of the first video component includes applying a cross-component adaptive loop filter (CC-ALF) tool on sample differences of a second video component of the video, and
wherein the CC-ALF tool predicts sample values of the video block of the first video component of the video from sample values of another video component of the video.
