Patent ID: 11876998
Assignee: KT CORPORATION
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 3:
4. A method of encoding a video, the method comprising:
deriving a plurality of merge candidates for a current block from neighboring blocks adjacent to the current block, the neighboring blocks including at least one of a spatial neighboring block or a temporal neighboring block;
constructing a merge candidate list by adding the plurality of merge candidates thereto, wherein during the construction of the merge candidate list, a new merge candidate generated based on two of the plurality of merge candidates is further added to the merge candidate list;
after completing the construction of the merge candidate list, selecting a first merge candidate and a second merge candidate from the merge candidate list;
obtaining prediction samples of the current block based on first motion information derived from the first merge candidate and second motion information derived from the second merge candidate,
wherein two pieces of index information are explicitly encoded into a bitstream to specify the first merge candidate and the second merge candidate, first index information being used to specify the first merge candidate and second index information being used to specify the second merge candidate,
wherein, in response to an index of the second merge candidate being less than an index of the first merge candidate, a value of the second index information is set identical to the index of the second merge candidate, and
wherein, in response to the index of the second merge candidate being greater than the index of the first merge candidate, the value of the second index information is set identical to a value resulting from subtracting 1 from the index of the second merge candidate.