The MPM of a current block may include a directional mode (intraPredModeX) of intraPredModeL or intraPredModeA, a default mode, a mode derived by subtracting 1 from intraPredModeX, a mode derived by adding 1 to intraPredModeX and a mode derived by subtracting or adding 2 from or to intraPredModeX.
An index may be assigned to the MPM based on a predetermined priority. For example, an index may be assigned to each MPM as in the following Table 7. But, a priority of the present disclosure is not limited to Table 7 and a position of a MPM in a candidate mode list may be different from Table 7. For example, PLANAR may have a higher priority than intraPredModeX. DC may have a higher priority than PLANAR. DC may have a higher priority than intraPredModeX.