Patent ID: 9661345
Date: 2017-05-23
CPC Classifications: H04N

Claim:
1. A video decoding apparatus comprising: a processor to determine whether to apply a first filter to a reference pixel value of a current block based on at least one of an intra prediction mode of the current block and a size of the current block, to derive a prediction value of the current block using the reference pixel value derived according to whether to apply the first filter, and to apply a second filter to the prediction value based on at least one of the intra prediction mode of the current block and the size of the current block, for thereby producing a filtered prediction value wherein when the intra prediction mode of the current block is the vertical mode, the processor applies the second filter to leftmost pixels of the current block among the prediction pixels of the current block adjacent to the boundary of the reference pixel value; wherein when the intra prediction mode of the current block is the horizontal mode, the processor applies the second filter to uppermost pixels of the current block among the prediction pixels of the current block adjacent to the boundary of the reference pixel value.