| CPC H04N 19/44 (2014.11) [H04N 19/136 (2014.11); H04N 19/184 (2014.11); H04N 19/45 (2014.11); H04N 19/60 (2014.11)] | 5 Claims |

|
1. A method of decoding a video, the method comprising:
obtaining quantized coefficients of a current block from a bitstream;
generating a residual signal of the current block by performing inverse quantization and inverse transform on the quantized coefficients of the current block; and
reconstructing the current block based on the residual signal,
wherein the inverse transform is performed based on a transform type of the current block,
wherein the transform type of the current block is determined based on a transform type index signaled from the bitstream,
wherein the transform type index indicates one of a plurality candidate transform types,
wherein each of the plurality of candidate transform types includes a horizontal transform type and a vertical transform type,
wherein each of the horizontal transform type and the vertical transform type is one of pre-defined transform types,
wherein the pre-defined transform types include at least one of a DCT-based transform type, a DST-based transform type, or an identity transform type.
|