Patent ID: 9225981
Filing Date: 2015-12-29
Classification: H04N

Abstract:
1. A video encoding apparatus comprising: a prediction block generating unit to generate a prediction block by performing prediction on a prediction target pixel in a current block based on an intra prediction mode of the current block; and a reconstructed block generating unit to generate a reconstructed block based on the prediction block and a reconstructed residual block corresponding to the current block, wherein the prediction block generating unit performs the prediction on the prediction target pixel based on a first offset when the intra prediction mode of the current block is a vertical mode and the prediction target pixel is a pixel on a left vertical pixel line, and performs the prediction on the prediction target pixel based on a second offset when the intra prediction mode of the current block is a horizontal mode and the prediction target pixel is a pixel on an upper horizontal pixel line, and wherein the prediction block generating unit derives a prediction value of the prediction target pixel by adding a value of the second offset to a pixel value of a first reference pixel present on the same horizontal line as a horizontal line on which the prediction target pixel is present among reconstructed reference pixels adjacent to a left portion of the current block when the intra prediction mode of the current block is the horizontal mode and the prediction target pixel is the pixel on the upper horizontal pixel line, the left vertical pixel line being one vertical pixel line positioned at a leftmost side of the current block, the upper horizontal pixel line being one horizontal pixel line positioned at an uppermost side of the current block, the first offset being determined based on a difference value of pixel values of two reference pixels, and the second offset being determined based on a difference value of pixel values of two reference pixels, and the value of the second offset being determined based on a difference value between a pixel value of a second reference pixel adjacent to an upper portion of the prediction target pixel and a pixel value of a third reference pixel adjacent to an upper portion of the first reference pixel.