IP Library Granted Patent US 12713072
Granted Patent B2
US 12713072 · App. 18/941,771 · Granted Aug 18, 2026

Deblocking of transform sub-block boundaries

Inventors: Kenneth Andersson (Gävle, SE); Jack Enhorn (Kista, SE); Zhi Zhang (Solna, SE)
Assignee: TELEFONAKTIEBOLAGET LM ERICSSON (PUBL)
H04N19/80H04N19/11H04N19/117H04N19/12H04N19/132H04N19/167H04N19/176H04N19/61
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12713072
App. No.
18/941,771
Granted
Aug 18, 2026
Kind
B2
Abstract

A method for deblocking at least one boundary of a coding unit. The method includes determining that the coding unit uses a sub-block transform, wherein the sub-block transform generates a transform sub-block boundary within the coding unit, thereby forming at least a transform sub-block within the coding unit; as a result of determining that the coding unit uses the sub-block transform, determining a maximum filter length based on a dimension of the transform sub-block within the coding unit, wherein the maximum filter length indicates a maximum number of samples to modify when deblocking a boundary of the coding unit; and deblocking the boundary of the coding unit based on the determined maximum filter length.

Claims (35)

1 . A method for filtering at least one sub-block transform boundary of a current coding unit, the method comprising:

obtaining information indicating that for the current coding unit, sub-block transform is used, wherein the current coding unit is split into a first transform sub-block and a second transform sub-block, thereby forming the sub-block transform boundary;

setting a maximum filter length value based on a dimension of a transform sub-block within the coding unit, wherein the dimension of the transform sub-block within the coding unit is a width of the transform sub-block when the boundary is vertical boundary or a height of the transform sub-block when the boundary is a horizontal boundary, wherein the setting comprises comparing the dimension of the transform sub-block with a predetermined size threshold, wherein the maximum filter length value indicates a maximum number of samples to modify when deblocking a boundary of the coding unit; and

filtering the sub-block transform boundary of the coding unit based on the determined maximum filter length value, wherein

the dimension is greater than a first predetermined size threshold, and

if the coding unit does not include prediction sub-blocks and the dimension is greater than or equal to a second predetermined size threshold, then the maximum filter length value is set to 7,

otherwise if the coding unit includes prediction sub-blocks and the dimension is greater than or equal to the second predetermined size threshold, the maximum filter length value is set to 5,

otherwise the maximum filter length value is set to 3.

2 . The method of claim 1 , wherein the first predetermined size threshold is 4.

3 . The method of claim 1 , wherein the second predetermined size threshold is set to 32.

4 . The method of claim 1 , wherein

the second predetermined size threshold is greater than the first predetermined size threshold, and

setting the maximum filter length value comprises setting the maximum filter length value to 7 as a result of determining that: i) the coding unit does not include prediction sub-blocks and ii) the dimension is greater than or equal to the second predetermined size threshold.

5 . The method of claim 1 , wherein

the second predetermined size threshold is greater than the first predetermined size threshold, and

setting the maximum filter length value comprises setting the maximum filter length value to 5 as a result of determining that: i) the coding unit includes prediction sub-blocks and ii) the dimension is greater than or equal to the second predetermined size threshold.

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

7 . An apparatus comprising:

memory; and

processing circuitry coupled to the memory, wherein the apparatus is configured to perform a method for filtering at least one sub-block transform boundary of a current coding unit, the method comprising:

obtaining information indicating that for the current coding unit, sub-block transform is used, wherein the current coding unit is split into a first transform sub-block and a second transform sub-block, thereby forming the sub-block transform boundary;

setting a maximum filter length value based on a dimension of a transform sub-block within the coding unit, wherein the dimension of the transform sub-block within the coding unit is a width of the transform sub-block when the boundary is vertical boundary or a height of the transform sub-block when the boundary is a horizontal boundary, wherein the setting comprises comparing the dimension of the transform sub-block with a predetermined size threshold, wherein the maximum filter length value indicates a maximum number of samples to modify when deblocking a boundary of the coding unit; and

filtering the sub-block transform boundary of the coding unit based on the determined maximum filter length value, wherein

the dimension is greater than a first predetermined size threshold, and

if the coding unit does not include prediction sub-blocks and the dimension is greater than or equal to a second predetermined size threshold, then the maximum filter length value is set to 7,

otherwise if the coding unit includes prediction sub-blocks and the dimension is greater than or equal to the second predetermined size threshold, the maximum filter length value is set to 5,

otherwise the maximum filter length value is set to 3.

8 . The apparatus of claim 7 , wherein the first predetermined size threshold is 4.

9 . The apparatus of claim 7 , wherein the second predetermined size threshold is set to 32.

10 . The apparatus of claim 7 , wherein

the second predetermined size threshold is greater than the first predetermined size threshold, and

setting the maximum filter length value comprises setting the maximum filter length value to 7 as a result of determining that: i) the coding unit does not include prediction sub-blocks and ii) the dimension is greater than or equal to the second predetermined size threshold.

11 . The apparatus of claim 7 , wherein

the second predetermined size threshold is greater than the first predetermined size threshold, and

setting the maximum filter length value comprises setting the maximum filter length value to 7 as a result of determining that: i) the coding unit includes prediction sub-blocks and ii) the dimension is greater than or equal to the second predetermined size threshold.