| CPC H04N 19/105 (2014.11) [H04N 19/132 (2014.11); H04N 19/137 (2014.11); H04N 19/176 (2014.11)] | 11 Claims |

|
1. An image decoding method performed by a decoding apparatus, the method comprising:
deriving a reference block in a reference picture based on a left neighboring block of a current block;
deriving a subblock-based temporal merging candidate for the current block based on the reference block;
deriving an inherited affine candidate for the current block;
deriving a constructed affine candidate for the current block;
constructing a subblock merge candidate list for the current block including the subblock-based temporal merging candidate, the inherited affine candidate and the constructed affine candidate;
deriving motion information of sub-blocks of the current block based on the subblock merge candidate list;
deriving prediction samples for the current block based on motion information of the sub-blocks;
generating a reconstructed picture based on the prediction samples; and
filtering the reconstructed picture based on at least one of a deblocking filter, a sample adaptive offset, or adaptive loop filter,
wherein based on a size of the current block being W×H, and an x component of a top-left sample position of the current block being a and a v component of the top-left sample position being b, the left neighboring block is a block including a sample at (a−1, b+H−1) coordinates.
|