A method of motion vector prediction, MVP, for video data, the method comprising: receiving input data associated with a current motion vector (314; 414), MV, for a current block in a current slice; determining current MV resolution for the current MV (314; 414), and reference MV resolution for a reference MV associated with a reference block in a reference picture and applying MVP coding to the current MV (314; 414) depending on the current MV resolution, and the reference MV resolution; wherein when the reference MV associated with the reference block in the reference picture corresponds to a temporal MV associated with a temporal reference block in the reference picture and the current MV resolution corresponds to integer pixel resolution, said applying MVP coding to the current MV uses a modified temporal MV as a motion vector predictor for the current MV, wherein the modified temporal MV is generated by right-shifting the temporal MV; characterized in that when the MV resolution for an MV of the temporal reference block corresponds to integer pixel resolution, the temporal MV is a stored version of the MV of the temporal reference block being generated by left-shifting the MV of the temporal reference block, clipping the left-shifted MV of the temporal reference block to a valid range, and storing the left-shifted and clipped MV of the temporal reference block at non-integer resolution, and when the MV resolution for an MV of the temporal reference block corresponds to non-integer pixel resolution, the temporal MV is a stored version of the MV of the temporal reference block being generated by clipping the MV of the temporal reference block to a valid range, and storing the clipped MV of the temporal reference block at non-integer resolution. receiving input data associated with a current motion vector (314; 414), MV, for a current block in a current slice; determining current MV resolution for the current MV (314; 414), and reference MV resolution for a reference MV associated with a reference block in a reference picture and applying MVP coding to the current MV (314; 414) depending on the current MV resolution, and the reference MV resolution; wherein when the reference MV associated with the reference block in the reference picture corresponds to a temporal MV associated with a temporal reference block in the reference picture and the current MV resolution corresponds to integer pixel resolution, said applying MVP coding to the current MV uses a modified temporal MV as a motion vector predictor for the current MV, wherein the modified temporal MV is generated by right-shifting the temporal MV; characterized in that when the MV resolution for an MV of the temporal reference block corresponds to integer pixel resolution, the temporal MV is a stored version of the MV of the temporal reference block being generated by left-shifting the MV of the temporal reference block, clipping the left-shifted MV of the temporal reference block to a valid range, and storing the left-shifted and clipped MV of the temporal reference block at non-integer resolution, and when the MV resolution for an MV of the temporal reference block corresponds to non-integer pixel resolution, the temporal MV is a stored version of the MV of the temporal reference block being generated by clipping the MV of the temporal reference block to a valid range, and storing the clipped MV of the temporal reference block at non-integer resolution.