CPC H04N 19/593 (2014.11) [H04N 19/105 (2014.11); H04N 19/11 (2014.11); H04N 19/119 (2014.11); H04N 19/176 (2014.11); H04N 19/182 (2014.11); H04N 19/46 (2014.11)] | 7 Claims |
1. A method of decoding an image, comprising:
determining a reference pixel line among a plurality of pixel lines for intra prediction of a current block;
determining a first flag indicating whether an intra prediction mode of the current block derived from a first MPM group or a second MPM group, wherein an MPM (Most Probable Mode) candidate group is divided into the first MPM group comprising one or more default intra prediction modes and the second MPM group comprising one or more non-default intra prediction modes that are derived from an intra prediction mode of a neighboring block adjacent to the current block;
when the first flag is determined to be a first value, deriving an intra prediction mode of the current block based on a default intra prediction mode in the first MPM group;
when the first flag is determined to be a second value, deriving the intra prediction mode of the current block based on a non-default intra prediction mode in the second MPM group that is selected by an MPM index; and
performing the intra prediction on the current block based on the reference pixel line and the intra prediction mode,
wherein the plurality of pixel lines at least include a first pixel line immediately adjacent to the current block, a second pixel line immediately adjacent to the first pixel line, and a third pixel line immediately adjacent to the second pixel line, and
wherein the first flat is determined by parsing a bitstream only when the reference pixel line of the current block is determined to be the first pixel line.
|