CPC H04N 19/13 (2014.11) [H04N 19/159 (2014.11); H04N 19/176 (2014.11); H04N 19/18 (2014.11); H04N 19/91 (2014.11)] | 20 Claims |
1. A method for decoding a video block in a video stream, comprising:
parsing and processing the video stream to generate:
a set of secondary transform coefficients associated with the video block;
an intra-prediction mode associated with the video block; and
a kernel index indicating a secondary transform kernel among a group of secondary transform kernels;
selecting the group of secondary transform kernels amoung a plurality of groups of secondary transform kernels adaptively according to the video block; and
performing an inverse secondary transform of the set of secondary transform coefficients to generate primary transform coefficients of the video block based on the secondary transform kernel according to the kernel index in the adaptively selected group of secondary transform kernels identified among the plurality of groups of secondary transform kernels,
wherein the adaptive selection of the group of secondary transform kernels among the plurality of groups of secondary transform kernels, and a number of kernels in the adaptively selected group of secondary transform kernels and thereby a signaling bit size of the kernel index both depend on at least one of:
the intra-prediction mode associated with the video block;
a size of the video block; and
a primary transform type associated with the video block.
|