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

Claim 1:
2. A video decoding apparatus comprising:
a syntax element obtainer configured to obtain, from a sequence parameter set (SPS), sequence merge mode with a motion vector difference (MMVD) information indicating whether an MMVD mode is enabled for a current sequence, and when the MMVD mode is enabled for the current sequence according to the sequence MMVD information, obtain, from a bitstream, MMVD information indicating whether the MMVD mode is applied in an inter prediction mode for a current block comprised in the current sequence; and
a decoder configured to, when the MMVD mode is used for the current block in the inter prediction mode according to the MMVD information, obtain a first bin of a distance index of a merge motion vector difference by performing entropy decoding using context information on the bitstream, and obtain other bins of the distance index of the merge motion vector difference by performing entropy decoding in a bypass mode on the bitstream, obtain the distance index of the merge motion vector difference corresponding to the first bin and the other bins of the distance index of the merge motion vector difference, according to a truncated Rice (TR) binarization method, obtain bins indicating a direction index of the merge motion vector difference by performing entropy decoding on the bitstream in the bypass mode, and obtain the direction index of the merge motion vector difference corresponding to the bins indicating the direction index of the merge motion vector difference, according to a fixed-length (FL) binarization method, and reconstruct a motion vector of the current block based on the merge motion vector difference determined using the distance index of the merge motion vector difference and the direction index of the merge motion vector difference, and reconstruct the current block by using the motion vector of the current block.