CPC H04N 19/52 (2014.11) [H04N 19/109 (2014.11); H04N 19/119 (2014.11); H04N 19/139 (2014.11); H04N 19/176 (2014.11)] | 17 Claims |
1. An inter prediction method, applied to a decoder and comprising:
parsing a bitstream to determine a prediction mode parameter of a current block;
determining a Geometrical Partition Mode (GPM) parameter of the current block and a merge candidate list of the current block and attribute information of motion information in the merge candidate list, when the prediction mode parameter indicates to determine an inter prediction value of the current block by using GPM, wherein the attribute information comprises source information, the source information representing a source block of the motion information;
determining a first motion information mapping table of a first partition and a second motion information mapping table of a second partition according to the GPM parameter, the merge candidate list, and the attribute information; and
determining an inter prediction value of the current block based on the first motion information mapping table, the second motion information mapping table, and the merge candidate list;
wherein the determining a first motion information mapping table of a first partition and a second motion information mapping table of a second partition according to the GPM parameter, the merge candidate list, and the attribute information comprises:
partitioning the current block by using the GPM according to the GPM parameter to determine the first partition and the second partition, and
determining the first motion information mapping table and the second motion information mapping table based on the source information and the merge candidate list;
wherein after the parsing a bitstream to determine a prediction mode parameter of a current block and before the determining the inter prediction value of the current block based on the first motion information mapping table and the second motion information mapping table, the method further comprising:
determining a GPM parameter of the current block and a reconstructed motion information mapping table of a first partition and a reconstructed motion information mapping table of a second partition, when the prediction mode parameter indicates to determine the inter prediction value of the current block by using GPM;
determining a present GPM according to the GPM parameter of the current block;
determining a first motion information mapping table corresponding to the present GPM from the reconstructed motion information mapping table of the first partition; and
determining a second motion information mapping table corresponding to the present GPM from the reconstructed motion information mapping table of the second partition.
|