Inter prediction method and apparatus based on history-based motion vector
AssigneeLG Electronics Inc.
InventorsNaeri Park, Junghak Nam, Hyeongmoon Jang
Life of this patent
Estimating the term…
Abstract
An image decoding method according to the present disclosure includes deriving a history-based motion vector prediction (HMVP) buffer for a current block, deriving motion information of the current block based on an HMVP candidate included in the HMVP buffer, generating prediction samples for the current block based on the motion information, and generating reconstructed samples based on the prediction samples, and the HMVP buffer is initialized when processing a first-ordered CTU in a CTU row in which a current CTU is located, and the current block is included in the current CTU.
Claims12
An image decoding method performed by a decoding apparatus, the method comprising:
- deriving a history-based motion vector prediction (HMVP) buffer for a current block;
- deriving merge candidates for configuring a merge candidate list for the current block, wherein the merge candidates includes spatial candidates derived based on spatial candidate blocks and a temporal candidate derived based on a temporal candidate block, wherein an HMVP candidate comprised in the HMVP buffer is inserted as a merge candidate of the merge candidate list, wherein the HMVP candidate is inserted after the temporal candidate in the merge candidate list;
- deriving motion information of the current block based on the HMVP candidate in the merge candidate list;
- generating prediction samples for the current block based on the motion information;
- and
- generating reconstructed samples based on the prediction samples,
- wherein the HMVP candidate among the merge candidates comprised in the merge candidate list is indicated by a merge index obtained from a bitstream,
- wherein the current block corresponds to a coding unit (CU) which is split from a coding tree unit (CTU),
- wherein the HMVP buffer is initialized at a first-ordered CTU per each CTU row of a slice,
- wherein the method further comprises determining whether the CTU is a first-ordered CTU in a CTU row of a current slice, and
- wherein based on the result of the determining that the CTU is the first-ordered CTU in the CTU row of the current slice, the HMVP buffer is initialized for the CTU.
An image encoding method performed by an encoding apparatus, the method comprising:
- deriving a history-based motion vector prediction (HMVP) buffer for a current block;
- deriving merge candidates for configuring a merge candidate list for the current block, wherein the merge candidates includes spatial candidates derived based on spatial candidate blocks and a temporal candidate derived based on a temporal candidate block, wherein an HMVP candidate comprised in the HMVP buffer is inserted as a merge candidate of the merge candidate list, wherein the HMVP candidate is inserted after the temporal candidate in the merge candidate list;
- deriving motion information of the current block based on the HMVP candidate in the merge candidate list;
- generating prediction samples for the current block based on the motion information;
- deriving residual samples based on the prediction samples;
- and
- encoding image information comprising information on the residual samples,
- wherein the image information includes information on a merge index indicating the HMVP candidate among the merge candidates comprised in the merge candidate list,
- wherein the current block corresponds to a coding unit (CU) which is split from a coding tree unit (CTU),
- wherein the HMVP buffer is initialized at a first-ordered CTU per each CTU row of a slice,
- wherein the method further comprises determining whether the CTU is a first-ordered CTU in a CTU row of a current slice, and
- wherein based on the result of the determining that the CTU is the first-ordered CTU in the CTU row of the current slice, the HMVP buffer is initialized for the CTU.
A non-transitory computer-readable storage medium storing a bitstream generated by a method, the method comprising:
- deriving a history-based motion vector prediction (HMVP) buffer for a current block;
- deriving merge candidates for configuring a merge candidate list for the current block, wherein the merge candidates includes spatial candidates derived based on spatial candidate blocks and a temporal candidate derived based on a temporal candidate block, wherein an HMVP candidate comprised in the HMVP buffer is inserted as a merge candidate of the merge candidate list, wherein the HMVP candidate is inserted after the temporal candidate in the merge candidate list;
- deriving motion information of the current block based on the HMVP candidate in the merge candidate list;
- generating prediction samples for the current block based on the motion information;
- deriving residual samples based on the prediction samples;
- and
- encoding image information comprising information on the residual samples,
- wherein the image information includes information on a merge index indicating the HMVP candidate among the merge candidates comprised in the merge candidate list,
- wherein the current block corresponds to a coding unit (CU) which is split from a coding tree unit (CTU),
- wherein the HMVP buffer is initialized at a first-ordered CTU per each CTU row of a slice,
- wherein the method further comprises determining whether the CTU is a first-ordered CTU in a CTU row of a current slice, and
- wherein based on the result of the determining that the CTU is the first-ordered CTU in the CTU row of the current slice, the HMVP buffer is initialized for the CTU.
Dependencies are inferred from the claim text.