# US 2024/0179308 A1 · Advanced Fusion Mode For Adaptive Loop Filter In Video Coding

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

- Number: US 2024/0179308 A1
- Document ID: US20240179308A1
- Status: Published application
- Kind: A1
- Application number: 18/430,882
- Filed: 2024-02-02
- Published: 2024-05-30
- Earliest claimed: 2021-08-14
- Assignees: Beijing Bytedance Network Technology Co., Ltd.; Bytedance Inc.
- Applicants: Beijing Bytedance Network Technology Co., Ltd.; Bytedance Inc.
- Inventors: Wenbin Yin; Kai Zhang; Li Zhang
- Web page: https://patentgrep.com/patent/US20240179308A1

## CPC

- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- 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/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/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 processing media data. The method includes filtering a sample of a video unit using one or more virtual filters of a fusion mode to produce a filtering result; and performing a conversion between a video including the video unit and a bitstream of the video based on the sample as filtered. A corresponding video coding apparatus and non-transitory computer-readable recording medium are also disclosed.

## Claims

### Claim 1

A method for processing video data, comprising:
filtering, during a conversion between a video comprising a video unit and a bitstream of the video, a sample of the video unit using one or more virtual filters of a fusion mode to produce a filtering result; and
performing the conversion based on the sample as filtered,
wherein the sample comprises a sample in an adaptive loop filter (ALF) processing unit, and
wherein the fusion mode comprises an ALF fusion mode, and wherein the one or more virtual filters are generated by the ALF fusion mode.

### Claim 2 (depends on 1)

The method of claim 1, wherein indications of function parameters for fusing based on the fusion mode are generated based on different types of information.

### Claim 3 (depends on 2)

The method of claim 2, wherein the different types of information include at least one of: statistical information of the ALF processing unit, the video unit, a slice, a picture, or a sequence of pictures; statistical information of filters selected for the fusion mode; or
encoding information of the video unit, and wherein the encoding information comprises a coding mode, a size of the video unit, or a number of non-zero transform coefficients.

### Claim 4 (depends on 1)

The method of claim 1, wherein the one or more virtual filters are generated by fusing coefficients of each position of a plurality of filters selected by the fusion mode with other fusion functions.

### Claim 5 (depends on 1)

The method of claim 1, wherein one or more syntax elements are used for the ALF fusion mode.

### Claim 6 (depends on 5)

The method of claim 5, wherein filters within multiple adaptation parameter sets (APSs) or pre-defined filter sets are used by the video unit for the fusion mode.

### Claim 7 (depends on 5)

The method of claim 5, wherein the one or more syntax elements include a first video unit level flag, which is derived, pre-defined, or determined in real time to indicate whether the fusion mode is applied to the video unit.

### Claim 8 (depends on 5)

The method of claim 5, wherein a number of filters selected by the fusion mode is included in the bitstream, derived, pre-defined, or determined in real time.

### Claim 9 (depends on 5)

The method of claim 5, wherein the one or more syntax elements include a second video unit level flag, which is derived, pre-defined, or determined in real time to indicate whether one or more APSs containing fused virtual filters are included in the bitstream.

### Claim 10 (depends on 9)

The method of claim 9, wherein a number of the one or more APSs containing the fused virtual filters is included in the bitstream, derived, pre-defined, or determined in real time.

### Claim 11 (depends on 5)

The method of claim 5, wherein a maximum APS index or a maximum pre-defined filter set index is included in the bitstream, derived, pre-defined, or determined in real time.

### Claim 12 (depends on 11)

