| CPC H04N 19/117 (2014.11) [H04N 19/103 (2014.11); H04N 19/105 (2014.11); H04N 19/11 (2014.11); H04N 19/159 (2014.11); H04N 19/196 (2014.11); H04N 19/593 (2014.11); H04N 19/80 (2014.11); H04N 19/82 (2014.11); H04N 19/85 (2014.11); H04N 19/86 (2014.11); H04N 19/59 (2014.11)] | 16 Claims |

|
1. An interpolation filtering method for intra-frame prediction, performed by a video decoding apparatus and/or a video encoding apparatus, the method comprising:
classifying a plurality of prediction units included in a video frame into at least one category according to sizes of the plurality of prediction units, or intra-frame prediction modes used by the plurality of prediction units, or features of reference pixels adjacent to the plurality of prediction units;
obtaining information about a prediction pixel included in a specified prediction unit of the plurality of prediction units;
obtaining a filter parameter corresponding to the specified prediction unit;
selecting, according to a distance between the prediction pixel and a first reference pixel of the prediction pixel, a target filter from the filter parameter corresponding to the specified prediction unit; and
performing interpolation filtering processing on a second reference pixel of the prediction pixel by using the target filter, to obtain a predicted value of the prediction pixel,
wherein the filter parameter corresponding to a category of the specified prediction unit comprises a filter bank F={f1, f2, . . . , fm+1} and at least one distance threshold TD={td1, td2, . . . , tdm} (m being an integer equal to or greater than 1), the at least one distance threshold being used to classify each of prediction pixels included in the specified prediction unit based on a comparison between a distance between each prediction pixel and a corresponding first reference pixel against the at least one distance threshold, and filters {f1, f2, . . . , fm+1} respectively apply to the classified prediction pixels that belong to each distance range obtained according to the at least one distance threshold, and
wherein, when classification is performed according to the intra-frame prediction modes used by the plurality of prediction units, and independent of the sizes of the plurality of prediction units, at least one of the at least one distance threshold of a filter parameter that is predefined for classifying and obtaining each distance range of prediction pixels included in a first category of a prediction unit that is classified according to a first predetermined intra prediction mode is different from at least one of the at least one distance threshold of a filter parameter that is predefined for classifying and obtaining each distance range of prediction pixels included in a second category of a prediction unit that is classified according to a second predetermined intra prediction mode.
|