| CPC H04N 19/593 (2014.11) [H04N 19/105 (2014.11); H04N 19/11 (2014.11); H04N 19/117 (2014.11); H04N 19/122 (2014.11); H04N 19/136 (2014.11); H04N 19/137 (2014.11); H04N 19/157 (2014.11); H04N 19/159 (2014.11); H04N 19/182 (2014.11); H04N 19/44 (2014.11); H04N 19/80 (2014.11); H04N 19/82 (2014.11); H04N 19/176 (2014.11); H04N 19/96 (2014.11)] | 10 Claims |

|
1. A method for video decoding, the method comprising:
generating a prediction block by performing intra prediction on a current block, and
generating a reconstructed block based on the prediction block,
wherein a prediction value of a prediction pixel of the prediction block is generated using a reference pixel during the intra prediction,
the prediction pixel is located in a vertical pixel line at a left side of the prediction block or a horizontal pixel line at an upper side of the prediction block,
the reference pixel is located in a vertical reference pixel line which adjacent to the left side of the prediction block,
a coefficient for the reference pixel is determined based on a size of the current block,
the prediction value of the prediction pixel is determined based on a product of the coefficient for the reference pixel and a pixel value of the reference pixel, and
the reference pixel is diagonally adjacent to a lower-left corner of the prediction block in a case that the prediction pixel is a lowermost and leftmost pixel in the prediction block.
|