# US 12,003,714 B2 · Deblocking filtering at coding block or subblock boundary

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

- Number: US 12,003,714 B2
- Document ID: US12003714B2
- Status: Granted
- Kind: B2
- Application number: 17/883,082
- Filed: 2022-08-08
- Published: 2022-12-08
- Granted: 2024-06-04
- Earliest claimed: 2019-08-23
- Assignees: Beijing Bytedance Network Technology Co., Ltd.; Bytedance Inc.
- Applicants: Beijing Bytedance Network Technology Co., Ltd.; Bytedance Inc.
- Inventors: Zhipin Deng; Li Zhang; Kai Zhang; Hongbin Liu
- Web page: https://patentgrep.com/patent/US12003714B2

## CPC

- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/14: Coding unit complexity, e.g. amount of activity or edge presence estimation (H04N19/146 takes precedence)
- 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/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- 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

A method of video processing is described. The method includes determining, for subblocks of a current video block of a video, subblock boundaries to which a deblocking filter is to be applied according to a rule; and performing a conversion between the video and a coded representation of the video using the deblocking filter, wherein the rule specifies that a deblocking filter length is determined without checking a relationship between i) a sum of a position of a subblock of the current video block and a predefined value and ii) a width or a height of the current video block.

## Claims

### Claim 1

A method of processing video data, comprising:
determining, for subblocks of a current video block of a video which is coded with a subblock temporal motion vector predictor mode or an affine prediction mode, subblock boundaries to which a deblocking filter is to be applied according to a rule; and
performing a conversion between the current video block and a bitstream of the video based on the determining,
wherein the rule specifies that when determining the subblock boundaries, a second deblocking filter length for a second horizontal subblock boundary of the subblock boundaries at a second vertical position (y2) and a second horizontal position (x2) inside the current video block is determined based on checking one or both of i) whether a boundary at a vertical position (y2+dy) and the second horizontal position (x2) is a transform block boundary or not, ii) whether a boundary at a vertical position (y2−dy) and the second horizontal position (x2) is a transform block boundary or not, where dy is an integer greater or equal to 0.

### Claim 2 (depends on 1)

The method of claim 1, wherein the second deblocking filter length is equal to 1 in response to meeting at least one of i) the boundary at the vertical position (y2+dy) and the second horizontal position (x2) is a transform block boundary, or ii) the boundary at the vertical position (y2−dy) and the second horizontal position (x2) is a transform block boundary, wherein the second deblocking filter length includes a deblocking filter length for P side or a deblocking filter length for Q side.

### Claim 3 (depends on 1)

The method of claim 1, wherein the second deblocking filter length is determined by omitting checking a second relationship between y2+dy and a height of the current video block.

### Claim 4 (depends on 3)

The method of claim 3, wherein the second relationship between y2+dy and the height of the current video block comprises whether y2+dy is greater than or equal to the height of the current video block.

### Claim 5 (depends on 1)

The method of claim 1, wherein dy is equal to 4 or 8.

### Claim 6 (depends on 1)

The method of claim 1, wherein the rule specifies that when determining the subblock boundaries, a first deblocking filter length for a first vertical subblock boundary of the subblock boundaries at a first horizontal position (x1) and a first vertical position (y1) inside the current video block is determined based on checking one or both of i) whether a boundary at a horizontal position (x1+dx) and the first vertical position (y1) is a transform block boundary or not, ii) whether a boundary at a horizontal position (x1−dx) and the first vertical position (y1) is a transform block boundary or not, where dx is an integer greater or equal to 0.

### Claim 7 (depends on 6)

The method of claim 6, wherein the first deblocking filter length is equal to 1 in response to meeting at least one of i) the boundary at the horizontal position (x1+dx) and the first vertical position (y1) is a transform block boundary, or ii) the boundary at the horizontal position (x1−dx) and the first vertical position (y1) is a transform block boundary, wherein the first deblocking filter length includes a deblocking filter length for P side or a deblocking filter length for Q side.

### Claim 8 (depends on 6)

The method of claim 6, wherein the first deblocking filter length is determined by omitting checking a first relationship between x1+dx and a width of the current video block.

### Claim 9 (depends on 8)

The method of claim 8, wherein the first relationship between x1+dx and the width of the current video block comprises whether x1+dx is greater than or equal to the width of the current video block.

### Claim 10 (depends on 6)

The method of claim 6, wherein dx is equal to 4 or 8.

### Claim 11 (depends on 1)

The method of claim 1, further comprising determining, during the conversion, that a boundary strength applied to a third subblock boundary of the subblock boundaries is equal to 2, in case that a block edge of the current video block is the third subblock boundary and at least one of two neighboring samples along the third subblock boundary is coded using a combined inter-intra prediction (CIIP) mode.

### Claim 12 (depends on 1)

The method of claim 1, wherein the bitstream conforms to a formatting rule, and wherein the formatting rule specifies whether to include one or more quantization related chroma syntax elements in the bitstream based on a chroma format sampling syntax element.

### Claim 13 (depends on 12)

