# US 2022/0286673 A1 · Deblocking filtering for video coding

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

- Number: US 2022/0286673 A1
- Document ID: US20220286673A1
- Status: Published application
- Kind: A1
- Application number: 17/751,491
- Filed: 2022-05-23
- Published: 2022-09-08
- Earliest claimed: 2019-11-27
- Assignees: Beijing Dajia Internet Information Technology Co., Ltd.
- Applicants: Beijing Dajia Internet Information Technology Co., Ltd.
- Inventors: Yi-Wen CHEN; Xiaoyu XIU; Tsung-Chuan MA; Hong-Jheng JHU; Xianglin WANG; Bing YU
- Web page: https://patentgrep.com/patent/US20220286673A1

## 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/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/172: the region being a picture, frame or field
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/30: using hierarchical techniques, e.g. scalability (H04N19/63 takes precedence)
- H04N 19/82: involving filtering within a prediction loop
- H04N 19/59: involving spatial sub-sampling or interpolation, e.g. alteration of picture size or resolution
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An electronic apparatus performs a method of encoding and decoding video data. The method comprises: decoding a first coding block and a second coding block that shares a common edge on a first picture, wherein decoding the first coding block and the second coding block includes reconstructing a first residual block for the first coding block and a second residual block for the second coding block; determining that the first picture has a first resolution, a first reference picture corresponding to the first coding block has a second resolution, and a second reference picture corresponding to the second coding block has a third resolution; deriving a deblocking strength (bS) value based, at least in part, on the first resolution, second resolution, and the third resolution; and performing in-loop filtering on the reconstructed first residual block and the reconstructed second residual block using a deblocking filter in accordance with the derived bS value.

## Claims

### Claim 1

A method of decoding video data, the method comprising:
decoding a first coding block and a second coding block that shares a common edge with the first coding block on a first picture, wherein decoding the first coding block and the second coding block includes reconstructing a first residual block for the first coding block and a second residual block for the second coding block, respectively;
determining that the first picture has a first resolution, a first reference picture corresponding to the first coding block has a second resolution, and a second reference picture corresponding to the second coding block has a third resolution;
deriving a deblocking strength (bS) value based, at least in part, on the first resolution, second resolution, and the third resolution; and
performing in-loop filtering on the reconstructed first residual block and the reconstructed second residual block using a deblocking filter in accordance with the derived bS value.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first resolution is different from the second resolution or the third resolution, and the first coding block and the second coding block use different interpolation filters.

### Claim 3 (depends on 1)

The method of claim 1, wherein deriving the bS value based in part on the first resolution, the second resolution, and the third resolution comprises:
in accordance with a determination that the second resolution is different from the third resolution, setting the bS value to a first predefined value.

### Claim 4 (depends on 1)

The method of claim 1, wherein deriving the bS value based, at least in part, on the first resolution, the second resolution, and the third resolution comprises:
in accordance with a determination that the first resolution is different from the second resolution or the first resolution is different from the third resolution, setting the bS value to a second predefined value.

### Claim 5 (depends on 1)

The method of claim 1, wherein deriving the bS value based, at least in part, on the first resolution, the second resolution, and the third resolution comprises:
in accordance with a determination that the first resolution is different from a resolution signaled in a sequence parameter set (SPS) corresponding to a video sequence including the first picture, setting the bS value to a third predefined value.

### Claim 6 (depends on 1)

The method of claim 1, wherein deriving the bS value based, at least in part, on the first resolution, second resolution, and the third resolution further comprises:
adjusting a threshold on motion vector difference (MVD) between the first coding block and the second coding block.

### Claim 7 (depends on 1)

The method of claim 1, wherein deriving the bS value based, at least in part, on the first resolution, the second resolution, and the third resolution further comprises:
in accordance with a determination that the second resolution is different from the third resolution, deriving the bS value based on different MVD thresholds.

### Claim 8 (depends on 1)

The method of claim 1, wherein deriving the bS value based, at least in part, on the first resolution, the second resolution, and the third resolution further comprises:
in accordance with a determination that the first resolution is different from a resolution signaled in a sequence parameter set (SPS) corresponding to a video sequence including the first picture, setting the bS value based on different MVD thresholds.

### Claim 9

An electronic apparatus comprising:
one or more processing units;
memory coupled to the one or more processing units; and
a plurality of programs stored in the memory that, when executed by the one or more processing units, cause the electronic apparatus to perform a method of decoding video data comprising:
decoding a first coding block and a second coding block that shares a common edge with the first coding block on a first picture, wherein decoding the first coding block and the second coding block includes reconstructing a first residual block for the first coding block and a second residual block for the second coding block, respectively;
determining that the first picture has a first resolution, a first reference picture corresponding to the first coding block has a second resolution, and a second reference picture corresponding to the second coding block has a third resolution;
deriving a deblocking strength (bS) value based, at least in part, on the first resolution, second resolution, and the third resolution; and
performing in-loop filtering on the reconstructed first residual block and the reconstructed second residual block using a deblocking filter in accordance with the derived bS value.

