CPC H04N 19/105 (2014.11) [H04N 19/119 (2014.11); H04N 19/132 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11)] | 20 Claims |
1. A method for video signal processing, performed by a decoder, comprising:
determining an intra prediction mode of a current block;
determining a reference sample used for an intra prediction of the current block;
obtaining a predetermined matrix based on the intra prediction mode; and
predicting the current block based on the reference sample and the matrix, wherein predicting the current block based on the reference sample and the matrix comprises:
generating a prediction block by applying the matrix to the reference sample, wherein the prediction block is generated at predetermined positions in the current block;
wherein determining the reference sample comprises:
determining a neighboring region of the current block; and
performing down-sampling on the determined neighboring region, wherein the neighboring region is divided into a plurality of sample groups, the sample group comprises one or more samples, a representative value of the sample group is determined as the reference sample.
|