# US 2021/0281862 A1 · Method and apparatus of hevc de-blocking filter

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

- Number: US 2021/0281862 A1
- Document ID: US20210281862A1
- Status: Published application
- Kind: A1
- Application number: 17/330,840
- Filed: 2021-05-26
- Published: 2021-09-09
- Earliest claimed: 2013-05-20
- Assignees: Texas Instruments Incorporated
- Applicants: Texas Instruments Incorporated
- Inventors: Mihir Narendra Mody; Niraj Nandan; Hideo Tamama
- Web page: https://patentgrep.com/patent/US20210281862A1

## CPC

- H04N 19/176: the region being a block, e.g. a macroblock
- 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/82: involving filtering within a prediction loop
- H04N 19/86: involving reduction of coding artifacts, e.g. of blockiness
- H04N 19/186: the unit being a colour or a chrominance component
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method of de-blocking filtering a processed video is provided. The processed video includes a plurality of blocks and each block includes a plurality of sub-blocks. A current block of the plurality of blocks includes vertical edges and horizontal edges. The processed video further includes a set of control parameters and reconstructed pixels corresponding to the current block. A boundary strength index is estimated at the vertical edges and at the horizontal edges of the current block. The set of control parameters, the reconstructed pixels corresponding to the current block and partially filtered pixels corresponding to a set of adjacent sub-blocks are loaded. The vertical edges and the horizontal edges of the current block are filtered based on the boundary strength index and the set of control parameters such that a vertical edge of the current block is filtered before filtering at least one horizontal edge of the current block.

## Claims

### Claim 1

A de-blocking filter comprising:
a boundary strength circuit configured to estimate a boundary strength index at vertical edges and at horizontal edges of a current block of a plurality of blocks, wherein the vertical edges comprise vertical pixel edges and horizontal edges comprise horizontal pixel edges;
a de-blocking filter engine comprising multiple cores, the de-blocking filter coupled to the boundary strength circuit and configured to:
filter the vertical pixel edges of the vertical edges based on the boundary strength index in parallel;
filter the horizontal pixel edges of the horizontal edges of the current block based on the boundary strength index in parallel; and
filter a set of sub-blocks in a processing block and not filter remaining sub-blocks in the processing block, the processing block based on a collation of the current block and a set of sub-blocks of blocks adjacent to the current block.

### Claim 2 (depends on 1)

The de-blocking filter of claim 1, wherein the de-blocking filter engine is configured to filter the vertical edge of the current block before filtering at least one horizontal edge of the current block followed by filtering a vertical edge of a subsequent block before filtering at least one horizontal edge of a subsequent block.

### Claim 3 (depends on 1)

The de-blocking filter of claim 1, wherein:
the processed video comprises a plurality of CUs (coding units) and each CU comprises the plurality of blocks arranged in a plurality of columns; and
each block comprises N×N pixels and each edge of the block comprises at least one of N/2 pixels and N/4 pixels.

### Claim 4 (depends on 3)

The de-blocking filter of claim 3, wherein the de-blocking filter engine is configured to filter all blocks in a column of the plurality of columns before filtering all blocks in a subsequent column in each CU.

### Claim 5 (depends on 1)

The de-blocking filter of claim 1, further comprising a memory coupled to the de-blocking filter engine, the memory configured to store a set of left sub-blocks, a set of top sub-blocks, and a set of top-left sub-blocks, wherein the set of left sub-blocks, the set of top sub-blocks and the set of top-left sub-blocks are the sub-blocks of blocks adjacent to the current block.

### Claim 6 (depends on 1)

The de-blocking filter of claim 1, further comprising a de-block controller coupled to the boundary strength circuit and the de-blocking filter engine, the de-block controller is configured to generate the processing block to the de-blocking filter engine by collating the current block and the set of sub-blocks of blocks adjacent to the current block.

### Claim 7 (depends on 1)

The de-blocking filter of claim 1, wherein the remaining sub-blocks comprises sub-blocks in a last column and a last row of the processing block.

### Claim 8 (depends on 1)

The de-blocking filter of claim 1, wherein:
the current block comprises a top-left vertical edge, a bottom-left vertical edge, a top-right vertical edge, a bottom-right vertical edge, a top-first horizontal edge, a top-second horizontal edge, a bottom-first horizontal edge, a bottom-second horizontal edge;
the boundary strength circuit is configured to estimate the boundary strength index at the top-left vertical edge, the bottom-left vertical edge, the top-right vertical edge, the bottom-right vertical edge, the top-first horizontal edge, the top-second horizontal edge, the bottom-first horizontal edge, the bottom-second horizontal edge; and
the de-blocking filter engine is configured to filter the top-left vertical edge and the bottom-left vertical edge followed by filtering an edge between a left sub-block and a left top sub-block and the top-first horizontal edge, wherein the left sub-block is a sub-block in the set of left sub-blocks and the left top sub-block is a sub-block in the set of left top sub-blocks.

### Claim 9 (depends on 1)

The de-blocking filter of claim 1, configured to perform a logic operation based on the boundary strength index.

### Claim 10

A method of filtering a video comprising:
estimating a boundary strength index at vertical edges and at horizontal edges of a current block of a plurality of blocks, wherein the vertical edges comprise vertical pixel edges and horizontal edges comprise horizontal pixel edges; and
filtering the vertical pixel edges of the vertical edges based on the boundary strength index in parallel and the horizontal edges of the current block based on the boundary strength index in parallel, wherein filtering the vertical edges and the horizontal edges of the current block based on the boundary strength index comprises filtering the top-left vertical edge of the current block and the bottom-left vertical edge of the current block followed by filtering an edge between a left sub-block and a left top sub-block and the top-first horizontal edge of the current block.

### Claim 11 (depends on 10)

The method of claim 10, wherein filtering the vertical edges and the horizontal edges of the current block based on the boundary strength index comprises filtering the vertical edge of the current block before filtering at least one horizontal edge of the current block followed by filtering a vertical edges of a subsequent block before filtering at least one horizontal edge of the subsequent block.

### Claim 12 (depends on 10)

The method of claim 10, wherein:
the vertical edges comprises a top-left vertical edge, a bottom-left vertical edge, a top-right vertical edge and a bottom-right vertical edge and the horizontal edges comprises a top-first horizontal edge, a top-second horizontal edge, a bottom-first horizontal edge and a bottom-second horizontal edge.

### Claim 13 (depends on 10)

The method of claim 10, wherein:
the processed video comprises a plurality of CUs (coding units) and each CU comprises the plurality of blocks arranged in a plurality of columns; and
each block comprises N×N pixels and each edge of the block comprises at least one of N/2 pixels and N/4 pixels.

### Claim 14 (depends on 10)

The method of claim 10, further comprising filtering all blocks in a column of the plurality of columns before filtering all blocks in a subsequent column in each CU.

### Claim 15 (depends on 10)

The method of claim 10, further comprising forming a processing block by collating a set of sub-blocks of blocks adjacent to the current block and the current block.

### Claim 16 (depends on 15)

The method of claim 15, further comprising filtering a set of sub-blocks in the processing block and storing remaining sub-blocks in the processing block, the remaining sub-blocks are the sub-blocks in a last column and a last row of the processing block.
