CPC H04N 19/18 (2014.11) [H04N 19/176 (2014.11); H04N 19/184 (2014.11); H04N 19/46 (2014.11); H04N 19/60 (2014.11); H04N 19/91 (2014.11)] | 4 Claims |
1. An image decoding method performed by a decoding apparatus, the decoding method comprising:
acquiring information about transform coefficients for a target block from the bitstream;
deriving transform coefficients for the target block based on the information about the transform coefficients;
deriving residual samples for the target block by performing a predefined inverse transform based on the transform coefficients; and
generating reconstructed samples based on the residual samples, wherein based on a case that the predefined inverse transform is applied, transform coefficients for the target block in a remaining region other than a top-left target region of the target block are equal to 0,
wherein a size of an input target region for the predefined inverse transform is smaller than a size of an output target region for the predefined inverse transform, wherein the input target region is equal to the top-left target region,
wherein the information about the transform coefficients for the target block includes information about a location of a last non-zero transform coefficient, and
wherein based on the case that the predefined inverse transform is applied, the last non-zero transform coefficient is one of transform coefficients other than the transform coefficients in the remaining region.
|