| CPC H04N 19/105 (2014.11) [H04N 19/139 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11); H04N 19/513 (2014.11)] | 16 Claims |

|
1. A method for video decoding in a video decoder, comprising:
decoding prediction information of a current block in a current picture from a coded video bitstream, the prediction information indicating that the current block is predicted using bi-prediction with an affine adaptive motion vector prediction (ΔMVP) mode;
performing template matching (TM) on motion vector resolution (MVR) pairs by
determining a TM cost corresponding to each one of the MVR pairs, each MVR pair including (i) a respective first MVR in a first plurality of MVRs corresponding to a first reference picture and (ii) a respective second MVR in a second plurality of MVRs corresponding to a second reference picture, each TM cost being determined based at least on a portion or all of a current template of the current block and a bi-predictor of the respective MVR pair, the bi-predictor being based on a portion or all of a first reference template in the first reference picture corresponding to the first MVR of the respective MVR pair and a portion or all of a second reference template in the second reference picture corresponding to the second MVR of the respective MVR pair; and
selecting an MVR pair from the MVR pairs based on the determined corresponding TM costs; and
reconstructing the current block based on the selected MVR pair, wherein
the first MVR of one of the MVR pairs is different from the second MVR of the one of the MVR pairs.
|