CPC H04N 19/117 (2014.11) [H04N 19/132 (2014.11); H04N 19/176 (2014.11); H04N 19/18 (2014.11); H04N 19/82 (2014.11)] | 7 Claims |
1. A method of decoding a current block of video data, the method comprising:
decoding transform coefficients corresponding to only part of sub-blocks in the current block, and sub-block information indicating a division form of the sub-blocks from a bitstream;
deriving a residual block of the current block from the transform coefficients on the basis of the sub-block information; and
filtering boundaries of the sub-blocks in a reconstructed block of the current block derived on the basis of the residual block,
wherein the sub-block information includes:
division direction information indicating a division direction of the sub-blocks; and
at least one of division type information indicating a division type of the sub-blocks between a binary division type and a quad division type and position information indicating a position of at least one transform sub-block which is a transformed region among the sub-blocks, wherein the deriving of the residual block comprises:
identifying the transform sub-block and at least one non-transform sub-block which is a region not transformed, on the basis of the sub-block information;
deriving residual samples corresponding to the transform sub-block, by inversely transforming the transform coefficients in the transform sub-block, and
setting residual samples corresponding to the non-transform sub-block as zero.
|