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

Claim 1:
2. A video encoding method comprising:
generating merge difference mode information into a bitstream by performing entropy encoding using context information, the 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;
determining the motion vector of the current block by motion estimation and determining a base motion vector from a candidate among a merge candidate list;
determining the merge motion vector difference of the current block between the motion vector of the current block and the base motion vector; and
when the merge motion vector difference is used in the merge mode for the current block to inter-predict the motion vector of the current block, generating a distance index of the merge motion vector difference and a direction index of the merge motion vector difference,
wherein two bins to indicate the direction index of the merge motion vector difference are obtained by performing binarization in a fixed-length binarization method and entropy-coded in a bypass mode.