# US 2024/0205387 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 2024/0205387 A1
- Document ID: US20240205387A1
- Status: Published application
- Kind: A1
- Application number: 18/396,191
- Filed: 2023-12-26
- Published: 2024-06-20
- 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/US20240205387A1

## 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. The 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), where 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 when at least one of the two blocks is predicted with the CHIP, and performing deblocking filter based on the Bs.

## Claims

### Claim 1

A method for video encoding, 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 a boundary exists between the first block and the second block;
setting a boundary strength (Bs) for the boundary to a first value when the at least one of the two blocks is predicted with the CIIP, wherein the first value is 2; and
encoding a flag into a video bitstream, wherein the flag is used to indicate whether at least one of the two blocks is predicted with the CIIP.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
setting the boundary strength (Bs) for the boundary to a second value, at least in part, when none of the two blocks is predicted with the CIIP.

### Claim 3 (depends on 1)

The method of claim 1, further comprising: determining whether the at least one of two blocks is predicted with an intra prediction;
wherein the boundary strength (Bs) for the boundary is set based on the determining whether the at least one of two blocks is predicted with CIIP and based on the determining whether the at least one of two blocks is predicted with the intra prediction.

### Claim 4 (depends on 3)

The method of claim 3, 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 the at least one of the two blocks is predicted with the CIIP.

### Claim 5 (depends on 3)

The method of claim 3, wherein setting the Bs for the boundary to a second value, at least in part, when none of the two blocks is predicted with the intra prediction and none of the two blocks is predicted with the CIIP.

### Claim 6 (depends on 2)

The method of claim 2, wherein the second value is 1 when at least one of the two blocks has non-zero transform coefficients and when none of the two blocks is predicted with the CIIP.

### Claim 7 (depends on 1)

The method of claim 1, wherein the method further comprises:
performing deblocking filter for a boundary between luma components of the first block and the second block.

### Claim 8 (depends on 1)

The method of claim 1, wherein the method further comprises:
performing deblocking filter for a boundary between chroma components of the first block and the second block when a value of the Bs is greater than 1.

### Claim 9

An encoder, comprising:
one or more processors; and
a computer-readable medium communicatively coupled to the one or more processors, wherein the computer-readable medium stores instructions, which when executed by the one or more processors, cause the encoder to:
determine 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 a boundary exists between the first block and the second block;
set a boundary strength (Bs) for the boundary to a first value when the at least one of the two blocks is predicted with the CIIP, wherein the first value is 2; and
encode a flag into a video bitstream, wherein the flag is used to indicate whether at least one of the two blocks is predicted with the CIIP.

### Claim 10 (depends on 9)

The encoder of claim 9, wherein the one or more processors are further configured to:
setting the boundary strength (Bs) for the boundary to a second value, at least in part, when none of the two blocks is predicted with the CIIP.

### Claim 11 (depends on 9)

The encoder of claim 9, wherein the one or more processors are further configured to:
determining whether the at least one of two blocks is predicted with an intra prediction;
wherein the boundary strength (Bs) for the boundary is set based on the determining whether the at least one of two blocks is predicted with CIIP and based on the determining whether the at least one of two blocks is predicted with the intra prediction.

### Claim 12 (depends on 11)

The encoder of claim 11, wherein the one or more processors are configured to:
setting the Bs for the boundary to the first value when none of the two blocks is predicted with the intra prediction and when the at least one of the two blocks is predicted with the CIIP.

### Claim 13 (depends on 11)

The encoder of claim 11, wherein the one or more processors are configured to:
setting the Bs for the boundary to a second value, at least in part, when none of the two blocks is predicted with the intra prediction and none of the two blocks is predicted with the CIIP.

### Claim 14 (depends on 10)

The encoder of claim 10, wherein the second value is 1 when at least one of the two blocks has non-zero transform coefficients and when none of the two blocks is predicted with the CIIP.

### Claim 15

A non-transitory computer-readable medium storing computer instructions, that when executed by one or more processors of a processing device, cause the processing device 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 a boundary exists between the first block and the second block;
setting a boundary strength (Bs) for the boundary to a first value when the at least one of the two blocks is predicted with the CIIP, wherein the first value is 2; and
encoding a flag into a video bitstream, wherein the flag is used to indicate whether at least one of the two blocks is predicted with the CHIP.

### Claim 16 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the operations further comprise:
setting the boundary strength (Bs) for the boundary to a second value, at least in part, when none of the two blocks is predicted with the CIIP.

### Claim 17 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the operations further comprise:
determining whether the at least one of two blocks is predicted with an intra prediction;
wherein the boundary strength (Bs) for the boundary is set based on the determining whether the at least one of two blocks is predicted with CIIP and based on the determining whether the at least one of two blocks is predicted with the intra prediction.

### Claim 18 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein the operations comprise:
setting the Bs for the boundary to the first value when none of the two blocks is predicted with the intra prediction and when the at least one of the two blocks is predicted with the CIIP.

### Claim 19 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein the operations comprise:
setting the Bs for the boundary to a second value, at least in part, when none of the two blocks is predicted with the intra prediction and none of the two blocks is predicted with the CIIP.

### Claim 20 (depends on 16)

The non-transitory computer-readable medium of claim 16, wherein the second value is 1 when at least one of the two blocks has non-zero transform coefficients and when none of the two blocks is predicted with the CIIP.
