CPC H04N 19/132 (2014.11) [H04N 19/122 (2014.11); H04N 19/176 (2014.11); H04N 19/61 (2014.11)] | 11 Claims |
1. A decoding apparatus for a video decoding, the decoding apparatus comprising:
a memory; and
at least one processor connected to the memory, the at least one processor configured to:
obtain residual information and a flag for whether transform coefficients for a current block are present from a bitstream;
derive prediction samples by performing a prediction for the current block;
determine whether a value of the flag is 1 which indicates the transform coefficients for the current block are present;
based on the value of the flag being 1, 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 for the derived transform blocks based on the residual information;
derive residual samples by performing an inverse transform process for the transform coefficients; and
generate a reconstructed picture based on the residual samples and the prediction samples,
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.
|