# US 12,114,016 B2 · Interplay between in-loop filtering and video slices

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

- Number: US 12,114,016 B2
- Document ID: US12114016B2
- Status: Granted
- Kind: B2
- Application number: 17/888,238
- Filed: 2022-08-15
- Published: 2022-12-08
- Granted: 2024-10-08
- Earliest claimed: 2020-02-14
- Assignees: Beijing Bytedance Network Technology Co., Ltd.; Bytedance Inc.
- Applicants: Beijing Bytedance Network Technology Co., Ltd.; Bytedance Inc.
- Inventors: Kai Zhang; Li Zhang; Yang Wang; Ye-kui Wang; Zhipin Deng; Jizheng Xu; Hongbin Liu
- Web page: https://patentgrep.com/patent/US12114016B2

## CPC

- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- 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/12: Selection from among a plurality of transforms or standards, e.g. selection between discrete cosine transform [DCT] and sub-band transform or selection between H.263 and H.264
- H04N 19/172: the region being a picture, frame or field
- H04N 19/174: the region being a slice, e.g. a line of blocks or a group of blocks
- 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/46: Embedding additional information in the video signal during the compression process (H04N19/517, H04N19/68, H04N19/70 take precedence)
- H04N 19/52: by predictive encoding
- H04N 19/635: characterised by filter definition or implementation details
- H04N 19/82: involving filtering within a prediction loop
- H04N 19/86: involving reduction of coding artifacts, e.g. of blockiness
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method includes performing a conversion between a video unit of a video and a bitstream of the video. The bitstream conforms to a format rule. The format rule specifies that a syntax element indicating whether an in-loop filtering operation is performed across slice boundaries is selectively included in the bitstream based on whether or how the video unit is partitioned into slices.

## Claims

### Claim 1

A method of processing video data, comprising:
performing encoding or decoding between a video comprising a video unit and a bitstream of the video,
wherein the bitstream conforms to a format rule,
wherein the format rule specifies that a syntax element indicating whether an in-loop filtering operation is allowed to be performed across slice boundaries is conditionally included in the bitstream based on whether the video unit is partitioned into more than one slice,
wherein when the video unit is a sub-picture, the format rule specifies that the syntax element is included in the bitstream when the sub-picture being partitioned into only one slice,
wherein the format rule specifies that the syntax element is included in the bitstream when a first flag being equal to 1, which specifies that the sub-picture consists of one and only one rectangular slice, and
wherein the first flag is single_slice_per_subpic_flag, and wherein the first flag is in a picture parameter set.

### Claim 2 (depends on 1)

The method of claim 1, wherein the syntax element is in a picture parameter set.

### Claim 3 (depends on 1)

The method of claim 1, wherein when the video unit is a picture, the format rule further specifies that the syntax element is included in the bitstream when the picture being partitioned in a non-rectangular shape,
wherein the format rule specifies that the syntax element is included in the bitstream when a second flag being equal to 0, which specifies that a raster-scan slice mode is in use for the picture, and
wherein the raster-scan slice mode is a non-rectangular slice mode, wherein the second flag is rect_slice_flag, and wherein the second flag is in a picture parameter set.

### Claim 4 (depends on 1)

The method of claim 1, wherein the format rule further specifies that information about applicability of a tool to the encoding or decoding is allowed to be indicated in the bitstream at both a video slice level and a video picture level, and wherein the tool is configured to map luma samples to particular values and selectively apply a scaling operation to values of chroma samples.

### Claim 5 (depends on 1)

The method of claim 1, wherein performing the encoding or the decoding comprises encoding the video into the bitstream.

### Claim 6 (depends on 1)

The method of claim 1, wherein performing the encoding or the decoding comprises decoding the video from the bitstream.

### Claim 7

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 encoding or decoding between a video comprising a video unit and a bitstream of the video,
wherein the bitstream conforms to a format rule,
wherein the format rule specifies that a syntax element indicating whether an in-loop filtering operation is allowed to be performed across slice boundaries is conditionally included in the bitstream based on whether the video unit is partitioned into more than one slice,
wherein when the video unit is a sub-picture, the format rule specifies that the syntax element is included in the bitstream when the sub-picture being partitioned into only one slice,
wherein the format rule specifies that the syntax element is included in the bitstream when a first flag being equal to 1, which specifies that the sub-picture consists of one and only one rectangular slice, and
wherein the first flag is single_slice_per_subpic_flag, and wherein the first flag is in a picture parameter set.

