CPC H04N 19/159 (2014.11) [H04N 19/105 (2014.11); H04N 19/117 (2014.11); H04N 19/119 (2014.11); H04N 19/176 (2014.11); H04N 19/593 (2014.11); H04N 19/70 (2014.11)] | 16 Claims |
1. A method for determining a prediction value, being applicable to an encoder and comprising:
acquiring reconstructed values of neighboring samples of a current block;
filtering the reconstructed values of the neighboring samples to obtain a reference value set of the current block;
calculating a first constant value according to a bit depth value of a luma component of a sample in the current block, when a size of the current block is smaller than a preset threshold value;
determining a difference between the first constant value and a first reference value in the reference value set as a first prediction input value in a prediction input value set;
determining, according to the reference value set, other prediction input values in the prediction input value set other than the first prediction input value;
calculating prediction values of samples at specific positions in the current block, according to the prediction input value set, a matrix-based intra prediction (MIP) matrix, a weighting parameter, and a bit right shift parameter, wherein the MIP matrix is determined according to one or more mapping tables; and
performing interpolation filtering on the prediction values of the samples at the specific positions to obtain prediction values of samples at other positions in the current block other than the samples at the specific positions.
|