Patent ID: 11949906
Assignee: SAMSUNG ELECTRONICS CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 2:
3. A non-transitory computer-readable medium for recording a bitstream, the bitstream comprising:
a residual block indicating a difference between an original block of a current block and a prediction block of the current block,
wherein, the residual block is obtained by:
configuring a plurality of merge candidates for the current block including a first merge candidate and a second merge candidate;
when both the first merge candidate and the second merge candidate correspond to a reference picture list L0, determining a motion vector of an additional merge candidate using an average value of a first motion vector of the first merge candidate and a second motion vector of the second merge candidate without using any merge candidate other than the first merge candidate and the second merge candidate; and
encoding the residual block using a motion vector of a merge candidate in a merge candidate list including the plurality of merge candidates and the additional merge candidate, and

wherein the first merge candidate is a merge candidate at a first position in the merge candidate list and the second merge candidate is a merge candidate at a second position in the merge candidate list,
wherein the current block has one of a square shape and a non-square shape.