# US 2021/0084341 A1 · Harmonization of deblocking conditions 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 2021/0084341 A1
- Document ID: US20210084341A1
- Status: Published application
- Kind: A1
- Application number: 17/024,458
- Filed: 2020-09-17
- Published: 2021-03-18
- Earliest claimed: 2019-09-18
- Assignees: QUALCOMM Incorporated
- Applicants: QUALCOMM Incorporated
- Inventors: Bappaditya Ray; Geert Van der Auwera; Marta Karczewicz
- Web page: https://patentgrep.com/patent/US20210084341A1

## CPC

- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/82: involving filtering within a prediction loop
- 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: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A video coder determines whether a coding mode of a first block of the video data is in a set of applicable coding modes. The set of applicable coding modes includes at least one of a block-based delta pulse code modulation mode, a transform skip mode, or a palette mode. The video coder determines whether a coding mode of a second block of the video data is in the set of applicable coding modes, wherein the second block is adjacent to the first block. The video coder determines that a deblocking filter is disabled for a color component of at least one of the first block or the second block based on at least one of: the coding mode of the first block being in the set of applicable coding modes or the coding mode of the second block being in the set of applicable coding modes.

## Claims

### Claim 1

A method of coding video data, the method comprising:
determining whether a coding mode of a first block of the video data is in a set of applicable coding modes, wherein the set of applicable coding modes includes at least one of a block-based delta pulse code modulation (BDPCM) mode, a transform skip mode, or a palette mode;
determining whether a coding mode of a second block of the video data is in the set of applicable coding modes, wherein the second block is adjacent to the first block; and
determining that a deblocking filter is disabled for a color component of at least one of the first block or the second block based on at least one of: the coding mode of the first block being in the set of applicable coding modes or the coding mode of the second block being in the set of applicable coding modes.

### Claim 2 (depends on 1)

The method of claim 1, wherein determining that the deblocking filter is disabled for the color component of at least one of the first block or the second block comprises:
determining that the deblocking filter is disabled for the color component of the first block and the second block based on either the coding mode of the first block or the coding mode of the second block being in the set of applicable coding modes.

### Claim 3 (depends on 1)

The method of claim 1, wherein determining that the deblocking filter is disabled for the color component of at least one of the first block or the second block comprises:
determining that the deblocking filter is disabled for the color component of the first block and the second block based on both the coding mode of the first block and the coding mode of the second block being in the set of applicable coding modes.

### Claim 4 (depends on 1)

The method of claim 1, wherein determining that the deblocking filter is disabled for the color component of at least one of the first block or the second block comprises:
determining that the deblocking filter is disabled for the color component of the first block based on the coding mode of the first block being in the set of applicable coding mode and determining that the deblocking filter is disabled for the second block based on the coding mode of the second block being in the set of applicable coding modes.

### Claim 5 (depends on 1)

The method of claim 1, wherein:
the color component is a luma component,
the coding mode of the first block is a coding mode for the luma component of the first block,
the coding mode of the second block is a coding mode for the luma component of the second block,
the method further comprises:
determining whether a coding mode of a chroma component of the first block is in the set of applicable coding modes;
determining whether a coding mode of the chroma component of the second block is in the set of applicable coding modes; and
determining that the deblocking filter is disabled for at least one of the chroma component of the first block and the chroma component of the second block based on at least one of: the coding mode of the chroma component of the first block being in the set of applicable coding modes and the coding mode of the chroma component of the second block being in the set of applicable coding modes.

### Claim 6 (depends on 1)

The method of claim 1, wherein the set of applicable coding modes includes an intra coded transform skip mode and not an inter coded transform skip mode.

### Claim 7 (depends on 1)

The method of claim 1, wherein the set of applicable coding modes includes one or more coding modes that do not use transform skip.

### Claim 8 (depends on 7)

The method of claim 7, wherein the one or more coding modes that do not use transform skip include an intra block copy mode.

### Claim 9 (depends on 1)

The method of claim 1, further comprising determining not to disable a step of determining that the deblocking filter is disabled for the color component of at least one of the first block or the second block based on one or more of:
a syntax element in a sequence parameter set, a picture parameter set, or a slice,
a quantization parameter of the slice, the picture parameter set, or the sequence parameter set,
a slice type, or
a block size of the first block or the second block.

### Claim 10 (depends on 1)

The method of claim 1, wherein:
coding comprises decoding, and
the method further comprises:
obtaining a bitstream that includes an encoded representation of the first block and an encoded representation of the second block; and
reconstructing the first block and the second block based on the encoded representation of the first block and the encoded representation of the second block.

### Claim 11 (depends on 1)

The method of claim 1, wherein:
coding comprises encoding, and
the method further comprises including an encoded representation of the first block and an encoded representation of the second block in a bitstream that includes an encoded representation of the video data.

### Claim 12

A device for coding video data, the device comprising:
a memory to store the video data; and
one or more processors implemented in circuitry, the one or more processors configured to:
determine whether a coding mode of a first block of the video data is in a set of applicable coding modes, wherein the set of applicable coding modes includes at least one of a block-based delta pulse code modulation (BDPCM) mode, a transform skip mode, or a palette mode;
determine whether a coding mode of a second block of the video data is in the set of applicable coding modes, wherein the second block is adjacent to the first block; and
determine that a deblocking filter is disabled for a color component of at least one of the first block or the second block based on at least one of: the coding mode of the first block being in the set of applicable coding modes or the coding mode of the second block being in the set of applicable coding modes.