The method of claim 12, wherein the one or more quantization related chroma syntax elements are included in a picture parameter set and comprise at least one of i) a first syntax element indicating an offset to a luma quantization parameter used for deriving Cb quantization parameter, ii) a second syntax element indicating an offset to a luma quantization parameter used for deriving Cr quantization parameter, iii) a third syntax element indicating an offset to a luma quantization parameter used for deriving CbCr joint quantization parameter or iv) a fourth syntax element indicating that a flag indicating an offset to a luma quantization parameter used for deriving a chroma component quantization parameter is allowed to be present in coding unit level or a transform unit level or v) a fifth syntax element indicating that a flag indicating an offset to a luma quantization parameter used for deriving the chroma component quantization parameter is allowed to be present in slice level.

### Claim 14 (depends on 1)

The method of claim 1, wherein the conversion includes encoding the current video block into the bitstream.

### Claim 15 (depends on 1)

The method of claim 1, wherein the conversion includes decoding the current video block from the bitstream.

### Claim 16

An apparatus for processing video data comprising a processor and a non-transitory memory with instructions thereon, wherein the instructions upon execution by the processor, cause the processor to:
determine, for subblocks of a current video block of a video which is coded with a subblock temporal motion vector predictor mode or an affine prediction mode, subblock boundaries to which a deblocking filter is to be applied according to a rule; and
perform a conversion between the current video block and a bitstream of the video based on the determinization,
wherein the rule specifies that when determining the subblock boundaries, a second deblocking filter length for a second horizontal subblock boundary of the subblock boundaries at a second vertical position (y2) and a second horizontal position (x2) inside the current video block is determined based on checking one or both of i) whether a boundary at a vertical position (y2+dy) and the second horizontal position (x2) is a transform block boundary or not, ii) whether a boundary at a vertical position (y2−dy) and the second horizontal position (x2) is a transform block boundary or not, where dy is an integer greater or equal to 0.

### Claim 17 (depends on 16)

The apparatus of claim 16, wherein the second deblocking filter length is equal to 1 in response to meeting at least one of i) the boundary at the vertical position (y2+dy) and the second horizontal position (x2) is a transform block boundary, or ii) the boundary at the vertical position (y2−dy) and the second horizontal position (x2) is a transform block boundary, wherein the second deblocking filter length includes a deblocking filter length for P side or a deblocking filter length for Q side;
wherein the second deblocking filter length is determined by omitting checking a second relationship between y2+dy and a height of the current video block;
wherein the second relationship between y2+dy and the height of the current video block comprises whether y2+dy is greater than or equal to the height of the current video block; and
wherein dy is equal to 4 or 8.

### Claim 18

A non-transitory computer-readable storage medium storing instructions that cause a processor to:
determine, for subblocks of a current video block of a video which is coded with a subblock temporal motion vector predictor mode or an affine prediction mode, subblock boundaries to which a deblocking filter is to be applied according to a rule; and
perform a conversion between the current video block and a bitstream of the video based on the determining,
wherein the rule specifies that when determining the subblock boundaries, a second deblocking filter length for a second horizontal subblock boundary of the subblock boundaries at a second vertical position (y2) and a second horizontal position (x2) inside the current video block is determined based on checking one or both of i) whether a boundary at a vertical position (y2+dy) and the second horizontal position (x2) is a transform block boundary or not, ii) whether a boundary at a vertical position (y2−dy) and the second horizontal position (x2) is a transform block boundary or not, where dy is an integer greater or equal to 0.

### Claim 19 (depends on 18)

The non-transitory computer-readable storage medium of claim 18, wherein the second deblocking filter length is equal to 1 in response to meeting at least one of i) the boundary at the vertical position (y2+dy) and the second horizontal position (x2) is a transform block boundary, or ii) the boundary at the vertical position (y2−dy) and the second horizontal position (x2) is a transform block boundary, wherein the second deblocking filter length includes a deblocking filter length for P side or a deblocking filter length for Q side;
wherein the second deblocking filter length is determined by omitting checking a second relationship between y2+dy and a height of the current video block;
wherein the second relationship between y2+dy and the height of the current video block comprises whether y2+dy is greater than or equal to the height of the current video block; and
wherein dy is equal to 4 or 8.

### Claim 20

A non-transitory computer-readable recording medium storing a bitstream of a video which is generated by a method performed by a video processing apparatus, wherein the method comprises:
determining, for subblocks of a current video block of the video which is coded with a subblock temporal motion vector predictor mode or an affine prediction mode, subblock boundaries to which a deblocking filter is to be applied according to a rule; and
generating the bitstream based on the determining,
wherein the rule specifies that when determining the subblock boundaries, a second deblocking filter length for a second horizontal subblock boundary of the subblock boundaries at a second vertical position (y2) and a second horizontal position (x2) inside the current video block is determined based on checking one or both of i) whether a boundary at a vertical position (y2+dy) and the second horizontal position (x2) is a transform block boundary or not, ii) whether a boundary at a vertical position (y2−dy) and the second horizontal position (x2) is a transform block boundary or not, where dy is an integer greater or equal to 0.
