CPC H04N 19/60 (2014.11) [H04N 19/122 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11); H04N 19/18 (2014.11)] | 4 Claims |
1. A decoding apparatus for an image decoding, the decoding apparatus comprising:
a memory; and
at least one processor connected to the memory, the at least one processor configured to:
obtain prediction related information and information on transform coefficients for a current block from a bitstream;
derive transform coefficients for the current block based on the information on the transform coefficients; and
generate residual samples of the current block based on the transform coefficients,
wherein the information on the transform coefficients includes low frequency non-separable transform (LFNST) index information related to one of transform kernels in an LFNST transform set for the current block based on an enabled flag for LFNST and a matrix based intra prediction (MIP) flag,
wherein the at least one processor further configured to:
derive modified transform coefficients from the transform coefficients based on the LFNST index information; and
generate the residual samples based on the modified transform coefficients,
wherein the MIP flag represents whether MIP is applied to the current block,
wherein the MIP flag is included in the prediction related information,
wherein a parsing order of the MIP flag always precedes a parsing order of the LFNST index information,
wherein based on the enabled flag representing that the LFNST is enabled and the MIP flag representing that the MIP is not applied, the information on the transform coefficients includes the LFNST index information, and
wherein based on the MIP flag representing that the MIP is applied, the LFNST index information is not present and a value of the LFNST index information is derived as 0.
|