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

Claim 3:
4. A method of encoding a video signal based on a Multiple Transform Selection (MTS), comprising:
generating a residual sample array;
determining a vertical transform type applied to a vertical direction and a horizontal transform type applied to a horizontal direction of a current block;
performing transform on the current block based on the vertical transform type and the horizontal transform type;
generating an MTS index, wherein the MTS index corresponds to one of a plurality of transform combinations within a transform configuration group, the one of the plurality of transform combinations includes the vertical transform type and the horizontal transform type, and wherein the MTS represents a transform method performed based on a transform combination selected from the plurality of transform combinations;
deriving a quantized transform coefficient array with a width and a height of the current block by performing quantization on the current block; and
performing entropy-encoding on the current block to generate a bitstream,
wherein the bitstream includes a sequence parameter set,
wherein the sequence parameter set includes an MTS intra enabling flag representing whether the MTS index could be present in a syntax for an intra coding unit and an MTS inter enabling flag representing whether the MTS index could be present in a syntax for an inter coding unit,
wherein performing the transform on the current block includes:
performing, based on the horizontal transform type, a one-dimensional transform process in the horizontal direction on each of rows of the residual sample array; and
performing, based on the vertical transform type, a one-dimensional transform process in the vertical direction on each of columns of an intermediate sample array output by the one-dimensional transform process for each of the rows of the residual sample array,
wherein the plurality of transform combinations includes at least one of a first transform type, a second transform type, or a third transform type, and
wherein the first transform type, the second transform type, and the third transform type are different from each other.