Abstract
The introduction of the transform tree, or residual quadtree (RQT), in the HEVC standard significantly enhances coding performance but introduces high computational complexity. This complexity arises because the optimal Transform Unit (TU) partition is estimated through an exhaustive rate-distortion search at the encoder. This paper proposes an early TU split termination scheme based on the concept of a "Quasi-Zero-Block" (QZB). A QZB is defined by two metrics of quantized transform coefficients: the sum of absolute coefficients and the number of non-zero coefficients. Experimental results demonstrate that the proposed HM-QZB method achieves a 22.8% reduction in total encoding time and a 50.59% reduction in TU processing time compared to the HEVC test model HM10.0, with a negligible coding performance loss of approximately 0.04dB BD-PSNR.
Introduction
High Efficiency Video Coding (HEVC/H.265) achieves superior compression efficiency compared to its predecessor, H.264/AVC, primarily through more flexible partitioning structures. One such structure is the Residual Quadtree (RQT), which allows Transform Units (TUs) to vary in size from 32x32 down to 4x4. To determine the optimal TU size, encoders typically perform a recursive search, testing every possible split configuration to find the best rate-distortion (RD) trade-off. While effective, this brute-force approach is a major computational bottleneck. This research focuses on speeding up this process by identifying blocks where further splitting is unlikely to yield significant gains, allowing for early termination of the search.
The Quasi-Zero-Block (QZB) Method
The core of the proposed optimization is the Quasi-Zero-Block (QZB). Standard encoders already utilize "Zero-Blocks" (where all quantized coefficients are zero) to skip redundant processing. The QZB method extends this logic by identifying blocks that contain negligible information—those that are almost zero.
QZB Criteria and Algorithm
A block is classified as a QZB based on two thresholds:
- NNZ (Number of Non-Zero coefficients): The count of coefficients that are non-zero.
- AbsSum: The sum of the absolute values of all quantized transform coefficients.
If a block meets the QZB criteria during inter-prediction, the encoder assumes that further splitting the TU will not significantly improve quality and terminates the recursive search immediately. The threshold for the sum of coefficients ($T_S$) is adaptive, scaling with the TU size, while the NNZ threshold ($T_N$) is fixed at 3. Additionally, based on statistical analysis showing that the deepest levels of the RQT are rarely selected, the maximum search depth is limited to 2.
As shown in the flowchart above, the algorithm integrates QZB checks into the standard TU processing loop. By distinguishing between Intra-prediction (where stricter Zero-Block logic is maintained) and Inter-prediction (where QZB is applied), the system balances speed and visual fidelity.
Experimental Results
The proposed method was evaluated using the HEVC Test Model (HM) 10.0 across various high-definition sequences (1920x1080) under JCT-VC common test conditions.
Efficiency and Quality
The HM-QZB method achieved a significant reduction in computational load:
- Total Encoding Time: Reduced by 22.8%.
- TU Processing Time: Reduced by 50.59%.
Crucially, this speedup comes with minimal impact on video quality. The average BD-PSNR loss was only 0.04 dB, and the bit-rate increase remained below 2%. The RD curves for the "BasketballDrive" and "ParkScene" sequences illustrate that the performance of HM-QZB is nearly indistinguishable from the standard HM10.0 anchor.
Conclusion
By exploiting visual redundancy and the statistical properties of transform coefficients, the QZB-based early termination scheme provides a robust solution for reducing HEVC encoding complexity. Future work may involve integrating more sophisticated human visual models, such as Just-Noticeable-Difference (JND), to further refine the thresholds and combining this approach with early termination strategies for Coding Units (CU) to achieve even greater real-time performance gains.
Summary updated