The method of claim 11, wherein at least one of the following conditions is applied to the method:
wherein a fixed number of APS indexes or a fixed number of pre-defined filter set indexes are included in the bitstream, derived, pre-defined, or determined in real time,
wherein the APS or the pre-defined filter set is not used for the fusion mode when a corresponding APS index or a corresponding pre-defined filter set index included in the bitstream, derived, pre-defined, or determined in real time is greater than the maximum APS index or the maximum pre-defined filter set index,
wherein the fusion mode is applied to the video unit when one of the APS or the pre-defined filter set included in the bitstream, derived, pre-defined, or determined in real time is greater than the maximum APS index or the maximum pre-defined filter set index, and
wherein the fusion mode is applied to the video unit when only one or none of the APS or the pre-defined filter set included in the bitstream, derived, pre-defined, or determined in real time is less than the maximum APS index or the maximum pre-defined filter set index.

### Claim 13 (depends on 1)

The method of claim 1, wherein indications of function parameters, or indications of function parameters index, for each position of each filter selected by the fusion mode are included in the bitstream, derived, pre-defined, or determined in real time.

### Claim 14 (depends on 13)

The method of claim 13, wherein the indications of the function parameters, or the indications of the function parameters, are coded in a predictive way or based on one or more lookup tables or based on correlations among coding information, the coding information including at least one of picture order count (POC) distance, temporal layer or slice type.

### Claim 15 (depends on 1)

The method of claim 1, wherein indications of function parameters of a first filter selected by the fusion mode are set to one, wherein indications of function parameters of a second filter selected by the fusion mode is set to zero by default, and wherein the second filter with the indications of the function parameters set to zero is not applied for the fusion mode, and
wherein a fusion mode filter index is included in the bitstream, derived, pre-defined, or determined in real time when more than one filter selected by the fusion mode is from an identical APS or an identical pre-defined filter set.

### Claim 16 (depends on 1)

The method of claim 1, wherein at least one of the following conditions is applied to the method:
wherein the fusion mode is used independently for the video unit,
wherein two or more different fusion modes are used jointly for the video unit,
wherein the two or more different fusion modes are used for different color components or different color spaces independently,
wherein the two or more different fusion modes are used for different color components or different color spaces jointly,
wherein the video unit comprises a sequence of pictures, a picture, a sub-picture, a slice, a tile, one or more coding tree units (CTUs), a CTU row, a coding unit (CU), a prediction unit (PU), a transform unit (TU), a coding tree block (CTB), a coding block (CB), a prediction block (PB), a transform block (TB), any region that contains more than one luma sample or pixel, or any region that contains more than one chroma sample or pixel,
wherein whether or how to apply the method is indicated in the bitstream at a sequence level, group of pictures level, picture level, slice level, tile group level or in a sequence header, picture header, sequence parameter set (SPS), video parameter set (VPS), dependency parameter set (DPS), decoder capability information (DCI), picture parameter set (PPS), APS, slice header, or tile group header,
wherein whether or how to apply the method is indicated in the PB, the TB, the CB, the PU, the TU, the CU, a virtual pipeline data unit (VPDU), a CTU, the CTU row, the slice, the tile, the sub-picture, or the region that contains more than one sample or pixel, and
wherein whether or how to apply the method is dependent on coded information, and wherein the coded information comprises a block size, a color format, a single or dual tree partitioning, a color component, a slice type, or a picture type.

### Claim 17 (depends on 1)

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

### Claim 18 (depends on 1)

The method of claim 1, wherein the conversion includes decoding the video data 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:
filter, during a conversion between a video comprising a video unit and a bitstream of the video, a sample of the video unit using one or more virtual filters of a fusion mode to produce a filtering result; and
perform the conversion based on the sample as filtered,
wherein the sample comprises a sample in an adaptive loop filter (ALF) processing unit, wherein the fusion mode comprises an ALF fusion mode, and wherein the one or more virtual filters are generated by the ALF fusion mode.

### 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:
filtering, for the video comprising a video unit, a sample of the video unit using one or more virtual filters of a fusion mode to produce a filtering result; and
generating the bitstream based on the sample as filtered,
wherein the sample comprises a sample in an adaptive loop filter (ALF) processing unit, wherein the fusion mode comprises an ALF fusion mode, and wherein the one or more virtual filters are generated by the ALF fusion mode.
