Patent ID: 11962766
Assignee: KOREA ADVANCED INSTITUTE OF SCIENCE AND TECHNOLOGY
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 0:
1. A method for decoding a video signal, comprising:
deriving an intra prediction mode of a current block;
determining a scan type of the current block to be an up-right diagonal scan, a horizontal scan, or a vertical scan based on the intra prediction mode of the current block;
obtaining transform coefficients of the current block based on the scan type of the current block;
determining a transform type of the current block to be DCT (Discrete Cosine Transform) or a DST (Discrete Sine Transform);
performing an inverse-transform on the transform coefficients based on the transform type of the current block to generate residual samples; and
reconstructing the current block by using the residual samples,
wherein when a size of the current block corresponds to 4×4 and a color component of the current block is a luma component, the inverse-transform is performed by using DST in horizontal and vertical transform directions, for all intra prediction mode and a planar mode of the current block.