Skip to main content

Analysis and Exploitation of CTU-Level Parallelism in the HEVC Mode Decision Process Using Actor-Based Modeling

  • Conference paper
Architecture of Computing Systems – ARCS 2016 (ARCS 2016)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 9637))

Included in the following conference series:

Abstract

The new High-Efficiency Video Coding (HEVC) standard achieves much better compression ratios than previous ones by offering multiple coding modes, albeit with a significant increase over the required computational power especially at the encoder side. As the first major contribution, we propose a fine-grained parallelization of the encoding mode decision process using a SystemC actor-based model, exploiting multi-core platforms. Second, based on this model, we analyze achievable speedups compared to the single core sequential implementation of the HM-16.0 reference software. Using four different video sequences, we find that our approach achieves an equivalent rate-distortion performance for different quantization parameter values with a simulated encoding time improvement factor of up to \(9\times \) for a maximally parallelized mode decision process. Third, an HEVC encoder has a huge number of different standard-complying encoding modes to choose from for each encoded frame, making the exploration space almost impossible to be fully covered by a brute-force search. Here, we systematically investigate the trade-off in encoding time versus required number of processor cores by proposing a multi-objective Design Space Exploration (DSE) of the mapping of the parallelized mode decision tasks to processing resources, taking as optimization objectives the resulting bitrate, image quality, number of processor cores used, execution time, and total energy consumption.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    QP denotes the quantization parameter. A low QP value corresponds to a fine quantization.

