A method of video coding, executable by a processor, comprising: receiving video data comprising at least two frames; calculating a motion vector difference between motion vectors of two frames from among the at least two frames; checking an unified adaptive motion vector resolution usage flag to determine a precision value and to determine whether adaptive motion vector resolution is enabled or disabled; and encoding the video data based on values of the unified adaptive motion vector resolution usage flag, wherein the motion vector difference is encoded based on the precision value, wherein the unified adaptive motion vector resolution usage flag comprises a first bin encoded by a first context, and the first bin signals whether the adaptive motion vector resolution is enabled or disabled for a translational inter-prediction mode, an Affine inter-prediction mode or an intra-block copy mode, wherein, for the translational inter-prediction mode, the unified adaptive motion vector resolution usage flag further includes a second bin signaling whether a half-pel precision is used based on adaptive motion vector resolution being enabled and a third bin signaling whether 1-pel precision or 4-pel precision is used if the half-pel precision is not used for translational inter-prediction mode, wherein, for the Affine inter-prediction mode, the third bin signals whether 1/16-pel precision or 1-pel precision is used based on the adaptive motion vector resolution being enabled and the second bin is skipped, wherein, for the intra-block copy mode, 1-pel precision is used based on the adaptive motion vector resolution being disabled and 4-pel precision is used based on the adaptive motion vector resolution being enabled. receiving video data comprising at least two frames; calculating a motion vector difference between motion vectors of two frames from among the at least two frames; checking an unified adaptive motion vector resolution usage flag to determine a precision value and to determine whether adaptive motion vector resolution is enabled or disabled; and encoding the video data based on values of the unified adaptive motion vector resolution usage flag, wherein the motion vector difference is encoded based on the precision value, wherein the unified adaptive motion vector resolution usage flag comprises a first bin encoded by a first context, and the first bin signals whether the adaptive motion vector resolution is enabled or disabled for a translational inter-prediction mode, an Affine inter-prediction mode or an intra-block copy mode, wherein, for the translational inter-prediction mode, the unified adaptive motion vector resolution usage flag further includes a second bin signaling whether a half-pel precision is used based on adaptive motion vector resolution being enabled and a third bin signaling whether 1-pel precision or 4-pel precision is used if the half-pel precision is not used for translational inter-prediction mode, wherein, for the Affine inter-prediction mode, the third bin signals whether 1/16-pel precision or 1-pel precision is used based on the adaptive motion vector resolution being enabled and the second bin is skipped, wherein, for the intra-block copy mode, 1-pel precision is used based on the adaptive motion vector resolution being disabled and 4-pel precision is used based on the adaptive motion vector resolution being enabled. <EOS>