Patent ID: 11949916
Assignee: SAMSUNG ELECTRONICS CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 6:
7. A non-transitory computer-readable medium storing a bitstream, the bitstream being decoded by a decoding method,
wherein the decoding method comprises:
obtaining a plurality of transform coefficients for residual samples of a current block, wherein the plurality of transform coefficients are two-dimensionally arranged;
determining, based on length information of a first side of the current block, a horizontal transform kernel for horizontal transformation of the plurality of transform coefficients, regardless of a length of a second side of the current block, wherein the second side is orthogonal to the first side;
determining, based on length information of the second side of the current block, a vertical transform kernel for vertical transformation of the plurality of transform coefficients, regardless of a length of the first side of the current block;
obtaining the residual samples of the current block by performing, based on the plurality of transform coefficients, inverse transformation using the horizontal transform kernel and the vertical transform kernel; and
reconstructing the current block based on the obtained residual samples,
wherein, based on the length information of the first side having a value outside a preconfigured range and the length information of the second side having a value within the preconfigured range, the horizontal transform kernel is determined to be a first transform kernel and the vertical transform kernel is determined to be a second transform kernel, and
wherein the first transform kernel is a discrete cosine transform type 2 (DCT-2)-based transform kernel, and the second transform kernel is not the DCT-2-based transform kernel.