CPC H04N 19/625 (2014.11) [H04N 19/105 (2014.11); H04N 19/132 (2014.11); H04N 19/176 (2014.11); H04N 19/18 (2014.11); H04N 19/70 (2014.11)] | 13 Claims |
1. A method for decoding a video signal using transform, comprising:
determining a horizontal transform type index for a horizontal transform kernel and a vertical transform type index for a vertical transform kernel of a transform block in the video signal;
determining a transform region in which a significant transform coefficient exists in the transform block based on the horizontal transform type index, the vertical transform type index, and a size of the transform block; and
applying inverse-transform to the transform region based on the horizontal transform type index and the vertical transform type index,
wherein a width of the transform region is determined as a smaller value between a width of the transform block and 16 if the horizontal transform type index is greater than 0 and determined as a smaller value between the width of the transform block and 32 if the horizontal transform type index is not greater than 0, and
wherein a height of the transform region is determined as a smaller value between a height of the transform block and 16 if the vertical transform type index is greater than 0 and determined as a smaller value between the height of the transform block and 32 if the vertical transform type index is not greater than 0.
|