CPC H04N 19/132 (2014.11) [H04N 19/105 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11); H04N 19/186 (2014.11)] | 18 Claims |
1. An image decoding method performed by an image decoding apparatus, the image decoding method comprising:
deriving a value of a first flag indicating whether an MPM mode is applied for a current block;
deriving, based on the value of the first flag, a value of a second flag indicating whether an intra prediction mode of the current block is a Planar mode;
deriving, based on the value of the second flag, the intra prediction mode of the current block; and
generating a prediction block of the current block by performing an intra prediction for the current block based on the intra prediction model,
wherein the deriving the value of the second flag is performed based on whether a reference sample line used for the intra prediction of the current block is a first reference sample line directly adjacent to the current block.
|