Skip to main content
Log in

Algorithm optimization and hardware implementation for Merge mode in HEVC

  • Original Research Paper
  • Published:
Journal of Real-Time Image Processing Aims and scope Submit manuscript

Abstract

Merge mode is a new tool for improving inter-frame coding efficiency in high-efficiency video coding. This tool can save the bitrate for the motion vector by sharing this vector with neighboring blocks. Merge is a process that selects a candidate motion vector by calculating the cost of rate-distortion. However, this process requires a large number of complex computations and memory access, thereby resulting in the low efficiency of hardware implementation. This paper proposes a new Merge candidate decision scheme that determines the most favorable Merge candidate from a full list of candidates by comparing the sum of absolute transformed difference with the weighted header bit instead of performing a complex calculation for sum of squared difference and entropy coding process in HM16.7. The simulation results show that the performance of the proposed algorithm is close to that of HM16.7 and increases the BD-rate only by 0.22–1.21%. The multilevel pipelines architecture is also exploited in the hardware design. The weighted header bit operation is performed by using the look-up table, which reduces both the complexity and encoding clock cycle. The designed system is implemented with a register transfer level code. The synthesis results from the Design Compiler show that compared with other architecture, the proposed architecture offers great advantages in resource utilization and can process 1920 × 1080 at 353 frame/s for P-slices with a clock frequency of 1057 MHz and logic gate count of 285.2 K.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4

Similar content being viewed by others

References

  1. Mathew, R., Taubman, D.-S.: Quad-tree motion modeling with leaf merging. IEEE Trans. Circuits Syst. Video Technol. 20(10), 1331–1345 (2010)

    Article  Google Scholar 

  2. Helle, P., Oudin, S., Bross, B., Marpe, D., Bici, M.-O., Jung, J., Clare, G., Wiegand, T.: Block merging for quadtree-based partitioning in HEVC. IEEE Trans. Circuits Syst. Video Technol. 22(12), 1720–1731 (2012)

    Article  Google Scholar 

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

    Article  Google Scholar 

  4. Li, M., Chono, K., Goto, S.: Low-complexity merge candidate decision for fast HEVC encoding. In: Proceedings IEEE International Conference on Multimedia and Expo Workshops (ICMEW), pp. 1–6 (2013)

  5. Jiang, X., Song, T., Shi, W., Wang, L.: Merge prediction algorithm for adaptive parallel improvement of high efficiency video coding. In: Proceedings IEEE International Conference on Consumer Electronics-Taiwan (ICCE-TW), pp. 310–311 (2015)

  6. Blasi, S.-G., Peixoto, E., Izquierdo, E.: Enhanced inter-prediction using Merge prediction transformation in the HEVC codec. In: Proceedings IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pp. 1709–1713 (2013)

  7. Zhang, N., Fan, X., Zhao, D., Gao, W.: Merge mode for deformable block motion information derivation. IEEE Trans. Circuits Syst. Video Technol. 27(11), 2437–2449 (2016)

    Article  Google Scholar 

  8. Pan, Z., Kwong, S., Sun, M.-T., Lei, J.: Early MERGE mode decision based on motion estimation and hierarchical depth correlation for HEVC. IEEE Trans. Broadcast. 60(2), 405–412 (2014)

    Article  Google Scholar 

  9. Kim, T.-S., Rhee, C.-E., Lee, H.-J.: Merge mode estimation for a hardware-based HEVC encoder. IEEE Trans. Circuits Syst. Video Technol. 26(1), 195–209 (2016)

    Article  Google Scholar 

  10. Kim, T.-S., Lee, H.-J., Rhee, C.-E.: Highly utilized merge mode estimation for a hardware-based HEVC encoder. In: Proceedings Signal Processing Systems (SiPS), pp. 1–6 (2015)

  11. Ugur, K., Alshin, A., Alshina, E., Bossen, F., Han, W.-J., Park, J.-H., Lainema, J.: Motion compensated prediction and interpolation filter design in H.265/HEVC. IEEE J. Sel. Top. Signal Process. 7(6), 946–956 (2013)

    Article  Google Scholar 

  12. Silveira, E., Diniz, C., Fonseca, M.-B., Costa, E.: SATD hardware architecture based on 8 × 8 Hadamard Transform for HEVC encoder. In: Proceedings IEEE International Conference on Electronic, Circuits, and Systems (ICECS), pp. 576–579 (2016)

Download references

Funding

Funding was provided by National Natural Science Foundation of China (Grant no. NSFC61671153), Natural Science Foundation of Fujian Province (Grant nos. 2015J01251, 2018J01801) and Fuzhou University (Grant no. XRC-1601).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Xiaohong Gao.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Shi, Lz., Gao, X., Yang, X. et al. Algorithm optimization and hardware implementation for Merge mode in HEVC. J Real-Time Image Proc 17, 623–630 (2020). https://doi.org/10.1007/s11554-018-0818-4

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11554-018-0818-4

Keywords

Navigation