US 12,439,040 B2
Method and apparatus for interpolation filtering for intra- and inter-prediction in video coding
Alexey Konstantinovich Filippov, Moscow (RU); Jianle Chen, San Diego, CA (US); and Vasily Alexeevich Rufitskiy, Moscow (RU)
Assigned to HUAWEI TECHNOLOGIES CO., LTD., Shenzhen (CN)
Filed by HUAWEI TECHNOLOGIES CO., LTD., Guangdong (CN)
Filed on Mar. 23, 2024, as Appl. No. 18/614,636.
Application 18/614,636 is a continuation of application No. 17/877,492, filed on Jul. 29, 2022, granted, now 11,968,362.
Application 17/877,492 is a continuation of application No. 17/142,170, filed on Jan. 5, 2021, granted, now 11,405,612, issued on Aug. 2, 2022.
Application 17/142,170 is a continuation of application No. PCT/RU2019/050141, filed on Sep. 6, 2019.
Claims priority of provisional application 62/728,666, filed on Sep. 7, 2018.
Prior Publication US 2024/0314309 A1, Sep. 19, 2024
This patent is subject to a terminal disclaimer.
Int. Cl. H04N 19/117 (2014.01); H04N 19/176 (2014.01)
CPC H04N 19/117 (2014.11) [H04N 19/176 (2014.11)] 12 Claims
OG exemplary drawing
 
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:
 
 
 
Subpixel
 
 
 
 
 
offset c0 c1 c2 c3
 
 
 
 
 1 −1 63 2 0
 
 2 −2 62 4 0
 
 3 −2 60 7 −1
 
 4 −2 58 10 −2
 
 5 −3 57 12 −2
 
 6 −4 56 14 −2
 
 7 −4 55 15 −2
 
 8 −4 54 16 −2
 
 9 −5 53 18 −2
 
10 −6 52 20 −2
 
11 −6 49 24 −3
 
12 −6 46 28 −4
 
13 −5 44 29 −4
 
14 −4 42 30 −4
 
15 −4 39 33 −4
 
16 (half-pel) −4 36 36 −4
 
17 −4 33 39 −4
 
18 −4 30 42 −4
 
19 −4 29 44 −5
 
20 −4 28 46 −6
 
21 −3 24 49 −6
 
22 −2 20 52 −6
 
23 −2 18 53 −5
 
24 −2 16 54 −4
 
25 −2 15 55 −4
 
26 −2 14 56 −4
 
27 −2 12 57 −3
 
28 −2 10 58 −2
 
29 −1 7 60 −2
 
30 0 4 62 −2
 
31 0 2 63 −1
 
 
wherein the subpixel offsets are defined in 1/32 subpixel resolution and c0 to c3 represent the interpolation filter coefficients.