| CPC H04N 19/46 (2014.11) [H04N 19/105 (2014.11); H04N 19/176 (2014.11); H04N 19/186 (2014.11); H04N 19/70 (2014.11); H04N 19/82 (2014.11)] | 6 Claims |

|
1. A video decoding apparatus comprising at least one processor and a memory, the at least one processor configured to:
decode, from a bitstream, a flag indicating whether residual signals corresponding only to a partial region of a current block have been encoded;
reconstruct transform coefficients by decoding, from the bitstream, transform coefficient information for one subblock of two subblocks split from the current block, when the flag indicates that the residual signals corresponding only to the partial region of the current block have been encoded;
predict the current block to generate a prediction block;
generate a residual block for the current block by performing an inverse quantization and an inverse transform on the transform coefficients in the one subblock for which the transform coefficient information has been decoded;
reconstruct the current block by adding up the prediction block and the residual block; and
set a grid of N samples on the reconstructed current block at regular intervals in horizontal and vertical directions and performing deblock filtering on a boundary between the two subblocks in the current block that coincides with a boundary of the grid;
wherein reconstructing the transform coefficients comprises:
decoding, from the bitstream, one or more syntax elements indicating a partition type of the current block;
determining a partition type for the current block to be split into the two subblocks depending on the one or more syntax elements indicating the partition type of the current block and a width and a height of the current block; and
decoding transform coefficient information corresponding only to the one subblock of the two subblocks that is determined according to the partition type;
wherein the partition type specifies a split ratio and a split direction; and
wherein available split ratios and available split directions for the current block are limited according to the width and height of the current block to provide 4 pixels or more for a height or a width of the one subblock to undergo the inverse transform.
|