### Claim 13 (depends on 12)

The device of claim 12, wherein the one or more processors are configured such that, as part of determining that the deblocking filter is disabled for the color component of at least one of the first block or the second block, the one or more processors:
determine that the deblocking filter is disabled for the color component of the first block and the second block based on either the coding mode of the first block or the coding mode of the second block being in the set of applicable coding modes.

### Claim 14 (depends on 12)

The device of claim 12, wherein the one or more processors are configured such that, as part of determining that a deblocking filter is disabled for the color component of at least one of the first block or the second block, the one or more processors:
determine that the deblocking filter is disabled for the color component of the first block and the second block based on both the coding mode of the first block and the coding mode of the second block being in the set of applicable coding modes.

### Claim 15 (depends on 12)

The device of claim 12, wherein the one or more processors are configured such that, as part of determining that a deblocking filter is disabled for the color component of at least one of the first block or the second block, the one or more processors:
determine that the deblocking filter is disabled for the color component of the first block based on the coding mode of the first block being in the set of applicable coding mode and determining that the deblocking filter is disabled for the second block based on the coding mode of the second block being in the set of applicable coding modes.

### Claim 16 (depends on 12)

The device of claim 12, wherein:
the color component is a luma component,
the coding mode of the first block is a coding mode for the luma component of the first block,
the coding mode of the second block is a coding mode for the luma component of the second block,
the one or more processors are further configured to:
determine whether a coding mode of a chroma component of the first block is in the set of applicable coding modes;
determine whether a coding mode of the chroma component of the second block is in the set of applicable coding modes; and
determine that the deblocking filter is disabled for at least one of the chroma component of the first block and the chroma component of the second block based on at least one of: the coding mode of the chroma component of the first block being in the set of applicable coding modes and the coding mode of the chroma component of the second block being in the set of applicable coding modes.

### Claim 17 (depends on 12)

The device of claim 12, wherein the set of applicable coding modes includes an intra coded transform skip mode and not an inter coded transform skip mode.

### Claim 18 (depends on 12)

The device of claim 12, wherein the set of applicable coding modes includes one or more coding modes that do not use transform skip.

### Claim 19 (depends on 18)

The device of claim 18, wherein the one or more coding modes that do not use transform skip include an intra block copy mode.

### Claim 20 (depends on 12)

The device of claim 12, wherein the one or more processors are further configured to determine whether to disable a step of determining that the deblocking filter is disabled for the color component of at least one of the first block or the second block based on one or more of:
a syntax element in a sequence parameter set, a picture parameter set, or a slice,
a quantization parameter of the slice, the picture parameter set, or the sequence parameter set,
a slice type, or
a block size of the first block or the second block.

### Claim 21 (depends on 12)

The device of claim 12, wherein:
the device comprises a video decoder, and
the one or more processors are configured to:
obtain a bitstream that includes an encoded representation of the first block and an encoded representation of the second block; and
reconstruct the first block and the second block based on the encoded representation of the first block and the encoded representation of the second block.

### Claim 22 (depends on 12)

The device of claim 12, wherein:
the device comprises a video encoder, and
the one or more processors are configured to include an encoded representation of the first block and an encoded representation of the second block in a bitstream that includes an encoded representation of the video data.

### Claim 23 (depends on 12)

The device of claim 12, wherein the circuitry comprises an integrated circuit.

### Claim 24 (depends on 12)

The device of claim 12, further comprising a display configured to display decoded video data.

### Claim 25 (depends on 12)

The device of claim 12, wherein the device comprises one or more of a camera, a computer, a mobile device, a broadcast receiver device, or a set-top box.

### Claim 26

A device for coding video data, the device comprising:
means for determining whether a coding mode of a first block of the video data is in a set of applicable coding modes, wherein the set of applicable coding modes includes at least one of a block-based delta pulse code modulation (BDPCM) mode, a transform skip mode, or a palette mode;
means for determining whether a coding mode of a second block of the video data is in the set of applicable coding modes, wherein the second block is adjacent to the first block; and
means for determining that a deblocking filter is disabled for a color component of at least one of the first block or the second block based on at least one of: the coding mode of the first block being in the set of applicable coding modes or the coding mode of the second block being in the set of applicable coding modes.

### Claim 27

A computer-readable storage medium having stored thereon instructions that, when executed, cause one or more processors to:
determine whether a coding mode of a first block of the video data is in a set of applicable coding modes, wherein the set of applicable coding modes includes at least one of a block-based delta pulse code modulation (BDPCM) mode, a transform skip mode, or a palette mode;
determine whether a coding mode of a second block of the video data is in the set of applicable coding modes, wherein the second block is adjacent to the first block; and
determine that a deblocking filter is disabled for a color component of at least one of the first block or the second block based on at least one of: the coding mode of the first block being in the set of applicable coding modes or the coding mode of the second block being in the set of applicable coding modes.
