Abstract
Intra coding in H.264/AVC can significantly improve the coding efficiency but at the cost of high computational complexity due to the use of rich prediction modes and rate-distortion optimization technique. In this paper, an early termination algorithm of intra mode decision is presented to address the complexity issue in 4×4 intra prediction. The proposed algorithm is motivated by two facts: the most probable mode defined based on the spatial similarity has a high possibility to be the best mode, and a good prediction usually has a small residual block which is measured by the sum of absolute transformed difference (SATD). The most probable mode and two modes with the smallest SATD values are investigated to select the candidate modes by using the proposed early termination rules. Experimental results show that the proposed algorithm effectively reduces the complexity of 4×4 intra prediction while maintaining almost the same coding performance on peak signal-to-noise ratio and bit rate compared with the full search algorithm.
Similar content being viewed by others
References
Wiegand, T., Sullivan, G.J., Bjontegaard, G., Luthra, A. (2003). Overview of the H.264/AVC video coding standard. IEEE Transactions on Circuits and Systems for Video Technology, 13(7), 560–576.
Ostermann, J., Bormans, J., List, P., Marpe, D., Narroschke, M., Pereira, F., Stockhammer, T., Wedi, T. (2004). Video coding with H.264/AVC: tools, performance, and complexity. IEEE Circuits System Magzine, 4(1), 7–28.
Kim, C.S., Shih, H.H., Kuo, C.C. (2006). Fast H.264 Intra-prediction mode selection using joint spatial and transform domain features. Journal of Visual Communication and Image Representation, 17(2), 291–310.
Lee, Y.M., Sun, Y.T., Lin, Y. (2010). SATD-based intra mode decision for H.264/AVC video coding. IEEE Transactions on Circuits and Systems for Video Technology, 20(3), 463– 469.
Sarwer, M.G., Wu, Q.M., Zhang, X.P. (2013). Enhanced SATD-based cost function for mode selection of H.264/AVC intra coding. Signal, Image and Video Processing, 7(4), 777–786.
Zhang, T.R., Tian, G.F., Goto, S.S. (2008). A frequency-based fast block type decision algorithm for intra prediction in H.264/AVC high profile. In Proceedings of IEEE Asia Pacific Conference on Circuits and Systems, Macao, China (pp. 1292–1295).
Huang, Y.H., Ou, T.S., Chen, H.H. (2010). Fast decision of block size, prediction mode, and intra block for H.264 intra prediction. IEEE Transactions on Circuits and Systems for Video Technology, 20(8), 1122–1132.
Zeng, H.Q., Ma, K.K., Cai, C.H. (2010). Hierarchical intra mode decision for H.264/AVC. IEEE Transactions on Circuits and Systems for Video Technology, 20(6), 907–912.
Wang, P., Huang, H., Tan, Z. (2012). A fast two-step block type decision algorithm for intra prediction in H.264/AVC high profile. Multimedia Tools and Applications, 60(1), 139–160.
Lim, K., Kim, S., Lee, J., Pak, D., Lee, S. (2012). Fast block size and mode decision algorithm for intra prediction in H.264/AVC. IEEE Transactions on Consumer Electronics, 58(2), 654– 660.
Pan, F., Lin, X., Rahardja, S., Lim, K.P., Li, Z.G., Wu, D., Wu, S. (2005). Fast mode decision algorithm for intra-prediction in H.264/AVC video coding. IEEE Transactions on Circuits and Systems for Video Technology, 15(7), 813–822.
Wang, J.C., Wang, J.F., Wang, J.F., Chen, J.T. (2007). A fast mode decision algorithm and its VLSI design for H.264/AVC intra-prediction. IEEE Transactions on Circuits and Systems for Video Technology, 17(10), 1414–1412.
Bharanitharan, K., Liu, B.D., Yang, J.F., Tsai, W.C. (2008). A low complexity detection of discrete cross differences for fast H.264/AVC intra prediction. IEEE Transactions on Multimedia, 10(7), 1250–1260.
Li, H.L., Ngan, K.N., Wei, Z.Y. (2008). Fast and efficient method for block edge classification and its application in H.264/AVC video coding. IEEE Transactions on Circuits and Systems for Video Technology, 18(6), 756–768.
Tsai, AC, Wang, JC, Wang, JF. (2008). Intensity gradient technique for efficient intra-prediction in H.264/AVC. IEEE Transactions on Circuits and Systems for Video Technology, 18(5), 694–698.
Tsai, A.C., Wang, J.F., Wang, J.F., Lin, W.G. (2008). Effective subblock-based and pixel-based fast direction detections for H.264 intra prediction. IEEE Transactions on Circuits and Systems for Video Technology, 18 (7), 975–982.
Kau, L.J., & Leng, J.W. (2015). A gradient intensity-adapted algorithm with adaptive selection strategy for the fast decision of H.264/AVC intra-prediction modes. IEEE Transactions on Circuits and Systems for Video Technology, 25(6), 944– 957.
Hsia, S.C., Wong, W.K., Shih, Y.H. (2018). Fast-efficient algorithm of high-profile intra prediction for H.264 encoding system. IET Image Processing, 12(3), 329–336.
Chen, C., Chen, J., Xia, T., Ju, Z., Po, L.M. (2014). An improved hybrid fast mode decision method for H.264/AVC intra coding with local information. Multimedia Tools and Applications, 72(1), 687–704.
Kim, H., Lim, S., Yu, S. (2015). Fast intra-mode decision method for luma and chroma blocks for H.264/AVC. Multimedia Tools and Applications, 74(13), 4641–4653.
Yu, A.C., Ngi, N.K., Martin, G.R. (2006). Efficient intra- and inter-mode selection algorithms for H.264/AVC. Journal of Visual Communication and Image Representation, 17(2), 322–344.
Su, Y., Xin, J., Vetro, A., Sun, H. (2005). Efficient MPEG-2 to H.264/AVC intra transcoding in transform-domain. IEEE International Symposium on Circuits and Systems, pp. 1234–1237.
Sarwer, M.G., Po, L.M., Wu, Q.M. (2008). Fast sum of absolute transformed difference based 4× 4 intra-mode decision of H.264/AVC video coding standard. Signal Processing: Image Communication, 23(8), 571–580.
Wu, C.Y., & Su, P.C. (2013). Fast intra-coding for H.264/AVC by using projection-based predicted block residuals. IEEE Transactions on Multimedia, 15(5), 1083–1093.
Kwon, S.K., Punchihewa, A., Bailey, D.G., Kim, S.W., Lee, J. (2012). Adaptive simplification of prediction modes for H.264 intra-picture coding. IEEE Transactions on Broadcasting, 58(1), 125–129.
Pejman, H., & Zargari, F. (2012). An efficient fast intra mode decision method based on orthogonal modes elimination. IEEE Transactions on Consumer Electronics, 58(4), 445–1452.
JVT H.264/AVC reference software JM14.0, Downloaded from http://iphome.hhi.de/suehring/tml/download/old_jm/ Accessed, Sep 2015.
Bjontegaard, G. (2001). Calculation of average PSNR differences between RD-curves. Doc. VCEG-m33 ITU-t Q6/16, Presented at the 13th VCEG-m33 Meeting, Austin, TX, April 2001.
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher’s Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Wang, P., Cheng, H. Early Termination of Intra Mode Decision Based on Most Probable Mode and SATD for H.264/AVC encoding. J Sign Process Syst 92, 173–186 (2020). https://doi.org/10.1007/s11265-019-01455-8
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11265-019-01455-8