Subblock-based Temporal Motion Vector Prediction (SbTMVP) in VVC
Welcome to a new article about Versatile Video Coding! Previously, we explained how Affine Merge Mode works and now we’ll look at Subblock-based Temporal Motion Vector Prediction (SbTMVP). SbTMVP is a type of a merge mode too. Both these methods are connected in VVC by using the same merge context. For demonstration we will use VQ Analyzer — a bitstream analysis tool developed by ViCueSoft.
The main idea of SbTMVP algorithm is to use motion information from the collocated picture. It is similar to TMVP in HEVC, but it works for CU-subblocks instead of whole CU. Motion vectors from the collocated picture are scaled.
SbTMVP algorithm is demonstrated in Figure 2. Its main steps are:
1. Divide CU onto small subblocks, subblock size is fixed to 8x8 pixels. As in Affine Merge Mode, SbTMVP is applicable for coding units which are larger then 8x8 pixels.
2. Derive motion shift on the collocated picture:
- If A1 neighbor has a motion vector that uses the collocated picture as its reference picture — use it
- Otherwise, motion shift is set to zero MV (0,0)
3. Apply derived motion shift in the collocated picture. Shift is added to the current block’s coordinates.
4. Get initial vector from the center of CU. it will be used as default for subblocks with unavailable motion information.
5. Identify subblocks motion information (from the center of subblocks). If any subblock is unavailable, use default MV.
6. Derive subblocks motion vectors and reference indices by applying scaling for corresponding subblocks. Scaling is done by using POC differences tb and td, as shown in Figure 3. Td is difference between collocated picture and reference, tb is difference between current picture and reference.
When SbTMVP is enabled, the list of merge candidates consists of SbTMVP predictor and Affine Merge candidates, as shown in Figure 4. SbTMVP candidate is added to the first position of the list. The SbTVMP mode is enabled by a sequence parameter set (SPS) flag.
This is all for today. In this article, we demonstrated how VQ Analyzer from ViCueSoft can visualize and display details for Subblock-based Temporal Motion Vector Prediction in Versatile Video Codec. If you have any questions or comments, please write to us directly at info@vicuesoft.com.