Introduction
Versatile Video Coding (VVC) represents the state-of-the-art in video compression, offering significant gains for screen content—such as remote desktops, cloud gaming, and virtual meetings—through its Screen Content Coding (SCC) extension. However, these gains come at a steep computational cost. VVC SCC introduces complex tools like the Quad-Tree plus Multi-type Tree (QTMT) partitioning structure and specialized coding modes like Intra Block Copy (IBC) and Palette (PLT).
To achieve optimal compression, the encoder performs an exhaustive Rate-Distortion Optimization (RDO) search across all possible block splits and modes. This brute-force approach makes real-time encoding nearly impossible. This paper proposes a hybrid framework that combines deep learning and traditional machine learning to intelligently skip unlikely coding paths, significantly reducing encoding time with minimal impact on quality.
Proposed Framework Overview
The authors introduce a four-stage pipeline designed to bypass the exhaustive RDO search by predicting the most effective modes and block splits early in the process. This pipeline strategically utilizes deep learning for initial pixel-level analysis and decision trees for mid-encoding statistical analysis.
1. Deep Learning-Based Content Classification (DLBCC)
The foundation of the framework is the classification of content types. Since VVC blocks can be as small as 4x4 pixels, running a standard CNN on every possible block size is computationally prohibitive. To solve this, the authors developed Sub-CUNet, a specialized U-Net variant.
Sub-CUNet processes a 128x128 input block and outputs classification labels for all 1024 of its 4x4 sub-blocks simultaneously. These sub-blocks are categorized into four types: Animation, Camera-Captured (CC), Text/Graphics with Motion (TGM), or Mixed. This classification allows the encoder to apply different optimization strategies based on the nature of the visual data.
2. Content and Feature-Based CM Prediction (CFBCMP)
Once content is classified, the encoder uses these labels to prune the search space. For instance, Camera-Captured content rarely benefits from SCC-specific tools like IBC or PLT. By identifying a block as "Camera-Captured," the encoder can skip these expensive tests entirely. For more ambiguous content, Decision Trees (DTs) analyze features like pixel variance and color counts to further exclude unlikely modes.
3. Early Termination Strategies (CRCBBET & FBCSET)
To further accelerate the process, the framework employs two additional Decision Tree-based modules:
- BDPCM Early Termination (CRCBBET): This module evaluates residual coefficients. If it predicts that Block-based Differential Pulse-Code Modulation (BDPCM) is the optimal mode with high confidence, the exhaustive RDO search is terminated immediately.
- CU Splitting Early Termination (FBCSET): This module analyzes features such as the Quantization Parameter (QP) and current tree depth to decide if a block requires further splitting. If the DT determines the current split is sufficient, the QTMT process halts, saving significant cycles.
Key Results and Performance
The proposed algorithm was evaluated using the standard Common Test Conditions (CTC) for VVC SCC on the VTM-17.0 reference software. The results demonstrate a highly favorable trade-off between speed and efficiency:
- Encoding Speedup: The framework reduces total encoding time by an average of 41.14%.
- Compression Efficiency: This massive speedup results in only a negligible 1.17% increase in BDBR (Bjontegaard Delta Bit Rate).
- Module Contribution: Ablation studies show that the mode prediction module (CFBCMP) is the most impactful, contributing roughly 29% of the total time savings.
Conclusion
By combining the pixel-level feature extraction capabilities of CNNs with the rapid numerical processing of Decision Trees, this hybrid approach effectively tames the complexity of VVC SCC. The ability to identify content types early allows the encoder to focus its computational resources where they are most needed, moving VVC one step closer to viable real-time screen content applications.
Summary updated