| CPC H04N 19/117 (2014.11) [H04N 19/176 (2014.11)] | 12 Claims |

|
1. A video encoding method, wherein the method comprises:
performing inter-prediction processing on a first block, wherein the inter-prediction processing comprises subpixel interpolation filtering of samples of a reference block;
selecting an intra-prediction mode for a second block from a set of intra-prediction modes comprising a planar mode with index 0, a DC mode with index 1 and angular modes with indices 2 to 66;
performing intra-prediction processing on the second block according to the intra-prediction mode, wherein the intra-prediction processing comprises subpixel interpolation filtering of reference samples;
wherein the method further comprises selecting interpolation filter coefficients for the subpixel interpolation filtering based on subpixel offsets between an integer reference sample's position and fractional reference samples' positions, wherein for the same subpixel offsets the same interpolation filter coefficients are selected for the intra-prediction processing and the inter-prediction processing; and
wherein the selecting the interpolation filter coefficients comprises selecting the same interpolation filter coefficients for fractional positions based on the below association between subpixel offsets and interpolation filter coefficients:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
wherein the subpixel offsets are defined in 1/32 subpixel resolution and c0 to c3 represent the interpolation filter coefficients.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||