CPC H04N 19/625 (2014.11) [H04N 19/132 (2014.11); H04N 19/176 (2014.11); H04N 19/70 (2014.11)] | 15 Claims |
1. A method for decoding a video signal, comprising:
deriving transform kernels being applied to a current block, wherein the transform kernels include a horizontal transform kernel and a vertical transform kernel;
determining a non-zero region to which an inverse transform is applied within the current block based on the transform kernels and a width and/or a height of the current block;
performing the inverse transform on the non-zero region based on the transform kernels,
wherein the determining of the non-zero region comprises:
determining whether each of the transform kernels corresponds to a predefined transform kernel; and
determining a region having a predefined width and/or a predefined height as the non-zero region based on (i) the determination of whether each of the transform kernels corresponds to the predefined transform kernel, and (ii) the width and/or the height of the current block,
wherein the method further comprises:
obtaining syntax elements related to a position of a last significant coefficient in scanning order within the current block,
wherein coefficients to which the inverse transform is applied are obtained from the video signal based on the position of the last significant coefficient, and
wherein the syntax elements are binarized based on a size which is equal to a size of the non-zero region.
|