High Efficiency Video Coding (HEVC) is the current gold standard for video compression, but its high efficiency comes at a significant computational cost. This is particularly evident in Screen Content Coding (SCC)—video containing computer-generated graphics, text, and UI elements. This paper proposes a fast Coding Unit (CU) splitting algorithm designed to optimize HEVC for these specific content types.
The Challenge of Screen Content Coding
In HEVC, frames are partitioned into Coding Units (CUs) of varying sizes (from 64x64 down to 8x8 pixels). To determine the optimal partition, the encoder typically performs an exhaustive search using Rate-Distortion (RD) optimization, testing every possible size and prediction mode.
While effective for natural video, this approach is inefficient for screen content. Screen content is characterized by large, uniform backgrounds and sharp, high-contrast edges. Standard HEVC algorithms, tuned for the complex textures of camera-captured video, often waste time performing deep calculations on simple flat areas or struggle to quickly isolate sharp edges.
Proposed Fast CU Splitting Algorithm
The researchers developed a scheme that bypasses exhaustive RD searches by analyzing local image characteristics before splitting.
1. Classification and Categorization
The algorithm first classifies pixels as smooth, ordinary, or isolated based on luminance differences with neighbors. These classifications are then used to label 16x16 blocks:
- Smooth Blocks: Composed entirely of smooth pixels.
- Sharp Blocks: Containing at least one "isolated" pixel, indicating a sharp edge.
- Ordinary Blocks: Blocks that fit neither extreme.
2. Decision Logic
Using these categories, the encoder makes rapid decisions about whether to split a CU or skip further checks.
As shown in the logic above, if a large block is identified as entirely smooth, the encoder assumes it does not need further splitting and skips RD checks for smaller sub-blocks. Conversely, if a block is sharp, the encoder immediately splits it to preserve edge detail, skipping the RD check for the current larger size. For ordinary blocks, the system predicts the need for splitting based on the partitioning "depth" of neighboring blocks.
Experimental Results
The algorithm was evaluated using JCT-VC Screen Content sequences and standard natural video sequences (Class B).
The results demonstrate that the proposed method is highly effective for its intended target. For default HEVC SCC, the algorithm achieved an average encoding time reduction of 38% with a negligible 0.1% increase in BD-rate (a measure of compression efficiency loss). In the HEVC Range Extension (RExt) configuration, it saved an average of 29% of computational time.
Crucially, the algorithm's specificity was confirmed by its performance on natural video, where it only saved 7% of encoding time. This highlights that the logic is uniquely tuned to the statistical properties of computer-generated graphics rather than general video textures.
Conclusion
By leveraging the "bimodal" nature of screen content—the tendency to be either perfectly flat or extremely sharp—this fast CU splitting algorithm significantly reduces HEVC encoding complexity. While highly effective for SCC, future implementations might benefit from a content-detection pre-stage to automatically enable or disable these optimizations based on the input source.
Summary updated