# US 2024/0267548 A1 · Adaptive quantization step size in ccso filtering

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

- Number: US 2024/0267548 A1
- Document ID: US20240267548A1
- Status: Published application
- Kind: A1
- Application number: 18/641,136
- Filed: 2024-04-19
- Published: 2024-08-08
- Earliest claimed: 2020-11-12
- Assignees: Tencent America LLC
- Applicants: Tencent America LLC
- Inventors: Yixin Du; Xin Zhao; Shan Liu
- Web page: https://patentgrep.com/patent/US20240267548A1

## CPC

- H04N 19/44: Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/124: Quantisation
- 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/30: using hierarchical techniques, e.g. scalability (H04N19/63 takes precedence)
- 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

Aspects of the disclosure include methods, apparatuses, and non-transitory computer-readable storage mediums for video encoding/decoding. An apparatus includes processing circuitry that determines reconstructed samples of a first color component in a filter support region of a current picture that is a part of a coded video sequence. The processing circuitry performs a filter process on the reconstructed samples of the first color component in the filter support region. A quantization step size of the filter process is separately set per one of a coding block, a video frame, and a video sequence. The processing circuitry reconstructs samples of a second color component in the filter support region based on an output value of the filter process. The second color component is different from the first color component.

## Claims

### Claim 1

A method of video encoding, comprising:
determining reconstructed samples of a first color component in a filter support region of a current block;
determining a quantization step size of a cross-component sample offset (CCSO) filter corresponding to the filter support region, wherein the quantization step size is separately set for each coding block, each video frame, or each video sequence; and
generating a coded video bitstream by encoding the current block and by signaling the determined quantization step size in the coded video bitstream.

### Claim 2 (depends on 1)

The method of claim 1, wherein an offset value determined by the CCSO filter is scaled based on difference values between a center reconstructed sample of the first color component of the filter support region and each of plural surrounding reconstructed samples of the first color component of the filter support region.

### Claim 3 (depends on 1)

The method of claim 1, wherein an offset value determined by the CCSO filter is scaled based on the determined quantization step size of the CCSO filter.

### Claim 4 (depends on 3)

The method of claim 3, wherein the scaling the offset value includes scaling the offset value based on a ratio of (i) an average of absolute values of difference values between a center reconstructed sample of the first color component of the filter support region and each of plural surrounding reconstructed samples of the first color component to (ii) the quantization step size of the CCSO filter.

### Claim 5 (depends on 4)

The method of claim 4, wherein the scaling the offset value includes scaling the offset value by max (1, the ratio).

### Claim 6 (depends on 5)

The method of claim 5, wherein each of the plural surrounding reconstructed samples of the first color component used to calculate the difference values has a non-zero value.

### Claim 7 (depends on 1)

The method of claim 1, further comprising including, in the coded video bitstream, a syntax element indicating whether scaling an offset value determined by the CCSO filter is enabled.

### Claim 8 (depends on 7)

The method of claim 7, wherein the syntax element is signaled for one of: each block, each frame, each slice, each tile, each coding tree unit (CTU), or each sequence.

### Claim 9

An apparatus for video decoding, comprising:
processing circuitry configured to determine reconstructed samples of a first color component in a filter support region of a current block;
determine a quantization step size of a cross-component sample offset (CCSO) filter corresponding to the filter support region, wherein the quantization step size is separately set for each coding block, each video frame, or each video sequence;
apply the CCSO filter to the reconstructed samples of the first color component in the filter support region, the CCSO filter having the determined quantization step size; and
reconstruct samples of a second color component in the filter support region based on an output of the CCSO filter.

### Claim 10 (depends on 9)

The apparatus of claim 9, wherein the processing circuitry is further configured to scale an offset value determined by the CCSO filter based on difference values between a center reconstructed sample of the first color component of the filter support region and each of plural surrounding reconstructed samples of the first color component of the filter support region.

### Claim 11 (depends on 9)

The apparatus of claim 9, wherein the processing circuitry is further configured to scale an offset value determined by the CCSO filter based on the determined quantization step size of the CCSO filter.

### Claim 12 (depends on 11)

The apparatus of claim 11, wherein the processing circuitry is further configured to scale the offset value based on a ratio of (i) an average of absolute values of difference values between a center reconstructed sample of the first color component of the filter support region and each of plural surrounding reconstructed samples of the first color component to (ii) the quantization step size of the CCSO filter.

### Claim 13 (depends on 12)

The apparatus of claim 12, wherein the processing circuitry is further configured to scale the offset value by max (1, the ratio).

### Claim 14 (depends on 13)

The apparatus of claim 13, wherein each of the plural surrounding reconstructed samples of the first color component used to calculate the difference values has a non-zero value.

### Claim 15 (depends on 9)

The apparatus of claim 9, wherein the processing circuitry is further configured to:
determine whether to scale an offset value determined by the CCSO filter based on a syntax element indicating whether scaling the offset value of the CCSO filter is enabled.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein the syntax element is signaled for one of: each block, each frame, each slice, each tile, each coding tree unit (CTU), or each sequence.

### Claim 17

A method of processing visual media data, the method comprising:
performing a conversion between a visual media file and a bitstream of visual media data according to a format rule, wherein
the bitstream includes coded information of a current block,
the format rule specifies that reconstructed samples of a first color component in a filter support region of the current block are determined;
the format rule specifies that a quantization step size of a cross-component sample offset (CCSO) filter corresponding to the filter support region is determined, wherein the quantization step size is separately set for each coding block, each video frame, or each video sequence;
the format rule specifies that the CCSO filter is applied to the reconstructed samples of the first color component in the filter support region, the CCSO filter having the determined quantization step size; and
the format rule specifies that samples of a second color component in the filter support region are reconstructed from the bitstream based on an output of the CCSO filter.

### Claim 18 (depends on 17)

The method of claim 17, wherein an offset value determined by the CCSO filter is scaled based on difference values between a center reconstructed sample of the first color component of the filter support region and each of plural surrounding reconstructed samples of the first color component of the filter support region.

### Claim 19 (depends on 17)

The method of claim 17, wherein an offset value determined by the CCSO filter is scaled based on the determined quantization step size of the CCSO filter.

### Claim 20 (depends on 19)

The method of claim 19, wherein the scaling the offset value includes scaling the offset value based on a ratio of (i) an average of absolute values of difference values between a center reconstructed sample of the first color component of the filter support region and each of plural surrounding reconstructed samples of the first color component to (ii) the quantization step size of the CCSO filter.
