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

Claim 3:
4. A method of encoding a video, the method comprising:
obtaining motion information of a current block;
obtaining prediction samples of the current block based on the motion information of the current block;
generating residual samples of the current block by subtracting the prediction samples from original samples;
determining a transform type for a transform block included in the current block;
performing the transform for the transform block based on the determined transform type;
performing a quantization on transform coefficients resulting from the transform; and
encoding quantized transform coefficients of the transform block,
wherein a transform skip flag, indicating whether the transform is skipped or not, is selectively encoded into a bitstream, and
wherein whether to encode the transform skip flag into the bitstream is determined based on whether the current block including the transform block is partitioned into two transform blocks or not.