Patent ID: 11968362
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 0:
1. A method of video encoding comprising:
selecting interpolation filter coefficients according to a subpixel offset between integer reference sample positions and fractional reference sample positions, wherein the interpolation filter coefficients are used for inter prediction of a current block or the interpolation filter coefficients are used for intra prediction of the current block, and wherein when a first subpixel offset used in the intra prediction is the same as a second subpixel offset used in the inter prediction, a same set of interpolation filter coefficients are selected for both the inter prediction and intra prediction, wherein the selected interpolation filter coefficients are cubic filter coefficients;
performing subpixel interpolation filtering on reference samples of the current block, according to the set of interpolation filter coefficients, to generate predicted values for the current block;
wherein selecting interpolation filter coefficients comprises selecting interpolation filter coefficients based on associations between subpixel offsets and interpolation filter coefficients that comprise:, 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.