In the first step, a reference picture 450 and the corresponding block is determined by the motion information of the spatial neighboring blocks of the current CU 400. In the second step, a corresponding block of the sub-CU 451 is identified by the temporal vector in the motion source picture 450, by adding to the coordinate of the current CU the temporal vector. For each sub-CU, the motion information of its corresponding block (e.g., the smallest motion grid that covers the center sample) is used to derive the motion information for the sub-CU. After the motion information of a corresponding N×N block is identified, it is converted to the motion vectors and reference indices of the current sub-CU, in the same way as TMVP of HEVC, wherein motion scaling and other procedures apply.
In the Spatial-Temporal Motion Vector Prediction (STMVP) method, the motion vectors of the sub-CUs are derived recursively, following raster scan order.