Patent ID: 11943479
Assignee: LG ELECTRONICS INC.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 6:
7. A method for encoding a video signal using transform, comprising:
determining transform kernels to be applied to horizontal and vertical directions of a current block including a residual signal except a predicted signal in the video signal, the transform kernels including a horizontal transform kernel and a vertical transform kernel;
generating transform information about the transform kernels, the transform information including a horizontal transform type index for the horizontal transform kernel and a vertical transform type index for the vertical transform kernel; and
generating a transformed block by respectively applying horizontal transform and vertical transform to the horizontal direction and the vertical direction of the current block based on the transform kernels related to the transform information,
wherein a size of the transformed block is determined based on the horizontal transform type index, the vertical transform type index, and a size of the transform block,
wherein a width of the transformed block is determined as a smaller value between a width of the current block and 16 if the horizontal transform type index is greater than 0 and determined as a smaller value between the width of the current block and 32 if the horizontal transform type index is not greater than 0, and
wherein a height of the transformed block is determined as a smaller value between a height of the current block and 16 if the vertical transform type index is greater than 0 and determined as a smaller value between the height of the current block and 32 if the vertical transform type index is not greater than 0.