CPC H04N 19/51 (2014.11) [H04N 19/105 (2014.11); H04N 19/182 (2014.11); H04N 19/196 (2014.11); H04N 19/42 (2014.11); H04N 19/513 (2014.11); H04N 19/52 (2014.11); H04N 19/593 (2014.11); H04N 19/82 (2014.11)] | 12 Claims |
1. A video decoding method comprising:
generating a prediction block by performing intra prediction for a current block;
deriving transform coefficients of the current block by entropy-decoding a bitstream;
reconstructing a residual block by performing inverse-transformation on the derived transform coefficients; and
reconstructing the current block based on the reconstructed residual block and the prediction block,
wherein the generating the prediction block comprising
obtaining a first prediction value of a prediction target pixel of the prediction block;
determining an initial correction value of the prediction target pixel;
calculating a final correction value of the prediction target pixel by performing an arithmetic right shift on the initial correction value by a binary digit of n, n being an integer equal to or greater than 1; and
generating a final prediction value of the prediction target pixel based on the first prediction value and the final correction value.
|