Patent attributes
A method for intra prediction comprises determining a first MPM candidate corresponding to a left-side candidate block on the basis of a position of the left-side candidate block adjacent to a left side of a current block; determining a second MPM candidate corresponding to an upper-end candidate block on the basis of a position of the upper-end candidate block adjacent to an upper end of the current block; generating an MPM candidate list including a plurality of MPM candidates, on the basis of the first MPM candidate and the second MPM candidate; and determining one MPM candidate of the plurality of the MPM candidates that constitute the MPM candidate list as an intra prediction mode of the current block, and performing intra prediction for the current block on the basis of the determined intra prediction mode to generate a prediction block corresponding to the current block.