Interpolation filtering method and apparatus for intra-frame prediction, medium, and electronic device
AssigneeTencent Technology (Shenzhen) Company Limited
InventorsYingbin WANG, Yi Ming Li, Xiao Zhong Xu, Shan Liu, Zhengzhong Chen
Life of this patent
Estimating the term…
Abstract
The embodiments of the disclosure provide an interpolation filtering method and apparatus for intra-frame prediction, a medium, and an electronic device. According to a distance between a prediction pixel and a first reference pixel, a target filter matching the distance is selected from a filter parameter corresponding to a specified prediction unit, and interpolation filtering processing is performed on a second reference pixel by using the target filter, to obtain a predicted value of the prediction pixel.
Claims20
An interpolation filtering method for intra-frame prediction, performed by a video decoding apparatus and/or a video encoding apparatus, the method comprising:
- obtaining information about a prediction pixel included in a specified prediction unit, and 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.
An interpolation filtering apparatus for intra-frame prediction, comprising:
- at least one memory configured to store program code;
- and
- at least one processor configured to read the program code and operate as instructed by the program code, the program code comprising:
- obtaining code configured to cause the at least one processor to obtain information about a prediction pixel included in a specified prediction unit, and obtain a filter parameter corresponding to the specified prediction unit;
- selecting code configured to cause the at least one processor to select, 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
- processing code configured to cause the at least one processor to perform interpolation filtering processing on a second reference pixel by using the target filter, to obtain a predicted value of the prediction pixel.
A non-transitory computer-readable medium, storing a computer program that is executable by at least one processor, to perform:
- obtaining information about a prediction pixel included in a specified prediction unit, and 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.
Dependencies are inferred from the claim text.