CPC H04N 19/593 (2014.11) [H04N 19/147 (2014.11); H04N 19/176 (2014.11); H04N 19/186 (2014.11)] | 26 Claims |
1. A method for video decoding, comprising:
determining, for a block being decoded, a block width and a block height;
if the block width is not equal to the block height and the block width is not equal to half of the block height and the block height is not equal to half of the block width, determining at least one spatial neighboring template comprising a number N of reconstructed samples, wherein N is the maximum integer smaller than the sum of the block width and block height, and wherein N=2k;
determining, for the block being decoded, at least one linear model parameter based on the number N of reconstructed samples of the at least one spatial neighboring template; and
decoding the block using a linear model based on the determined linear model parameter.
|