Patent ID: 9288503
Filing Date: 2016-03-15
CPC Classification: H04N

Claim Text:
1. A method of decoding a video signal with a decoding apparatus, comprising: deriving reference samples based on neighboring samples adjacent to a current block, the reference samples being used for intra prediction of the current block; and obtaining a prediction sample of the current block based on the reference samples adjacent to the current block; wherein the deriving of the reference samples comprises: when the neighboring samples adjacent to the current block include an unavailable sample which is not used for the intra prediction of the current block, performing a substitution of the unavailable sample using a sample which is present on one side of the unavailable sample, wherein when the unavailable sample is a left neighboring sample of the current block and is not a top-left neighboring sample, the substitution of the unavailable sample is performed using only a bottom neighboring sample of the unavailable sample, without referring to a top neighboring sample of the unavailable sample, wherein when the unavailable sample is a top neighboring sample of the current block, the substitution of the unavailable sample is performed using a left neighboring sample of the unavailable sample, and wherein when an intra prediction mode of the current block is a planar mode, the prediction sample is obtained from linear interpolation of the reference samples adjacent to the current block.