Patent ID: 11962774
Assignee: KT CORPORATION
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 5:
6. A method for encoding a video, the method comprising:
obtaining a residual sample of a current transform block;
determining a transform type set of the current transform block;
obtaining a transform coefficient of the current transform block by performing transform for the current transform block based on the transform type set; and
obtaining a residual coefficient by quantizing the transform coefficient,
wherein, in response to a case where a coding block including the current transform block is partitioned into two transform blocks, the transform type set of the current transform block is determined differently between when the coding block is partitioned in a horizontal direction and when the coding block is partitioned in a vertical direction, and
wherein the coding block is obtained based on a tree-based block division including at least one of a quad division or a binary division.