Method and apparatus for processing video signal
AssigneeKt Corporation
InventorBae Keun Lee
Life of this patent
Estimating the term…
Abstract
A method for decoding a video according to the present invention may comprise: determining an intra prediction mode of a current block, determining, based on the intra prediction mode, a first reference sample of a prediction target sample included in the current block, generating a first prediction sample for the prediction target sample using the first reference sample, and generating a second prediction sample for the prediction target sample using the first prediction sample and a second reference sample located at a position different from the first reference sample.
Claims9
A method of decoding a video, the method comprising:
- determining an intra prediction mode of a current block;
- obtaining a prediction sample at a target position based on the intra prediction mode and a first reference sample;
- determining whether to modify the prediction sample or not;
- and
- obtaining a reconstruction sample based on the prediction sample or a modified prediction sample,
- wherein determination of whether the prediction sample is modified or not is based on a size and the intra prediction mode of the current block,
- wherein when it is determined to modify the prediction sample, the prediction sample is modified by using a second reference sample,
- wherein the second reference sample is determined based on a prediction angle of the intra prediction mode when the intra prediction mode is a directional mode, and
- wherein when the intra prediction mode is a top-right diagonal directional mode, the second reference sample comprises a left reference sample lying on a bottom-left diagonal direction from the target position.
A method of encoding a video, the method comprising:
- determining an intra prediction mode of a current block;
- obtaining a prediction sample at a target position based on the intra prediction mode and a first reference sample;
- determining whether to modify the prediction sample or not;
- and
- obtaining a residual sample by subtracting the prediction sample or a modified prediction sample from an original sample,
- wherein determination of whether the prediction sample is modified or not is based on a size and the intra prediction mode of the current block,
- wherein when it is determined to modify the prediction sample, the prediction sample is modified by using a second reference sample,
- wherein the second reference sample is determined based on a prediction angle of the intra prediction mode when the intra prediction mode is a directional mode, and
- wherein when the intra prediction mode is a top-right diagonal direction, the second reference sample comprises a left reference sample lying on a bottom-left diagonal direction from the target position.
A non-transitory computer-readable medium for storing data associated with a video signal, comprising:
- a data stream stored in the non-transitory computer-readable medium, the data stream being encoded by an encoding method which comprising:
- determining an intra prediction mode of a current block;
- obtaining a prediction sample at a target position based on the intra prediction mode and a first reference sample;
- determining whether to modify the prediction sample or not;
- and
- obtaining a residual sample by subtracting the prediction sample or a modified prediction sample from an original sample,
- wherein determination of whether the prediction sample is modified or not is based on a size and the intra prediction mode of the current block,
- wherein when it is determined to modify the prediction sample, the prediction sample is modified by using a second reference sample,
- wherein the second reference sample is determined based on a prediction angle of the intra prediction mode when the intra prediction mode is a directional mode, and
- wherein when the intra prediction mode is a top-right diagonal direction, the second reference sample comprises a left reference sample lying on a bottom-left diagonal direction from the target position.
Dependencies are inferred from the claim text.