US 12,137,215 B2
Method and device for coding image on basis of inter prediction
Hyeongmoon Jang, Seoul (KR); Naeri Park, Seoul (KR); and Seunghwan Kim, Seoul (KR)
Assigned to LG ELECTRONICS INC., Seoul (KR)
Filed by LG ELECTRONICS INC., Seoul (KR)
Filed on Dec. 17, 2021, as Appl. No. 17/555,052.
Application 17/555,052 is a continuation of application No. PCT/KR2020/008008, filed on Jun. 19, 2020.
Claims priority of provisional application 62/863,806, filed on Jun. 19, 2019.
Prior Publication US 2022/0109850 A1, Apr. 7, 2022
Int. Cl. H04N 19/109 (2014.01); H04N 19/122 (2014.01); H04N 19/132 (2014.01); H04N 19/159 (2014.01); H04N 19/176 (2014.01); H04N 19/46 (2014.01); H04N 19/503 (2014.01); H04N 19/70 (2014.01)
CPC H04N 19/109 (2014.11) [H04N 19/122 (2014.11); H04N 19/132 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11); H04N 19/46 (2014.11); H04N 19/70 (2014.11); H04N 19/503 (2014.11)] 6 Claims
OG exemplary drawing
 
1. A decoding method performed by a decoding apparatus, the decoding method comprising:
acquiring, from a bitstream, an enabled flag for a partitioning mode in which prediction is performed by dividing a current block into two partitions, and a general merge flag;
determining whether to acquire a regular merge flag from the bitstream based on a first condition and a second condition;
acquiring the regular merge flag from the bitstream based on the first condition and the second condition being satisfied;
performing inter prediction based on the regular merge flag to generate prediction samples of the current block; and
generating reconstructed samples based on the prediction samples,
wherein the first condition is satisfied only based on a condition related to a height of the current block and a width of the current block regardless of enabled flag for an MMVD (Merge mode with MVD),
wherein based on a case that a value of the enabled flag for the MMVD is equal to 1 and the condition related to the height of the current block and the width of the current block is not satisfied, the first condition is not satisfied,
wherein the second condition is satisfied based on a condition based on the enabled flag for the partitioning mode, a condition based on a type of a slice including the current block, and a condition based on a size of the current block being satisfied, wherein the condition based on the type of the slice including the current block is satisfied based on the type of the slice including the current block being equal to a B slice,
wherein based on the first condition or the second condition not being satisfied, the regular merge flag is not acquired from the bitstream,
wherein based on a case that the regular merge flag is not acquired from the bitstream, a value of the regular merge flag is inferred based on the general merge flag and a maximum number of subblock merge candidates,
wherein based on a value of the general merge flag being equal to 1, the value of the regular merge flag is inferred to be equal to 0 or 1, wherein which one of 0 or 1 the value of the regular merge flag is inferred to is determined based on the maximum number of subblock merge candidates, and wherein based on a case that a value of the maximum number of subblock merge candidates is equal to 0, the value of the regular merge flag is inferred to be equal to 1.