Apparatus and method for encoding image on basis of motion vector resolution, and decoding apparatus and method
Provided is an image decoding method including determining at least one first processing mode for decoding of a current block, based on a motion vector resolution (MVR) of the current block, the at least one first processing mode being from among a plurality of processing modes included in at least one of a prediction process, a transform process, and a filtering process; and decoding the current block, according to the at least one first processing mode.
1. An image decoding method comprising:
obtaining, from a bitstream, information indicating a motion vector resolution of a current block among a plurality of motion vector resolutions;
obtaining, from the bitstream, information indicating whether a merge mode is applied to the current block when the information indicating the motion vector resolution of the current block indicates a predetermined motion vector resolution; and
decoding the current block based on the merge mode when the information indicating whether the merge mode is applied to the current block indicates application of the merge mode,
wherein when the information indicating the motion vector resolution of the current block does not indicate the predetermined motion vector resolution, the information indicating whether the merge mode is applied to the current block is not obtained from the bitstream.