References

  1. x265 (2014). x265.org, Accessed 22 January 2015

    Google Scholar 

  2. Bjontegaard, G.: Calculation of average PSNR differences between RD curves, April 2001

    Google Scholar 

  3. Blickle, T., Teich, J., Thiele, L.: System-level synthesis using evolutionary algorithms. Des. Autom. Embedded Syst. 3(1), 23–58 (1998)

    Article  Google Scholar 

  4. Bossen, F.: Common test conditions and software reference configurations. Joint Collaborative Team on Video Coding (JCT-VC), JCTVC-F900 (2011)

    Google Scholar 

  5. Chen, K., Duan, Y., Sun, J., Guo, Z.: Towards efficient wavefront parallel encoding of HEVC: parallelism analysis and improvement. In: Proceedings of the IEEE 16th International Workshop on Multimedia Signal Processing (MMSP), pp. 1–6, September 2014

    Google Scholar 

  6. Chi, C.C., Alvarez-Mesa, M., Juurlink, B., Clare, G., Henry, F., Pateux, S., Schierl, T.: Parallel scalability and efficiency of HEVC parallelization approaches. IEEE Trans. Circ. Syst. Video Technol. 22(12), 1827–1838 (2012)

    Article  Google Scholar 

  7. Deb, K., Pratap, A., Agarwal, S., Meyarivan, T.: A fast and elitist multiobjective genetic algorithm: NSGA-II. IEEE Trans. Evol. Comput. 6(2), 182–197 (2002)

    Article  Google Scholar 

  8. Fuldseth, A., Horowitz, M., Xu, S., Segall, A., Zhou, M.: Tiles. JCTVC-F335, July 2011

    Google Scholar 

  9. Haubelt, C., Falk, J., Keinert, J., Schlichter, T., Streubühr, M., Deyhle, A., Hadert, A., Teich, J.: A SystemC-based design methodology for digital signal processing systems. EURASIP J. Embedded Syst. 2007(1), 15 (2007)

    Google Scholar 

  10. Heng, T.K., Asano, W., Itoh, T., Tanizawa, A., Yamaguchi, J., Matsuo, T., Kodama, T.: A highly parallelized H.265/HEVC real-time UHD software encoder. In: Proceedings of the IEEE International Conference on Image Processing (ICIP), pp. 1213–1217, October 2014

    Google Scholar 

  11. Henry, F., Pateux, S.: Wavefront parallel processing. Joint Collaborative Team on Video Coding (JCT-VC), Document JCTVC-E196, Geneva (2011)

    Google Scholar 

  12. ITU-T: Recommendation H.265, April 2013. http://www.itu.int/rec/T-REC-H.265-201304-S/en

  13. ITU/ISO/IEC: HEVC Test Model HM16.0 (2014). https://hevc.hhi.fraunhofer.de/

  14. Lukasiewycz, M., Glaß, M., Reimann, F., Teich, J.: Opt4J - a modular framework for meta-heuristic optimization. In: Proceedings of the Genetic and Evolutionary Computing Conference (GECCO 2011), Dublin, Ireland, pp. 1723–1730 (2011)

    Google Scholar 

  15. Misra, K., Segall, A., Horowitz, M., Xu, S., Fuldseth, A., Zhou, M.: An overview of tiles in HEVC. IEEE J. Sel. Top. Sign. Proces. 7(6), 969–977 (2013)

    Article  Google Scholar 

  16. Radicke, S., Hahn, J., Grecos, C., Wang, Q.: A highly-parallel approach on motion estimation for high efficiency video coding (HEVC). In: Proceedings of the IEEE International Conference on Consumer Electronics (ICCE), pp. 187–188, January 2014

    Google Scholar 

  17. Rosales, R., Glass, M., Teich, J., Wang, B., Xu, Y., Hasholzner, R.: MAESTRO- holistic actor-oriented modeling of nonfunctional properties and firmware behavior for MPSoCs. ACM Trans. Des. Autom. Electron. Syst. 19(3), 23:1–23:26 (2014)

    Article  Google Scholar 

  18. Shafique, M., Khan, M., Henkel, J.: Power efficient and workload balanced tiling for parallelized high efficiency video coding. In: Proceedings of the IEEE International Conference on Image Processing (ICIP), pp. 1253–1257, October 2014

    Google Scholar 

  19. Streubühr, M., Rosales, R., Hasholzner, R., Haubelt, C., Teich, J.: ESL power and performance estimation for heterogeneous MPSoCS using SystemC. In: FDL, pp. 1–8 (2011)

    Google Scholar 

  20. Sullivan, G., Ohm, J., Han, W.J., Wiegand, T.: Overview of the high efficiency video coding (HEVC) standard. IEEE Trans. Circ. Syst. Video Technol. 22(12), 1649–1668 (2012)

    Article  Google Scholar 

  21. Wang, X., Song, L., Chen, M., Yang, J.: Paralleling variable block size motion estimation of HEVC on multi-core CPU plus GPU platform. In: Proceedings of the IEEE International Conference on Image Processing (ICIP), pp. 1836–1839, September 2013

    Google Scholar 

  22. Zhang, J., Dai, F., Ma, Y., Zhang, Y.: Highly parallel mode decision method for HEVC. In: Proceedings of the Picture Coding Symposium (PCS), pp. 281–284, December 2013

    Google Scholar 

  23. Zhang, S., Zhang, X., Gao, Z.: Implementation and improvement of wavefront parallel processing for HEVC encoding on many-core platform. In: Proceedings of the IEEE International Conference on Multimedia and Expo Workshops (ICMEW), pp. 1–6, July 2014

    Google Scholar 

Download references

Acknowledgments

This work was supported by the Research Training Group 1773 Heterogeneous Image Systems, funded by the German Research Foundation (DFG). We would also like to thank Dr. Muhammad Shafique, researcher at the Karlsruhe Institute of Technology for his valuable feedback.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Rafael Rosales .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Springer International Publishing Switzerland

About this paper

Cite this paper

Rosales, R., Herglotz, C., Glaß, M., Kaup, A., Teich, J. (2016). Analysis and Exploitation of CTU-Level Parallelism in the HEVC Mode Decision Process Using Actor-Based Modeling. In: Hannig, F., Cardoso, J.M.P., Pionteck, T., Fey, D., Schröder-Preikschat, W., Teich, J. (eds) Architecture of Computing Systems – ARCS 2016. ARCS 2016. Lecture Notes in Computer Science(), vol 9637. Springer, Cham. https://doi.org/10.1007/978-3-319-30695-7_20

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-30695-7_20

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-30694-0

  • Online ISBN: 978-3-319-30695-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics