US 12,439,045 B2
Encoder, decoder and corresponding methods for sub-block partitioning mode
Semih Esenlik, Munich (DE); Max Blaeser, Aachen (DE); Zhijie Zhao, Shenzhen (CN); Han Gao, Shenzhen (CN); Anand Meher Kotra, Munich (DE); Biao Wang, Shenzhen (CN); and Elena Alexandrovna Alshina, Munich (DE)
Assigned to Huawei Technologies Co., Ltd., Shenzhen (CN)
Filed by HUAWEI TECHNOLOGIES CO., LTD., Shenzhen (CN)
Filed on Mar. 13, 2024, as Appl. No. 18/604,198.
Application 18/604,198 is a continuation of application No. 18/076,200, filed on Dec. 6, 2022, granted, now 11,962,773.
Application 18/076,200 is a continuation of application No. 17/154,788, filed on Jan. 21, 2021, granted, now 11,539,948, issued on Dec. 27, 2022.
Application 17/154,788 is a continuation of application No. PCT/CN2020/097032, filed on Jun. 19, 2020.
Claims priority of application No. PCT/EP2019/066432 (WO), filed on Jun. 21, 2019.
Prior Publication US 2024/0275967 A1, Aug. 15, 2024
This patent is subject to a terminal disclaimer.
Int. Cl. H04N 19/119 (2014.01); H04N 19/105 (2014.01); H04N 19/176 (2014.01); H04N 19/184 (2014.01); H04N 19/159 (2014.01)
CPC H04N 19/119 (2014.11) [H04N 19/105 (2014.11); H04N 19/176 (2014.11); H04N 19/184 (2014.11); H04N 19/159 (2014.11)] 14 Claims
OG exemplary drawing
 
1. A method of coding implemented by a decoding device, the method comprising:
obtaining a value of an indicator for a current block according to a bitstream;
obtaining a value of a first parameter for the current block and a value of a second parameter for the current block according to the value of the indicator and a predefined lookup table;
obtaining a value of a sample distance for a sample which is located in the current block according to the value of the first parameter and the value of the second parameter; and
obtaining a prediction value for the sample according to the value of the sample distance for the sample, including:
determining two weighting factors corresponding to the two sub-blocks according to the sample distance value; and
obtaining the prediction value for the sample according to a first prediction value for a first sub-block of the two sub-blocks based on a first prediction mode, a second prediction value for a second sub-block of the two sub-blocks based on a second prediction mode and the two weighting factors;
wherein the predefined lookup table is:
 
merge_gpm_partition_idx 0 1 2 3 4 5 6 7
 
angleIdx 0 0 2 2 2 2 3 3
distanceIdx 1 3 0 1 2 3 0 1
 
merge_gpm_partition_idx 16 17 18 19 20 21 22 23
 
angleIdx 5 5 8 8 11 11 11 11
distanceIdx 2 3 1 3 0 1 2 3
 
merge_gpm_partition_idx 32 33 34 35 36 37 38 39
 
angleIdx 14 14 14 14 16 16 18 18
distanceIdx 0 1 2 3 1 3 1 2
 
merge_gpm_partition_idx 48 49 50 51 52 53 54 55
 
angleIdx 21 21 24 24 27 27 27 28
distanceIdx 2 3 1 3 1 2 3 1
 
merge_gpm_partition_idx 8 9 10 11 12 13 14 15
 
angleIdx 3 3 4 4 4 4 5 5
distanceIdx 2 3 0 1 2 3 0 1
 
merge_gpm_partition_idx 24 25 26 27 28 29 30 31
 
angleIdx 12 12 12 12 13 13 13 13
distanceIdx 0 1 2 3 0 1 2 3
 
merge_gpm_partition_idx 40 41 42 43 44 45 46 47
 
angleIdx 18 19 19 19 20 20 20 21
distanceIdx 3 1 2 3 1 2 3 1
 
merge_gpm_partition_idx 56 57 58 59 60 61 62 63
 
angleIdx 28 28 29 29 29 30 30 30
distanceIdx 2 3 1 2 3 1 2 3
 
wherein the indicator is merge_gpm_partition_idx, wherein the first parameter is angleIdx, which represents an angle for partitioning of the current block, wherein the second parameter is distanceIdx.