# US 12,113,970 B2 · Deblocking in a video encoder and/or video decoder

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

- Number: US 12,113,970 B2
- Document ID: US12113970B2
- Status: Granted
- Kind: B2
- Application number: 17/577,956
- Filed: 2022-01-18
- Published: 2022-05-05
- Granted: 2024-10-08
- Earliest claimed: 2018-11-15
- Assignees: Telefonaktiebolaget LM Ericsson (publ)
- Applicants: Telefonaktiebolaget LM Ericsson (publ)
- Inventors: Kenneth Andersson; Jack Enhorn; Ruoyang Yu; Zhi Zhang
- Web page: https://patentgrep.com/patent/US12113970B2

## CPC

- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/86: involving reduction of coding artifacts, e.g. of blockiness
- 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/132: Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
- 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/82: involving filtering within a prediction loop
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A deblocking method for deblocking a boundary between a first block of samples, block P, and a second block of samples, block Q. The method includes determining whether at least one of the P block or the Q block is a combined intra-inter prediction block; and, as a result of determining that at least one of the P block or the Q block is a combined intra-inter prediction block, deblocking the boundary between the P block and the Q block.

## Claims

### Claim 1

A method for deblocking a boundary between a first block of samples (P block), and a second block of samples (Q block), the method comprising:
determining whether at least one of the P block or the Q block is a weighted combination of an intra prediction block and an inter prediction block; and
as a result of determining that at least one of the P block or the Q block is a weighted combination of an intra prediction block and an inter prediction block, deblocking the boundary between the P block and the Q block.

### Claim 2 (depends on 1)

The method of claim 1, wherein deblocking the boundary between the P block and the Q block comprises reducing a discontinuity between the P block and the Q block.

### Claim 3 (depends on 2)

The method of claim 2, wherein reducing the discontinuity between the P block and the Q block comprises filtering the P block using a deblocking filter and filtering the Q block using the deblocking filter.

### Claim 4 (depends on 1)

The method of claim 1, further comprising setting a boundary strength (BS) variable for the boundary to a value that is greater than zero as a result of determining that at least one of the P block or the Q block is a weighted combination of an intra prediction block and an inter prediction block.

### Claim 5 (depends on 1)

The method of claim 1, wherein the boundary is a vertical boundary.

### Claim 6 (depends on 1)

The method of claim 1, wherein the boundary is a horizontal boundary.

### Claim 7 (depends on 1)

The method of claim 1, further comprising generating a block of samples based on a weighted combination of an intra-prediction block and an inter-prediction block, wherein one of the P block or the Q block is the generated block of samples.

### Claim 8 (depends on 7)

The method of claim 7, further comprising generating the intra-prediction block from a line of samples.

### Claim 9 (depends on 7)

The method of claim 7, further comprising generating the intra-prediction block from referencing a block in a current picture.

### Claim 10 (depends on 7)

The method of claim 7, further comprising generating the inter-prediction block from referencing at least one block in a previous decoded picture.

### Claim 11 (depends on 7)

The method of claim 7, further comprising generating the inter-prediction block from referencing a block in a current picture.

### Claim 12 (depends on 1)

The method of claim 1, further comprising:
deblocking a boundary between a first sub-block and a second sub-block if a first condition is true, wherein the first condition is true if:
the first sub-block is a weighted combination of a first intra prediction sub-block and a first inter prediction sub-block,
the second sub-block is a weighted combination of a second intra prediction sub-block and a second inter prediction sub-block, and
the weight for the first intra prediction sub-block is different from the weight for the second intra prediction sub-block.

### Claim 13 (depends on 1)

A computer program product comprising a non-transitory computer readable medium storing a computer program comprising instructions which when executed by processing circuitry causes the processing circuitry to perform the method of claim 1.

### Claim 14

An apparatus, the apparatus comprising:
processing circuitry; and
a memory, said memory containing instructions executable by said processing circuitry, whereby said apparatus is adapted to:
determine whether at least one of the P block or the Q block is a weighted combination of an intra prediction block and an inter prediction block; and
as a result of determining that at least one of the P block or the Q block is a weighted combination of an intra prediction block and an inter prediction block, deblock the boundary between the P block and the Q block.

### Claim 15 (depends on 14)

The apparatus of claim 14, wherein the apparatus is further adapted to set a boundary strength (BS) variable for the boundary to a value that is greater than zero as a result of determining that at least one of the P block or the Q block is a weighted combination of an intra prediction block and an inter prediction block.

### Claim 16 (depends on 14)

The apparatus of claim 14, wherein the apparatus is further adapted to generate a block of samples based on a weighted combination of an intra-prediction block and an inter-prediction block, wherein one of the P block or the Q block is the generated block of samples.

### Claim 17 (depends on 16)

The apparatus of claim 16, further configured to generate the intra-prediction block from a line of samples.

### Claim 18 (depends on 16)

The apparatus of claim 16, further configured to generate the intra-prediction block from referencing a block in a current picture.

### Claim 19 (depends on 16)

The apparatus of claim 16, further configured to generate the inter-prediction block from referencing at least one block in a previous decoded picture.

### Claim 20 (depends on 16)

The apparatus of claim 16, further configured to generate the inter-prediction block from referencing a block in a current picture.
