Dual-path block size decision for fast motion search in H.264/AVC

We propose a fast motion search method for H.264/AVC with dual-path block size decision. H.264/AVC employs variable block sizes for motion compensation to reduce coding bits of inter-frame prediction error, which requires considerable amount of computation time when motion estimation is performed for every block size. Our algorithm contains two strategies to reduce computation time for motion search; block size mode reduction and search range reduction. According to these strategies, our algorithm consists of two stages. At the first stage, RDCost-based block size mode reduction is conducted. Rate-distortion function (RDCost) for skip mode is calculated at first, which determines the smallest block size for motion search. The second stage is a fast variable block size motion estimation which contains two paths, 16x16-first and 8x8-first. The 16x16-first path is invoked when the minimum block size determined at the first stage is larger than 8x8. In the 8x8-first path, search range for blocks larger than 8x8 is reduced according to distance between motion vectors for 8x8 blocks. From our experiment using JM 8.5, it is confirmed that our algorithm can reduce about 89.3% of computation time as compared to JM, with only negligible PSNR degradation.

[1]  Si Wu,et al.  Block INTER mode decision for fast encoding of H.264 , 2004, 2004 IEEE International Conference on Acoustics, Speech, and Signal Processing.

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

[3]  Jechang Jeong,et al.  Fast motion estimation with modified diamond search for variable motion block sizes , 2003, Proceedings 2003 International Conference on Image Processing (Cat. No.03CH37429).

[4]  Ming-Ting Sun,et al.  Fast variable-size block motion estimation using merging procedure with an adaptive threshold , 2003, 2003 International Conference on Multimedia and Expo. ICME '03. Proceedings (Cat. No.03TH8698).

[5]  Akio Yoneyama,et al.  A two-stage variable block size motion search algorithm for H.264 encoder , 2004, 2004 International Conference on Image Processing, 2004. ICIP '04..

[6]  Andy C. Yu,et al.  Efficient block-size selection algorithm for inter-frame coding in H.264/MPEG-4 AVC , 2004, 2004 IEEE International Conference on Acoustics, Speech, and Signal Processing.

[7]  Zhi Zhou,et al.  Fast variable block-size motion estimation algorithm based on merge and slit procedures for H.264/MPEG-4 AVC , 2004, 2004 IEEE International Symposium on Circuits and Systems (IEEE Cat. No.04CH37512).