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

Claim 0:
1. A video decoding method comprising:
obtaining, from a bitstream, merge difference mode information indicating whether a merge motion vector difference is used in a merge mode for a current block to obtain a motion vector of the current block, by performing entropy decoding using context information;
when the merge motion vector difference is used in the merge mode for the current block to obtain the motion vector of the current block according to the merge difference mode information, determining a base motion vector from a candidate among a merge candidate list;
determining the merge motion vector difference of the current block by using a distance index of the merge motion vector difference and a direction index of the merge motion vector difference; and
determining the motion vector of the current block by using the base motion vector and the merge motion vector difference,
wherein two bins to indicate the direction index of the merge motion vector difference are obtained by performing entropy decoding in a bypass mode and inverse-binarization in a fixed-length binarization method.