| CPC H04N 19/44 (2014.11) [H04N 19/132 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11); H04N 19/625 (2014.11); H04N 19/70 (2014.11)] | 7 Claims |

|
1. A method of decoding a video signal based on a Multiple Transform Selection (MTS) by an apparatus, comprising:
obtaining syntax elements from the video signal, wherein the syntax elements include a first syntax element indicating whether a third syntax element could be present in a syntax for an intra coding unit, a second syntax element indicating whether the third syntax element could be present in a syntax for an inter coding unit, and the third syntax element corresponding to one of a plurality of transform combinations within a transform configuration group, wherein the first and second syntax elements are included in a sequence parameter set (SPS) of the video signal, and wherein the MTS represents a transform method performed based on a transform combination selected from the plurality of transform combinations;
deriving an inverse quantized transform coefficient array with a width and a height of a current block by performing inverse quantization on the current block;
determining a vertical transform type applied to a vertical direction and a horizontal transform type applied to a horizontal direction of the current block based on the third syntax element; and
deriving a residual sample array with the width and the height of the current block by performing inverse transform on the inverse quantized transform coefficient array based on the vertical transform type and the horizontal transform type,
wherein deriving the residual sample array includes:
performing, based on the vertical transform type, a one-dimensional transform process in the vertical direction on each of columns of the inverse quantized transform coefficient array; and
performing, based on the horizontal transform type, a one-dimensional transform process in the horizontal direction on each of rows of an intermediate sample array output by the one-dimensional transform process for each of the columns,
wherein performing the one-dimensional transform process in the horizontal direction includes clipping an intermediate sample value output by the one-dimensional transform process for each of the columns based on a minimum value and a maximum value of a predefined coefficient.
|