CPC H04N 19/593 (2014.11) [H04N 19/176 (2014.11); H04N 19/184 (2014.11)] | 17 Claims |
1. An image decoding method performed by an image decoding apparatus, comprising:
decoding first MPM information indicating whether a planar mode in a first MPM list is applied to a current block;
deriving an intra prediction mode of the current block to be the planar mode in response to the first MPM information indicating that the planar mode in the first MPM list is applied to the current block;
decoding second MPM information indicating the intra prediction mode of the current block in a second MPM list in response to the first MPM information indicating that the planar mode in the first MPM list is not applied to the current block, and deriving the intra prediction mode of the current block in the second MPM list based on the second MPM information;
configuring a reference sample for intra prediction of the current block;
obtaining prediction samples of the current block based on the intra prediction mode and the reference sample,
obtaining residual samples of the current block by performing inverse transformation on residual data of the current block; and
generating reconstructed samples of the current block by adding the prediction samples and the residual samples of the current block,
wherein the second MPM list comprises a first intra prediction mode of a neighboring block of the current block and a second intra prediction mode having an index that is greater than or smaller than an index of the first intra prediction mode, and
wherein an offset between indexes of the first intra prediction mode and the second intra prediction mode is greater than or equal to 2.
|