CPC H04N 19/159 (2014.11) [H04N 19/105 (2014.11); H04N 19/11 (2014.11); H04N 19/176 (2014.11); H04N 19/593 (2014.11); H04N 19/117 (2014.11); H04N 19/124 (2014.11); H04N 19/13 (2014.11)] | 4 Claims |
1. A video signal decoding method comprising:
generating, based on an intra prediction mode for a current block, a first prediction sample of a current sample included in the current block, wherein the intra prediction mode for the current block is indicated by a first intra prediction mode index included in a specific index set;
determining at least one reference sample corresponding to the current sample among reference samples of the current block based on the intra prediction mode for the current block;
determining a parameter set based on at least one of a width of the current block, a height of the current block, whether an index of the intra prediction mode is smaller than a first index, and whether the index of the intra prediction mode is greater than a second index;
generating a second prediction sample by linearly combining the first prediction sample and the at least one reference sample based on the determined parameter set, wherein the determined parameter set is used for determining a weight which is used for linearly combining the first prediction sample and the at least one reference sample; and
restoring the current sample based on a residual sample of the current sample and the second prediction sample,
wherein the specific index set includes a plurality of intra prediction mode indexes, and any one of the plurality of intra prediction mode indexes indicates any one of a plurality of angular modes.
|