# US 2020/0404258 A1 · Encoder, decoder and corresponding methods of boundary strength derivation of deblocking filter

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

- Number: US 2020/0404258 A1
- Document ID: US20200404258A1
- Status: Published application
- Kind: A1
- Application number: 17/014,993
- Filed: 2020-09-08
- Published: 2020-12-24
- Earliest claimed: 2018-12-07
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Biao Wang; Anand Meher Kotra; Semih Esenlik; Han Gao; Jianle Chen
- Web page: https://patentgrep.com/patent/US20200404258A1

## CPC

- H04N 19/105: Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- 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/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

Apparatuses and methods for encoding and decoding a video are provided. A method includes determining whether at least one of two blocks of an image in a video is predicted with a combined inter-intra prediction (CIIP), wherein the two blocks include a first block (block Q) and a second block (block P). There is a boundary between the two blocks. The method further includes setting a boundary strength (Bs) for the boundary to a first value based on determining that at least one of the two blocks is predicted with the CIIP, and performing deblocking for the boundary between the first block and the second block based on the Bs to generate a modified reconstructed block for each of the first block and the second block.

## Claims

### Claim 1

A method for video decoding or video encoding, in which one or more processing devices perform operations comprising:
determining whether at least one of two blocks of an image in a video is predicted with a combined inter-intra prediction (CIIP), wherein the two blocks include a first block and a second block, and there is a boundary between the first block and the second block;
setting a boundary strength (Bs) for the boundary to a first value based on determining that at least one of the two blocks is predicted with the CIIP; and
performing deblocking for the boundary between the first block and the second block based on the Bs to generate a modified reconstructed block for each of the first block and the second block.

### Claim 2 (depends on 1)

The method of claim 1, wherein the setting the Bs for the boundary to the first value comprises:
setting the Bs for the boundary to the first value when one of the first block or the second block is predicted with the CIIP.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
parsing a bitstream of the video to obtain a flag, wherein the flag is used to indicate whether at least one of the two blocks is predicted with the CIIP.

### Claim 4 (depends on 1)

The method of claim 1, wherein the first value is 2.

### Claim 5 (depends on 1)

The method of claim 1, further comprising: determining whether the two blocks are predicted with an intra prediction, wherein the setting the Bs for the boundary to the first value comprises:
setting the Bs for the boundary to the first value when none of the two blocks is predicted with the intra prediction and when at least one of the two blocks is predicted with the CIIP.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
setting the Bs for the boundary to a second value based, at least in part, upon determining that none of the two blocks is predicted with the CIIP.

### Claim 7 (depends on 6)

The method of claim 6, further comprising: determining whether the two blocks are predicted with an intra prediction, wherein the setting the Bs for the boundary to the second value comprises:
setting the Bs for the boundary to the second value based, at least in part, upon determining that none of the two blocks is predicted with the intra prediction and none of the two blocks is predicted with the CIIP.

### Claim 8 (depends on 6)

The method of claim 6, wherein the second value is 1 when at least one of the two blocks has non-zero transform coefficients.

### Claim 9 (depends on 1)

The method of claim 1, wherein each of the first block and the second block includes a luma component and a chroma component, and wherein performing deblocking for the boundary comprises:
performing deblocking for the boundary between luma components of the first block and the second block when a value of the Bs is greater than zero; or
performing deblocking for the boundary between chroma components of the first block and the second block when the value of the Bs is greater than 1.

### Claim 10 (depends on 1)

The method of claim 1, wherein the Bs indicates a strength of a deblocking filter.

### Claim 11

An apparatus, wherein the apparatus is an encoder or a decoder, and the apparatus comprises:
one or more processors; and
one or more non-transitory computer-readable medium communicatively coupled to the one or more processors, wherein the one or more processors are configured to execute program code stored in the non-transitory computer-readable medium and thereby perform operations comprising:
determining whether at least one of two blocks of an image in a video is predicted with a combined inter-intra prediction (CIIP), wherein the two blocks include a first block and a second block, and there is a boundary between the first block and the second block;
setting a boundary strength (Bs) for the boundary to a first value based on determining that at least one of the two blocks is predicted with the CIIP; and
performing deblocking for the boundary between the first block and the second block based on the Bs to generate a modified reconstructed block for each of the first block and the second block.

### Claim 12 (depends on 11)

The apparatus of claim 11, wherein the operations further comprise:
parsing a bitstream of the video to obtain a flag, wherein the flag is used to indicate whether at least one of the two blocks is predicted with the CIIP.

### Claim 13 (depends on 11)

The apparatus of claim 11, wherein the operations further comprise:
determining whether the two blocks are predicted with an intra prediction;
and wherein the setting the Bs for the boundary to the first value comprises:
setting the Bs for the boundary to the first value when none of the two blocks is predicted with the intra prediction and when at least one of the two blocks is predicted with the CIIP.

### Claim 14 (depends on 11)

The apparatus of claim 11, wherein the first value is 2.

### Claim 15 (depends on 11)

The apparatus of claim 11, wherein the operations further comprise:
setting the Bs for the boundary to a second value based, at least in part, upon determining that none of the two blocks is predicted with the CIIP.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein the operations further comprise:
determining whether the two blocks are predicted with an intra prediction,
and wherein the setting the Bs for the boundary to the second value comprises:
setting the Bs for the boundary to the second value based, at least in part, upon determining that none of the two blocks is predicted with the intra prediction and none of the two blocks is predicted with the CIIP.

### Claim 17 (depends on 15)

The apparatus of claim 15, wherein the second value is 1 when at least one of the two blocks has non-zero transform coefficients.

### Claim 18

A non-transitory computer-readable media storing computer instructions, that when executed by one or more processing devices, cause the one or more processing devices to perform operations comprising:
determining whether at least one of two blocks of an image in a video is predicted with a combined inter-intra prediction (CIIP), wherein the two blocks include a first block and a second block, and there is a boundary between the first block and the second block;
setting a boundary strength (Bs) for the boundary to a first value based on determining that at least one of the two blocks is predicted with the CIIP; and
performing deblocking for the boundary between the first block and the second block based on the Bs to generate a modified reconstructed block for each of the first block and the second block.

### Claim 19 (depends on 18)

The non-transitory computer-readable media of claim 18, wherein the operations further comprise:
determining whether the two blocks are predicted with an intra prediction;
and wherein the setting the Bs for the boundary to the first value comprises:
setting the Bs for the boundary to the first value when none of the two blocks is predicted with the intra prediction and when at least one of the two blocks is predicted with the CIIP.

### Claim 20 (depends on 18)

The non-transitory computer-readable media of claim 18, wherein the operations further comprise:
setting the Bs for the boundary to a second value based, at least in part, upon determining that none of the two blocks is predicted with the CIIP.
