Patent AU-2023201754-B2 (AU)
Title: Systems and methods for applying deblocking filters to reconstructed video data
Inventor: ZHU WEIJIA
IPC: H04N19/86
Filed: 2023-03-21
Granted: 2023-11-23
Abstract: Disclosed is a method of filtering reconstructed video data, the method comprising: receiving 
values of samples included in a first block or a second block, in the reconstructed video data, 
adjacent to a block boundary; determining whether or not an edge type is horizontal and 
whether or not a height of the first block is greater than or equal to 32 samples; in a case 
where the edge type is horizontal and the height is less than 32 samples, calculating a first 
gradient value based on a first absolute value of a value derived by adding sampleO to a value 
derived by subtracting twice sample from sample2; in a case where the edge type is 
horizontal and the height is greater than or equal to 32 samples, calculating a second gradient 
value based on the first absolute value and a second absolute value of a value derived by 
adding sample3 to a value derived by subtracting twice sample4 from sample5, where the 
sampleO is a value of a first sample immediately adjacent to the block boundary, where the 
sample is a value of a second sample adjacent to the first sample and one position further 
from the block boundary, where the sample2 is a value of a third sample adjacent to the 
second sample and one position further from the block boundary, where the sample3 is a 
value of a fourth sample adjacent to the third sample and one position further from the block 
boundary, where the sample4 is a value of a fifth sample adjacent to the fourth sample and 
one position further from the block boundary, and where the sample5 is a value of a sixth 
sample adjacent to the fifth sample and one position further from the block boundary; and 
modifying the values of samples included in the first block or the second block according to 
at least one of the first gradient value and the second gradient value.  
Figure 5A
[Fig. 5A] 
Deblocking 
Boundary 
P _ _ _ Q 
P7,0 P6,0 P5,0 P4,0 P3,0 P2,0 pi,o po,o q0,0 91,0 92,0 q3,0 q 4,o q 5,o q6 ,0 q 7,0 
P7,1 P6,1 P5,1 P4,1 P3,1 P2,1 P1,1 po,1 q0,1 91,1 q 2,1 q 3,1q 4 ,1 q 5,1 q6 ,1 q 7,1 
P7,2 P6,2 P5,2 P4,2 P3,2 P2,2 P1,2 PO,2 q 0 ,2 q 1 ,2 q 2 ,2 q 3 ,2 q 4 ,2 q 5 ,2 q 6 ,2 q 7 ,2 
P7,3 P6,3 P5,3 P4,3 P3,3 P2,3 P1,3 PO,3 qO, 3 q 1 ,3 q 2,3 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