Patent ID: 11438579

Abstract:
Embodiments of the present disclosure provide a method and an apparatus for processing a video signal through intra prediction. A method for processing a video signal according to an embodiment of the present disclosure may include: checking that intra prediction is applied to a current block including a current sample to be predicted; determining a first reference sample value on a first reference location from at least one of samples positioned at an upper horizontal line and a left vertical line adjacent to the current block, based on an intra-prediction direction of the current block; determining a second reference sample value on a second reference location positioned in an opposite direction to the intra-prediction direction from a location of the current sample or the first reference location; determining a distance between the first reference location and the current sample as a first distance and determining a distance between the second reference location and the current sample as a second distance; and generating a prediction value of the current sample using the linear interpolation prediction based on a sample value of the first reference sample, the first distance, a sample value of the second reference sample, and the second distance.