CPC H04N 19/117 (2014.11) [H04N 19/176 (2014.11); H04N 19/186 (2014.11); H04N 19/86 (2014.11); H04N 19/96 (2014.11)] | 14 Claims |
1. A decoding device for filtering reconstructed video data, the decoding device comprising:
one or more processors; and
one or more non-transitory computer-readable media coupled to the one or more processors and storing one or more computer-executable instructions that, when executed by at least one of the one or more processors, cause the decoding device to:
receive an edge type variable specifying whether a vertical edge or a horizontal edge is being filtered in a current block of the reconstructed video data;
derive a maximum filter length of a deblocking filter based on the edge type variable and one or more conditions relating to at least one of a size of a transform block associated with the current block or a size of an adjacent transform block, wherein:
when the edge type variable specifies that the vertical edge is filtered, the size of the transform block associated with the current block is a width of the transform block associated with the current block and the size of the adjacent transform block is a width of the adjacent transform block; and
perform a deblocking filtering, by the deblocking filter, on the current block of the reconstructed video data based on the maximum filter length, wherein a value of a luma filtered sample of the reconstructed video data is clipped based on a position of the luma filtered sample of the reconstructed video data, and wherein the maximum filter length is set to 1 when (i) the edge type variable specifies that the horizontal edge is filtered, and (ii) a remainder of a vertical location of the horizontal edge divided by a height of a coding tree block is equal to 0.
|