# US 2022/0279177 A1 · Reusing adaptive loop filter (alf) sub-picture boundary processing for raster-scan slice boundaries

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

- Number: US 2022/0279177 A1
- Document ID: US20220279177A1
- Status: Published application
- Kind: A1
- Application number: 17/686,817
- Filed: 2022-03-04
- Published: 2022-09-01
- Earliest claimed: 2019-09-05
- Assignees: QUALCOMM Incorporated
- Applicants: QUALCOMM Incorporated
- Inventors: Nan HU; Vadim SEREGIN; Marta KARCZEWICZ
- Web page: https://patentgrep.com/patent/US20220279177A1

## CPC

- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/136: Incoming video signal characteristics or properties
- H04N 19/167: Position within a video image, e.g. region of interest [ROI]
- 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/182: the unit being a pixel
- H04N 19/46: Embedding additional information in the video signal during the compression process (H04N19/517, H04N19/68, H04N19/70 take precedence)
- H04N 19/82: involving filtering within a prediction loop
- H04N 19/86: involving reduction of coding artifacts, e.g. of blockiness
- H04N 19/96: Tree coding, e.g. quad-tree coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Systems, methods, and media are provided for loop filtering across raster scan slices. One example includes obtaining the video data comprising one or more pictures and a first block of a picture having a pixel subject to filtering. A second block is determined to be located in the first slice in a particular relation to the second block. A third block that includes pixels for filtering the pixel is determined to be in a second slice at a diagonal corner of the first block, with filtering across slice boundaries disabled. First one or more pixels of the second block are identified as available for performing loop filtering of the pixel and second one or more pixels of the third block identified as unavailable for performing the loop filtering of the pixel of the first block. The first one or more pixels and the second one or more pixels are padded.

## Claims

### Claim 1

(canceled)

### Claim 2

A method of processing video data, the method comprising:
obtaining the video data comprising one or more pictures;
obtaining a first block of a picture from the one or more pictures, the first block being located in a first slice of the picture;
determining that a second block is located at a top-left corner of the first block in a second slice of the picture, the second block including one or more pixels for use in performing loop filtering of a pixel of the first block;
determining that loop filtering across slice boundaries is disabled;
determining, based on the second block being located in the second slice and the loop filtering across slice boundaries being disabled, that the one or more pixels of the second block are unavailable for performing the loop filtering of the pixel of the first block; and
based on the one or more pixels of the second block being unavailable for performing the loop filtering of the pixel of the first block, using pixels of a third block of the first slice to replace the one or more pixels of the second block for performing the loop filtering of the pixel of the first block based on a converted slice boundary generated at a left border of the first block using a function modifying a variable associated with a left vertical boundary position.

### Claim 3 (depends on 2)

The method of claim 2, wherein the third block neighbors a top horizontal boundary of the first block.

### Claim 4 (depends on 2)

The method of claim 2, wherein the loop filtering for the first block is performed using an adaptive loop filter (ALF).

### Claim 5 (depends on 2)

The method of claim 2, wherein the pixels of the first block are positioned symmetrically about the one or more pixels.

### Claim 6 (depends on 2)

The method of claim 2, wherein the first slice is a raster scan slice.

### Claim 7 (depends on 2)

The method of claim 2, wherein the first block comprises a first coding tree unit (CTU).

### Claim 8 (depends on 2)

The method of claim 2, wherein the first slice and the second slice are obtained from raster scan partitioning of the picture.

### Claim 9 (depends on 2)

The method of claim 2, further comprising:
generating an encoded video bitstream comprising the one or more pictures.

### Claim 10 (depends on 9)

The method of claim 9, wherein the encoded video bitstream is generated based on the video data and a result of applying at least one filter to the first block.

### Claim 11 (depends on 9)

The method of claim 9, further comprising:
sending the encoded video bitstream to a decoding device, the encoded video bitstream being sent with signaling information, the signaling information comprising at least a clip flag and an adaptive loop filter flag.

### Claim 12 (depends on 9)

The method of claim 9, further comprising:
storing the encoded video bitstream.

### Claim 13 (depends on 2)

The method of claim 2, further comprising:
obtaining an encoded video bitstream comprising the one or more pictures;
identifying signaling information associated with the encoded video bitstream, the signaling information comprising at least an adaptive loop filter flag and an indication that the loop filtering across slice boundaries is disabled; and
decoding the first block of the picture from the encoded video bitstream.

### Claim 14 (depends on 13)

The method of claim 13, wherein decoding the first block of the picture from the encoded video bitstream comprises reconstructing the first block of the picture to generate a reconstructed first block, and further comprising applying at least one filter to the reconstructed first block.

### Claim 15 (depends on 2)

