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

Claim 2:
3. A method of storing a bitstream including an encoded data, the method comprising:
generating 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;
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; and
storing a bitstream, into a computer readable storage medium, including the merge difference mode information, information about the distance index of the merge motion vector difference, and information about the direction index of the merge motion vector difference,
wherein the merge difference mode information is entropy-coded using a context information, and
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 the information about the direction index of the merge motion vector difference is generated by performing entropy-coding on the two bins in a bypass mode.