CPC H04N 19/132 (2014.11) [H04N 19/105 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11); H04N 19/46 (2014.11); H04N 19/80 (2014.11)] | 4 Claims |
1. A video decoding method comprising:
obtaining, from a bitstream, intra prediction mode information indicating an intra prediction mode of a current coding block including a current transform block;
determining a plurality of reference samples for intra prediction on the current transform block;
when the intra prediction mode indicated by the intra prediction mode information is one of a planar mode and an intra prediction mode with a diagonal prediction direction, filtering the plurality of reference samples;
when the plurality of reference samples are filtered, determining a first value among a plurality of values including the first value and a second value as interpolation filter information, wherein the first value indicates a first interpolation filter set and the second value indicates a second interpolation filter set;
determining the first interpolation filter set, among a plurality of interpolation filter sets including the first interpolation filter set and the second interpolation filter set, based on the interpolation filter information; and
obtaining prediction samples of the current transform block by performing an interpolation on the filtered plurality of reference samples using a plurality of first interpolation filter coefficients in the first interpolation filter set,
wherein:
the plurality of first interpolation filter coefficients in the first interpolation filter set are different from a plurality of second interpolation filter coefficients in the second interpolation filter set, and
a difference between a maximum coefficient and a minimum coefficient among the plurality of first interpolation filter coefficients is greater than a difference between a maximum coefficient and a minimum coefficient among the plurality of second interpolation filter coefficients.
|