CPC H04N 19/44 (2014.11) [H04N 19/105 (2014.11); H04N 19/11 (2014.11); H04N 19/119 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11); H04N 19/46 (2014.11); H04N 19/625 (2014.11)] | 6 Claims |
1. A decoding apparatus for image decoding configured for
determining transform kernels of a current block based on one transform kernel set of five transform kernel sets pre-defined in the decoding apparatus,
determining a size of a non-zero region for an inverse primary transform based on the transform kernels of the current block and a size of the current block, and
performing the inverse primary transform on the non-zero region based on the transform kernels of the current block,
wherein each of the five transform kernel sets is representative of a pair of a horizontal transform kernel and a vertical transform kernel,
wherein the five transform kernel sets include a first transform kernel set of (DCT2, DCT2), a second transform kernel set of (DST7, DST7), a third transform kernel set of (DCT8, DST7), a fourth transform kernel set of (DST7, DCT8), and a fifth transform kernel set of (DCT8, DCT8),
wherein based on the size of the current block being 32×32 and the one transform kernel set for the transform kernels of the current block being the first transform kernel set, the size of the non-zero region is determined as 32×32, and
wherein based on the size of the current block being 32×32 and the one transform kernel set for the transform kernels of the current block being one of the second to fifth transform kernel sets, the size of the non-zero region is determined as 16×16.
|