| CPC H04N 19/593 (2014.11) [H04N 19/105 (2014.11); H04N 19/11 (2014.11); H04N 19/117 (2014.11); H04N 19/176 (2014.11)] | 4 Claims |

|
1. A method for decoding video using intra prediction by a decoding apparatus, the method comprising:
receiving information on an intra prediction mode for a current block from a bitstream;
determining the intra prediction mode for the current block as a horizontal prediction mode associated with a horizontal prediction direction based on the information on the intra prediction mode;
deriving a predicted block of the current block based on the horizontal prediction mode, wherein the predicted block includes predicted samples and filtered predicted samples;
generating a reconstructed block based on the derived predicted block;
wherein the predicted samples are not adjacent to an upper boundary of the current block, and the filtered predicted samples are adjacent to the upper boundary of the current block,
wherein a predicted sample is derived based on a reference sample located in the horizontal prediction direction with regard to the predicted sample, wherein the reference sample is adjacent to a left boundary of the current block,
wherein a filtered predicted sample is derived by applying filtering based on a first reference sample located in the horizontal prediction direction with regard to the filtered predicted sample and a second reference sample neighboring an upper side of the filtered predicted sample, wherein the first reference sample is adjacent to the left boundary of the current block, and
wherein for the filtering, a filtering coefficient applied to a value of the first reference sample is larger than a filtering coefficient applied to a value of the second reference sample.
|