Fast mode decision algorithm for HEVC intra coding based on texture partition and direction

High efficiency video coding (HEVC) is the newest video coding standard, which employs some advanced coding techniques as compared to the previous standard H.264. The flexible quad-tree partitioning of coding tree unit (CTU) and various candidate modes of prediction unit (PU) significantly promote the video compression efficiency; however, these techniques lead to a great amount of computational loads. In this paper, a fast mode decision algorithm for HEVC intra coding is proposed based on texture partition and direction. It consists of two sub-algorithms: the CTU depth range prediction (CDRP) and the intra-prediction mode selection (IPMS). The CDRP reduces the recursive partition number of coding unit (CU) based on the correlation between the CTU texture partition and the optimum CU partition, and it first calculates the texture partition flags of different-size CUs from bottom to top. Then, it employs these partition flags to predict the depth range of the current CTU and decide whether to terminate the CU partition in advance. In order to reduce the number of candidate PU modes for the Hadamard optimization, the IPMS first uses the three-step selection of the candidate modes. The first step selects the candidate modes based on the correlation between the texture directions and the optimum PU modes. The second step selects the candidate modes by using the best modes among the selected modes in the first step. The third step selects the candidate modes by using the spatial correlation of the optimum modes between the current PU and its adjacent PUs. Then, in order to reduce the number of candidate modes for the rate-distortion optimization, the IPMS utilizes the numerical relationship of the sorted Hadamard costs of above selected modes, the optimum modes of adjacent PUs and the statistical characteristics of the small-size PUs. Compared to the original algorithm in HEVC test model, the proposed overall algorithm can reduce 60% encoding time on average with only a 1.45% increase in Bjontegaard delta bit rate under the all-intra configuration. Compared to the most of state-of-the-art algorithms, the proposed overall algorithm has better computational performances and similar rate-distortion performances.

[1]  Bin Li,et al.  An Efficient Fast Mode Decision Method for Inter Prediction in HEVC , 2016, IEEE Transactions on Circuits and Systems for Video Technology.

[2]  Gary J. Sullivan,et al.  Overview of the High Efficiency Video Coding (HEVC) Standard , 2012, IEEE Transactions on Circuits and Systems for Video Technology.

[3]  Farzad Zargari,et al.  Fast HEVC I-frame coding based on strength of dominant direction of CUs , 2016, Journal of Real-Time Image Processing.

[4]  Ergun Erçelebi,et al.  An early split and skip algorithm for fast intra CU selection in HEVC , 2015, Journal of Real-Time Image Processing.

[5]  Yi Wang,et al.  Fast CU size and prediction mode decision algorithm for HEVC based on direction variance , 2019, Journal of Real-Time Image Processing.

[6]  Fan Zhou,et al.  Spatio-temporal correlation-based fast coding unit depth decision for high efficiency video coding , 2013, J. Electronic Imaging.

[7]  Zhan Ma,et al.  Fast Intra Mode Decision for High Efficiency Video Coding (HEVC) , 2014, IEEE Transactions on Circuits and Systems for Video Technology.

[8]  Christos Grecos,et al.  Fast intra encoding decisions for high efficiency video coding standard , 2017, Journal of Real-Time Image Processing.

[9]  Sam Kwong,et al.  Two-Stage Fast Inter CU Decision for HEVC Based on Bayesian Method and Conditional Random Fields , 2018, IEEE Transactions on Circuits and Systems for Video Technology.

[10]  Jaeho Lee,et al.  Fast PU Skip and Split Termination Algorithm for HEVC Intra Prediction , 2015, IEEE Transactions on Circuits and Systems for Video Technology.

[11]  Munchurl Kim,et al.  Fast CU Splitting and Pruning for Suboptimal CU Partitioning in HEVC Intra Coding , 2013, IEEE Transactions on Circuits and Systems for Video Technology.

[12]  Tao Fan,et al.  Fast CU size decision and PU mode decision algorithm in HEVC intra coding , 2015, 2015 IEEE International Conference on Image Processing (ICIP).

[13]  G. Bjontegaard,et al.  Calculation of Average PSNR Differences between RD-curves , 2001 .

[14]  José Luis Martínez,et al.  A unified architecture for fast HEVC intra-prediction coding , 2019, Journal of Real-Time Image Processing.

[15]  Xinpeng Zhang,et al.  An Effective CU Size Decision Method for HEVC Encoders , 2013, IEEE Transactions on Multimedia.

[16]  Nan Hu,et al.  Fast Mode Selection for HEVC Intra-Frame Coding With Entropy Coding Refinement Based on a Transparent Composite Model , 2015, IEEE Transactions on Circuits and Systems for Video Technology.

[17]  Victor Goulart,et al.  Diagonal-based fast intra-mode decision algorithm for HEVC , 2017, IET Image Process..

[18]  Biao Min,et al.  A Fast CU Size Decision Algorithm for the HEVC Intra Encoder , 2015, IEEE Transactions on Circuits and Systems for Video Technology.

[19]  André Kaup,et al.  Two-stage exclusion of angular intra prediction modes for fast mode decision in HEVC , 2016, 2016 IEEE International Conference on Image Processing (ICIP).

[20]  Jiangtao Wen,et al.  SATD Based Fast Intra Prediction for HEVC , 2017, 2017 Data Compression Conference (DCC).

[21]  Gary J. Sullivan,et al.  Comparison of the Coding Efficiency of Video Coding Standards—Including High Efficiency Video Coding (HEVC) , 2012, IEEE Transactions on Circuits and Systems for Video Technology.

[22]  Tao Zhang,et al.  Fast Intra-Mode and CU Size Decision for HEVC , 2017, IEEE Transactions on Circuits and Systems for Video Technology.

[23]  Wenmin Wang,et al.  Second- and High-Order Graph Matching for Correspondence Problems , 2018, IEEE Transactions on Circuits and Systems for Video Technology.

[24]  Pao-Chi Chang,et al.  Rough mode cost-based fast intra coding for high-efficiency video coding , 2017, J. Vis. Commun. Image Represent..

[25]  F. Bossen,et al.  Common test conditions and software reference configurations , 2010 .

[26]  Graham R. Martin,et al.  Fast Intra Coding Implementation for High Efficiency Video Coding (HEVC) , 2017, 2017 Data Compression Conference (DCC).