| CPC H04N 19/117 (2014.11) [H04N 19/132 (2014.11); H04N 19/176 (2014.11); H04N 19/186 (2014.11); H04N 19/80 (2014.11)] | 4 Claims |

|
1. An image decoding method performed by a decoding apparatus, comprising:
receiving image information including prediction mode information and residual information from a bitstream;
deriving prediction samples of a current block based on the prediction mode information;
deriving residual samples of the current block based on the residual information;
generating a reconstructed picture based on the prediction samples and the residual samples; and
deriving a modified reconstructed picture by performing deblocking filtering on the reconstructed picture,
wherein the deblocking filtering is performed based on a filter length for a target boundary with respect to the current block in the reconstructed picture,
wherein the filter length is derived based on a distance between the target boundary and a neighboring target boundary adjacent to the target boundary,
wherein for the current block that is a luma component, the filter length is derived based on whether the distance between the target boundary and the neighboring target boundary is i) less than or equal to 4, ii) greater than 4 and less than or equal to 8 or 16, or iii) greater than 16,
wherein for the current block that is a chroma component, the filter length is derived based on whether the distance between the target boundary and the neighboring target boundary is i) less than or equal to 4 or ii) greater than 4.
|