| CPC H04N 19/82 (2014.11) [H04N 19/59 (2014.11)] | 18 Claims |

|
1. A method of intra or inter prediction of a block, the method comprising:
obtaining predicted samples by performing the following steps for each set of positions of the predicted samples:
obtaining a filter from a set of filters based on a subsample position (p) defined for the set of positions of the predicted samples;
determining a subset of reference samples for the set of positions of the predicted samples; and
obtaining the predicted samples at positions of the set of positions of the predicted samples by convolving the subset of reference samples with the obtained filter,
wherein the set of filters is obtained by combining at least two input filter sets using an estimation method, wherein the estimation method uses a reference signal s(x) and an aggregate function, and wherein the reference signal s(x) is pre-defined, and
wherein the estimation method comprises:
initializing an output filter set by one of the input filter sets;
obtaining a set of filtered signals sF(p,x) for a set of subsample position (p) by convolving the reference signal s(x) with a filter (A1) of the output filter set that corresponds to a subsample position (p) value;
replacing the filter (A1) of the output filter set corresponding to the subsample position (p) value with an input filter (A2) when a value of an aggregate function for the input filter (A2) is smaller than a value of an aggregate function for the filter (A1) of the output filter set, wherein the value of the aggregate function for the filter (A1) of the output filter set is obtained based on values of sF(p,x) for a given value of x.
|