The method of claim 2, wherein padding the one or more pixels includes duplicating the pixels of the third block of the first slice to replace the one or more pixels with padded pixels.

### Claim 16

An apparatus for processing video data, comprising:
at least one memory; and
at least one processor coupled to the at least one memory, the at least one processor being configured to:
obtain the video data comprising one or more pictures;
obtain a first block of a picture from the one or more pictures, the first block being located in a first slice of the picture;
determine that a second block is located at a top-left corner of the first block in a second slice of the picture, the second block including one or more pixels for use in performing loop filtering of a pixel of the first block;
determine that loop filtering across slice boundaries is disabled;
determine, based on the second block being located in the second slice and the loop filtering across slice boundaries being disabled, that the one or more pixels of the second block are unavailable for performing the loop filtering of the pixel of the first block; and
based on the one or more pixels of the second block being unavailable for performing the loop filtering of the pixel of the first block, use pixels of a third block of the first slice to replace the one or more pixels of the second block for performing the loop filtering of the pixel of the first block based on a converted slice boundary generated at a left border of the first block using a function modifying a variable associated with a left vertical boundary position.

### Claim 17 (depends on 16)

The apparatus of claim 16, wherein the third block neighbors a top horizontal boundary of the first block.

### Claim 18 (depends on 16)

The apparatus of claim 16, wherein the at least one processor is configured to perform the loop filtering for the first block using an adaptive loop filter (ALF).

### Claim 19 (depends on 16)

The apparatus of claim 16, wherein the pixels of the first block are positioned symmetrically about the one or more pixels.

### Claim 20 (depends on 16)

The apparatus of claim 16, wherein the first slice is a raster scan slice.

### Claim 21 (depends on 16)

The apparatus of claim 16, wherein the first block comprises a first coding tree unit (CTU).

### Claim 22 (depends on 16)

The apparatus of claim 16, wherein the first slice and the second slice are obtained from raster scan partitioning of the picture.

### Claim 23 (depends on 16)

The apparatus of claim 16, wherein the at least one processor is configured to:
generate an encoded video bitstream comprising the one or more pictures.

### Claim 24 (depends on 23)

The apparatus of claim 23, wherein the at least one processor is configured to generate the encoded video bitstream based on the video data and a result of applying at least one filter to the first block.

### Claim 25 (depends on 23)

The apparatus of claim 23, wherein the at least one processor is configured to:
send the encoded video bitstream to a decoding device with signaling information, the signaling information comprising at least a clip flag and an adaptive loop filter flag.

### Claim 26 (depends on 23)

The apparatus of claim 23, wherein the at least one processor is configured to:
output the encoded video bitstream for storage in the at least one memory.

### Claim 27 (depends on 16)

The apparatus of claim 16, wherein the at least one processor is configured to:
obtain an encoded video bitstream comprising the one or more pictures;
identify signaling information associated with the encoded video bitstream, the signaling information comprising at least an adaptive loop filter flag and an indication that the loop filtering across slice boundaries is disabled; and
decode the first block of the picture from the encoded video bitstream.

### Claim 28 (depends on 27)

The apparatus of claim 27, wherein:
to decode the first block of the picture from the encoded video bitstream, the at least one processor is configured to reconstruct the first block of the picture to generate a reconstructed first block; and
the at least one processor is configured to apply at least one filter to the reconstructed first block.

### Claim 29 (depends on 16)

The apparatus of claim 16, wherein, to pad the one or more pixels, the at least one processor is configured to duplicate the pixels of the third block of the first slice to replace the one or more pixels with padded pixels.

### Claim 30

A non-transitory computer-readable medium having stored thereon instructions that, when executed by one or more processors, cause the one or more processors to:
obtain video data comprising one or more pictures;
obtain a first block of a picture from the one or more pictures, the first block being located in a first slice of the picture;
determine that a second block is located at a top-left corner of the first block in a second slice of the picture, the second block including one or more pixels for use in performing loop filtering of a pixel of the first block;
determine that loop filtering across slice boundaries is disabled;
determine, based on the second block being located in the second slice and the loop filtering across slice boundaries being disabled, that the one or more pixels of the second block are unavailable for performing the loop filtering of the pixel of the first block; and
based on the one or more pixels of the second block being unavailable for performing the loop filtering of the pixel of the first block, use pixels of a third block of the first slice to replace the one or more pixels of the second block for performing the loop filtering of the pixel of the first block based on a converted slice boundary generated at a left border of the first block using a function modifying a variable associated with a left vertical boundary position.

### Claim 31 (depends on 30)

The non-transitory computer-readable medium of claim 30, wherein the third block neighbors a top horizontal boundary of the first block.
