Abstract
This research proposes an efficient fast mode selection algorithm for High Efficiency Video Coding (HEVC) intra-prediction. By combining image texture orientation with spatial correlation, the algorithm significantly reduces the number of candidate modes in the Rough Mode Decision (RMD) process. Experimental results demonstrate that the candidate list can be pruned from 35 modes to 10 or fewer, resulting in a 34.9% reduction in encoding time with a negligible impact on video quality (0.0314 dB PSNR drop).
Introduction
The High Efficiency Video Coding (HEVC/H.265) standard was developed to meet the increasing demand for high-resolution video (4K and 8K), offering approximately double the compression ratio of H.264/AVC. However, this efficiency comes at the cost of significantly increased computational complexity. A primary bottleneck is the intra-prediction process, which evaluates 35 different prediction modes for each Prediction Unit (PU) to find the optimal match. This exhaustive search, known as the Rough Mode Decision (RMD), is computationally expensive and limits real-time encoding applications.
Proposed Methodology
The authors introduce a two-stage filtering process to identify the most probable prediction modes without testing the entire set of 35.
1. Texture Direction Analysis
Since angular prediction modes are designed to align with the physical edges and textures within a frame, the algorithm utilizes the Sobel operator to calculate the gradient of each pixel within a PU. By determining the dominant texture direction, the encoder can prioritize the four most relevant angular modes. To maintain efficiency on larger blocks (16x16 or 32x32), the algorithm employs a downsampling strategy for gradient calculation, ensuring the overhead of texture analysis does not outweigh the savings in mode selection.
2. Spatial Correlation
Video content typically exhibits high spatial redundancy. The optimal prediction mode for a current block is often identical or similar to those of its immediate neighbors. The proposed algorithm leverages this by including the optimal modes of the blocks to the left and above the current PU in the candidate list.
3. Candidate List Construction
The final candidate list is composed of the 4 modes identified via texture analysis, optimal modes from neighboring blocks, and a set of "safety" modes (Planar, DC, Horizontal, and Vertical) that are statistically frequent across diverse content. This reduces the RMD search space from 35 modes to a maximum of 10.
Experimental Results
The algorithm was tested using the HEVC Test Model (HM 10.0) across various standard sequences (Classes A, B, and E). The results highlight a successful balance between speed and quality:
- Encoding Speed: An average reduction of 34.9% in total encoding time.
- Video Quality: A minimal PSNR decrease of only 0.0314 dB, which is imperceptible to viewers.
- Compression Efficiency: A slight bitrate increase of 0.41%.
When compared to previous state-of-the-art methods, such as the approach by Chen et al. (2013), this algorithm provides a more robust trade-off, achieving similar speedups while maintaining superior image fidelity.
Conclusion
By integrating texture orientation and spatial correlation, this algorithm effectively streamlines the HEVC intra-prediction process. The reduction of candidate modes allows for significantly faster encoding, making it a viable solution for hardware-constrained environments and real-time high-definition video broadcasting. Future research may focus on further optimizing gradient calculations for 8K content and integrating these techniques with inter-prediction optimizations.
Summary updated