Fast Intraframe Coding for High Efficiency Video Coding

Han Huang, Yao Zhao, Chunyu Lin, Huihui Bai

High Efficiency Video Coding (HEVC/H.265) represents a significant milestone in video compression, offering approximately 50% bitrate reduction compared to its predecessor, H.264/AVC, for equivalent visual quality. However, this efficiency comes at the cost of drastically increased computational complexity, particularly in intraframe coding. This paper presents a strategy to accelerate the HEVC encoding process by implementing a multi-stage pruning and prediction algorithm, achieving a ~41% reduction in encoding time with negligible impact on video quality.

The Computational Challenge of HEVC

The primary bottleneck in HEVC intraframe coding stems from two main architectural features: flexible partitioning and mode explosion.

Flexible Partitioning

Unlike previous standards that used fixed-size macroblocks, HEVC employs a quadtree structure. A Coding Tree Unit (CTU) can be recursively split into smaller Coding Units (CUs), ranging from 64x64 down to 8x8 pixels. Finding the optimal split requires the encoder to perform a "brute force" Rate-Distortion Optimization (RDO) for every possible combination of CU sizes, which is incredibly slow.

HEVC recursive quadtree partitioning (a) and its corresponding tree structure (b).

Mode Explosion

For every block, the encoder must evaluate 35 different intra-prediction modes, including DC, Planar, and 33 angular directions. In a standard encoder, the system performs exhaustive searches to find the best mode, making real-time HEVC encoding difficult without specialized hardware or clever algorithmic shortcuts.

Proposed Fast Bottom-Up Pruning (FBUP) Scheme

To address these challenges, the authors propose a "Fast Bottom-Up Pruning" (FBUP) scheme. Instead of the traditional top-down approach, the algorithm starts at the smallest CU level and moves upward, leveraging structural correlations to skip redundant calculations.

Key Optimization Techniques

  • Bottom-Up Pruning: The algorithm analyzes the complexity of sub-blocks. If sub-blocks are complex enough to require splitting, it assumes the parent block will also likely be split, allowing the encoder to skip expensive mode decisions for larger parent blocks entirely.
  • Bottom-Up Mode Prediction: The encoder utilizes the "Rough Mode Decision" (RMD) results from child blocks to narrow down the candidate list for the parent block, rather than testing all 35 modes.
  • Adaptive Intra Mode Filtering: Instead of checking a fixed number of candidates, this method calculates the mean cost of top candidates and dynamically prunes modes that exceed a specific threshold.
  • Early DC and Planar Decision: If DC or Planar modes are identified as clear winners early in the process, the 33 directional angular modes are skipped altogether.
Intra-prediction partition modes: PART_2Nx2N and PART_NxN.

Experimental Results

The proposed method was evaluated using the HEVC reference software (HM8.2) across various test sequences ranging from 2560x1600 to 416x240 resolutions. The results demonstrate a significant performance gain:

  • Encoding Time Saving (ETS): An average reduction of 41.39% in encoding time was achieved across all sequences.
  • Compression Efficiency: The speedup incurred only a 0.77% increase in BD-rate, a quality loss virtually invisible to the human eye.
  • Consistency: Performance remained stable across different resolutions and bitrates, indicating the algorithm's reliability for diverse video content.

Conclusion

By leveraging the structural correlation within the quadtree and moving from fixed to adaptive candidate selection, the proposed FBUP scheme significantly reduces HEVC's computational burden. While software-based HEVC encoding remains heavy for high resolutions, this bottom-up approach provides a critical step toward making high-quality video compression more computationally feasible for real-world applications.

Summary updated

BibTeX
@article{huang2014fast,
  author = {Han Huang and Yao Zhao and Chunyu Lin and Huihui Bai},
  title = {{Fast Intraframe Coding for High Efficiency Video Coding}},
  journal = {KSII Trans. Internet Inf. Syst.},
  year = {2014},
  doi = {10.3837/tiis.2014.03.022},
}
Figure