FIELD: video encoding.
SUBSTANCE: method comprises building a list of most probable modes (MPM) for the current block based on the intra-prediction mode of the block adjacent to the current block; determining the intra-prediction mode of the current block based on the MPM list; deriving adjacent samples including left adjacent samples and top adjacent samples of the current block; deriving reference samples for predicting a target sample of the current block among neighbouring samples based on the position of the target sample and the prediction angle of the intra-prediction mode; determining an interpolation filter for the target sample based on the intra-prediction mode and the size of the current block, the interpolation filter being defined as one of a Gaussian filter and a cube filter; deriving a prediction sample of the target sample based on the interpolation filter and the reference samples; and encoding a bit stream including prediction mode information for the current block representing the intra-prediction mode of the current block among the MPM candidates in the MPM list, wherein determining an interpolation filter for the target sample based on the intra-prediction mode and the size of the current block comprises: determining whether the size of the current block is smaller than the first specific value; and, based on the current block size being smaller than the first specific value, determining whether the prediction angle of the intra-prediction mode is smaller than the second specific value, wherein the intra-prediction mode is one of the directional intra-prediction modes with angle greater than 0, wherein based on the current block size being greater than or equal to the first specific value, the interpolation filter for the target sample is output as a Gaussian filter, wherein based on the current block size being smaller than the first specific value, and the prediction angle of the intra-prediction mode being smaller than the second specific value, the interpolation filter for the target sample is output as a cube filter, and wherein based on the current block size being smaller than the first specific value, and the prediction angle of the mode of an intra-prediction being no less than the second specific value, the interpolation filter for the target sample is output as a Gaussian filter.
EFFECT: increased efficiency of video coding.
2 cl, 14 dwg, 3 tbl
Authors
Dates
2023-10-17—Published
2023-03-28—Filed