### Claim 10 (depends on 9)

The electronic apparatus of claim 9, wherein the first resolution is different from the second resolution or the third resolution, and the first coding block and the second coding block use different interpolation filters.

### Claim 11 (depends on 9)

The electronic apparatus of claim 9, wherein deriving the bS value based, at least in part, on the first resolution, the second resolution, and the third resolution comprises:
in accordance with a determination that the second resolution is different from the third resolution, setting the bS value to a first predefined value.

### Claim 12 (depends on 9)

The electronic apparatus of claim 9, wherein deriving the bS value based, at least in part, on the first resolution, the second resolution, and the third resolution comprises:
in accordance with a determination that the first resolution is different from the second resolution or the first resolution is different from the third resolution, setting the bS value to a second predefined value.

### Claim 13 (depends on 9)

The electronic apparatus of claim 9, wherein deriving the bS value based, at least in part, on the first resolution, the second resolution, and the third resolution comprises:
in accordance with a determination that the first resolution is different from a resolution signaled in a sequence parameter set (SPS) corresponding to a video sequence including the first picture, setting the bS value to a third predefined value.

### Claim 14 (depends on 9)

The electronic apparatus of claim 9, wherein deriving the bS value based, at least in part, on the first resolution, second resolution, and the third resolution further comprises:
adjusting a threshold on motion vector difference (MVD) between the first coding block and the second coding block.

### Claim 15 (depends on 9)

The electronic apparatus of claim 9, wherein deriving the bS value based, at least in part, on the first resolution, the second resolution, and the third resolution further comprises:
in accordance with a determination that the second resolution is different from the third resolution, deriving the bS value based on different MVD thresholds.

### Claim 16 (depends on 9)

The electronic apparatus of claim 9, wherein deriving the bS value based, at least in part, on the first resolution, the second resolution, and the third resolution further comprises:
in accordance with a determination that the first resolution is different from a resolution signaled in a sequence parameter set (SPS) corresponding to a video sequence including the first picture, setting the bS value based on different MVD thresholds.

### Claim 17

A non-transitory computer readable storage medium storing a plurality of programs for execution by an electronic apparatus having one or more processing units, wherein the plurality of programs, when executed by the one or more processing units, cause the electronic apparatus to perform a method of decoding video data comprising:
decoding a first coding block and a second coding block that shares a common edge with the first coding block on a first picture, wherein decoding the first coding block and the second coding block includes reconstructing a first residual block for the first coding block and a second residual block for the second coding block, respectively;
determining that the first picture has a first resolution, a first reference picture corresponding to the first coding block has a second resolution, and a second reference picture corresponding to the second coding block has a third resolution;
deriving a deblocking strength (bS) value based, at least in part, on the first resolution, second resolution, and the third resolution; and
performing in-loop filtering on the reconstructed first residual block and the reconstructed second residual block using a deblocking filter in accordance with the derived bS value.

### Claim 18 (depends on 17)

The non-transitory computer readable storage medium of claim 17, wherein the first resolution is different from the second resolution or the third resolution, and the first coding block and the second coding block use different interpolation filters.

### Claim 19 (depends on 17)

The non-transitory computer readable storage medium of claim 17, wherein deriving the bS value based, at least in part, on the first resolution, the second resolution, and the third resolution comprises:
in accordance with a determination that the second resolution is different from the third resolution, setting the bS value to a first predefined value; or
in accordance with a determination that the first resolution is different from the second resolution or the first resolution is different from the third resolution, setting the bS value to a second predefined value; or
in accordance with a determination that the first resolution is different from a resolution signaled in a sequence parameter set (SPS) corresponding to a video sequence including the first picture, setting the bS value to a third predefined value; or
in accordance with a determination that the second resolution is different from the third resolution, deriving the bS value based on different MVD thresholds; or
in accordance with a determination that the first resolution is different from a resolution signaled in a sequence parameter set (SPS) corresponding to a video sequence including the first picture, setting the bS value based on different MVD thresholds.

### Claim 20 (depends on 17)

The non-transitory computer readable storage medium of claim 17, wherein deriving the bS value based, at least in part, on the first resolution, second resolution, and the third resolution further comprises:
adjusting a threshold on motion vector difference (MVD) between the first coding block and the second coding block.
