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

Claim 9:
10. An encoding apparatus for a video encoding, the encoding apparatus comprising:
a memory; and
at least one processor connected to the memory, the at least one processor configured to:
derive prediction samples by performing a prediction for a current block;
derive residual samples based on original samples and the prediction samples for the current block;
generate a flag for whether transform coefficients for the current block are present;
based on a value of the flag being 1 which indicates the transform coefficients for the current block are present, determine whether the current block is partitioned based on a width and a height of the current block and a maximum transform size;
derive transform blocks by partitioning the current block based on a result of the determination;
derive the transform coefficients by performing a transform process on residual samples included in the derived transform blocks;
derive quantized transform coefficients by performing a quantization process on the transform coefficients; and
encode video information comprising the flag and residual information for the quantized transform coefficients,
wherein based on the value of the flag being 1, it is determined that the current block is partitioned into the transform blocks based on at least one of a case in which the width of the current block is greater than a width of the maximum transform size and a case the height of the current block is greater than a height of the maximum transform size.