Patent ID: 11991360

Abstract:
This disclosure relates to secondary transform of video blocks with adaptive kernel options. For example, a method for decoding a video block in an video stream is disclosed. The method may include 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. The method may further include identifying the group of secondary transform kernels based on the intra-prediction mode; 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 among the group of secondary transform kernels identified by the kernel index. The quantity of kernels in the group of secondary transform kernels depends on at least one of: the intra-prediction mode associated with the video block; a size of the video block; or a primary transform type associated with the video block.