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

Claim 3:
4. A non-transitory computer readable storage medium storing a bitstream generated by a video encoding method, the bitstream comprising:
sequence merge mode with a motion vector difference (MMVD) information indicating whether an MMVD mode is enabled for a current sequence;
MMVD information indicating whether the MMVD mode is used for a current block comprised in the current sequence in an inter prediction mode;
information about distance index of a merge motion vector difference; and
information about direction index of the merge motion vector difference,
wherein the video encoding method comprises:
encoding, into a sequence parameter set (SPS), the sequence MMVD information for the current sequence;
when the MMVD mode is enabled for the current sequence, encoding the MMVD information indicating whether the MMVD mode is used for the current block in the inter prediction mode; and
when the MMVD mode is used for the current block in the inter prediction mode, obtaining bins of the distance index of the merge motion vector difference corresponding to the distance index of the merge motion vector difference according to a truncated Rice (TR) binarization method, performing, using context information, entropy encoding on a first bin among the bins of the distance index of the merge motion vector difference into the information about the distance index of the merge motion vector difference, and performing, by in a bypass mode, entropy encoding on other bins among the bins of the distance index of the merge motion vector difference into the information about the distance index of the merge motion vector difference, obtaining bins of the direction index of the merge motion vector difference corresponding to the direction index of the merge motion vector difference according to a fixed-length (FL) binarization method, and performing, by in the bypass mode, entropy encoding on the bins indicating the direction index of the merge motion vector difference of the current block into the information about the direction index of the merge motion vector difference.