US 12,432,372 B2
Systems and methods for template matching for adaptive MVD resolution
Liang Zhao, Palo Alto, CA (US); Xin Zhao, Palo Alto, CA (US); and Shan Liu, Palo Alto, CA (US)
Assigned to TENCENT AMERICA LLC, Palo Alto, CA (US)
Filed by Tencent America LLC, Palo Alto, CA (US)
Filed on Mar. 14, 2023, as Appl. No. 18/121,438.
Claims priority of provisional application 63/320,488, filed on Mar. 16, 2022.
Prior Publication US 2023/0300363 A1, Sep. 21, 2023
Int. Cl. H04N 19/46 (2014.01); H04N 19/105 (2014.01); H04N 19/159 (2014.01); H04N 19/176 (2014.01); H04N 19/513 (2014.01); H04N 19/70 (2014.01)
CPC H04N 19/513 (2014.11) [H04N 19/105 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11); H04N 19/70 (2014.11)] 20 Claims
OG exemplary drawing
 
1. A method of decoding a video stream performed at a computing system having memory and control circuitry, the method comprising:
determining, based on a value of an inter-prediction syntax element from the video stream, whether an adaptive motion vector difference (MVD) resolution mode is signaled, the adaptive MVD resolution mode being an inter-prediction mode with adaptive motion vector difference (MVD) pixel resolution;
receiving a motion vector difference (MVD) of a video block from the video stream;
in response to a determination that the adaptive MVD resolution mode is signaled, searching for a first template of a prediction video block for the video block, wherein the first template is neighboring reconstructed samples of the prediction video block, and the prediction video block is a reconstructed forward or backward video block of the video block;
locating the first template of the prediction video block that is a best match for a second template of the video block, the second template being neighboring reconstructed samples of the video block corresponding to a temporally collocated template of the first template;
refining a motion vector (MV) of the video block based on at least the second template, the located first template, and the MVD; and
reconstructing the video block based on at least the refined MV.