### Claim 8 (depends on 7)

The apparatus of claim 7, wherein the syntax element is in a picture parameter set.

### Claim 9 (depends on 7)

The apparatus of claim 7, wherein when the video unit is a picture, the format rule further specifies that the syntax element is included in the bitstream when the picture being partitioned in a non-rectangular shape,
wherein the format rule specifies that the syntax element is included in the bitstream when a second flag being equal to 0, which specifies that a raster-scan slice mode is in use for the picture,
wherein the raster-scan slice mode is a non-rectangular slice mode, wherein the second flag is rect_slice_flag, and wherein the second flag is in a picture parameter set, and
wherein the format rule further specifies that information about applicability of a tool to the encoding or decoding is allowed to be indicated in the bitstream at both a video slice level and a video picture level, and wherein the tool is configured to map luma samples to particular values and selectively apply a scaling operation to values of chroma samples.

### Claim 10

A non-transitory computer-readable storage medium storing instructions that cause a processor to:
perform encoding or decoding between a video comprising a video unit and a bitstream of the video,
wherein the bitstream conforms to a format rule,
wherein the format rule specifies that a syntax element indicating whether an in-loop filtering operation is allowed to be performed across slice boundaries is conditionally included in the bitstream based on whether the video unit is partitioned into more than one slice,
wherein when the video unit is a sub-picture, the format rule specifies that the syntax element is included in the bitstream when the sub-picture being partitioned into only one slice,
wherein the format rule specifies that the syntax element is included in the bitstream when a first flag being equal to 1, which specifies that the sub-picture consists of one and only one rectangular slice, and
wherein the first flag is single_slice_per_subpic_flag, and wherein the first flag is in a picture parameter set.

### Claim 11 (depends on 10)

The non-transitory computer-readable storage medium of claim 10, wherein the syntax element is in a picture parameter set.

### Claim 12 (depends on 10)

The non-transitory computer-readable storage medium of claim 10, wherein when the video unit is a picture, the format rule further specifies that the syntax element is included in the bitstream when the picture being partitioned in a non-rectangular shape,
wherein the format rule specifies that the syntax element is included in the bitstream when a second flag being equal to 0, which specifies that a raster-scan slice mode is in use for the picture,
wherein the raster-scan slice mode is a non-rectangular slice mode, wherein the second flag is rect_slice_flag, and wherein the second flag is in a picture parameter set, and
wherein the format rule further specifies that information about applicability of a tool to the encoding or decoding is allowed to be indicated in the bitstream at both a video slice level and a video picture level, and wherein the tool is configured to map luma samples to particular values and selectively apply a scaling operation to values of chroma samples.

### Claim 13

A method for storing a bitstream of a video, wherein the method comprises:
generating a bitstream for a video comprising a video unit; and
storing the bitstream in a non-transitory computer-readable recording medium,
wherein the bitstream conforms to a format rule,
wherein the format rule specifies that a syntax element indicating whether an in-loop filtering operation is allowed to be performed across slice boundaries is conditionally included in the bitstream based on whether the video unit is partitioned into more than one slice,
wherein when the video unit is a sub-picture, the format rule specifies that the syntax element is included in the bitstream when the sub-picture being partitioned into only one slice,
wherein the format rule specifies that the syntax element is included in the bitstream when a first flag being equal to 1, which specifies that the sub-picture consists of one and only one rectangular slice, and
wherein the first flag is single_slice_per_subpic_flag, and wherein the first flag is in a picture parameter set.

### Claim 14 (depends on 13)

The method of claim 13, wherein the syntax element is in a picture parameter set.

### Claim 15 (depends on 13)

The method of claim 13, wherein when the video unit is a picture, the format rule further specifies that the syntax element is included in the bitstream when the picture being partitioned in a non-rectangular shape,
wherein the format rule specifies that the syntax element is included in the bitstream when a second flag being equal to 0, which specifies that a raster-scan slice mode is in use for the picture, and
wherein the raster-scan slice mode is a non-rectangular slice mode, wherein the second flag is rect_slice_flag, and wherein the second flag is in a picture parameter set.
