CPC H04N 19/557 (2014.11) [G06T 3/4007 (2013.01); H04N 19/521 (2014.11); H04N 19/53 (2014.11); H04N 19/573 (2014.11)] | 12 Claims |
1. A method of decoder-side motion vector refinement (DMVR) comprising:
obtaining initial motion vectors of a current block of a video frame, wherein the initial motion vectors are sub-pixel accurate merge motion vectors;
obtaining bilinear motion compensated interpolated samples in two reference frames of the current block from a bilinear motion compensated interpolation performed using the initial motion vectors;
computing a sum of absolute differences (SAD) using a subset of the bilinear motion compensated interpolated samples;
determining whether the SAD is greater than or equal to a coding unit (CU) size-dependent threshold value, wherein the CU size-dependent threshold value is a function of a number of samples in the subset of the bilinear motion compensated interpolated samples;
when it's determined that the SAD is greater than or equal to the CU size-dependent threshold value, refining the initial motion vectors to generate refined motion vectors of the current block.
|