US 12,413,770 B2
Methods and apparatus of motion vector rounding, clipping and storage for inter prediction
Xiaoyu Xiu, San Diego, CA (US); Yi-Wen Chen, San Diego, CA (US); and Xianglin Wang, San Diego, CA (US)
Assigned to BEIJING DAJIA INTERNET INFORMATION TECHNOLOGY CO., LTD., Beijing (CN)
Filed by BEIJING DAJIA INTERNET INFORMATION TECHNOLOGY CO., LTD., Beijing (CN)
Filed on Jun. 3, 2024, as Appl. No. 18/732,576.
Application 18/732,576 is a continuation of application No. 17/401,131, filed on Aug. 12, 2021, granted, now 12,041,261.
Application 17/401,131 is a continuation of application No. PCT/US2020/018920, filed on Feb. 19, 2020.
Claims priority of provisional application 62/816,025, filed on Mar. 8, 2019.
Claims priority of provisional application 62/808,276, filed on Feb. 20, 2019.
Prior Publication US 2024/0333960 A1, Oct. 3, 2024
This patent is subject to a terminal disclaimer.
Int. Cl. H04N 19/513 (2014.01); G06F 5/01 (2006.01); H04N 19/107 (2014.01); H04N 19/132 (2014.01); H04N 19/139 (2014.01); H04N 19/159 (2014.01); H04N 19/176 (2014.01); H04N 19/189 (2014.01); H04N 19/423 (2014.01); H04N 19/54 (2014.01)
CPC H04N 19/513 (2014.11) [G06F 5/01 (2013.01); H04N 19/107 (2014.11); H04N 19/132 (2014.11); H04N 19/139 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11); H04N 19/189 (2014.11); H04N 19/423 (2014.11); H04N 19/54 (2014.11)] 15 Claims
OG exemplary drawing
 
1. A method for video encoding, comprising:
determining an inter prediction process; and
in response to determining that the inter prediction process is one of derivation processes for temporal motion vector prediction (TMVP), alternative temporal motion vector prediction (ATMVP), or merge mode with motion vector differences (MMVD), performing a motion vector (MV) rounding operation to at least one MV in the inter prediction process according to a first MV rounding mode,
wherein the first MV rounding mode is based on the following equation:

OG Complex Work Unit Math
where:
A represents an input value that is an MV value before rounding;
Shift is a right bit-wise shift that is applied for MV rounding;
the_first_offset represents a first offset value that is adjusted based on a base offset and a sign of A;
the base offset is set equal to (Shift>0)? 1<<(Shift−1):0; and
L is a value of a rounded MV.