Fast mode decision for H.264/AVC based on local spatio-temporal coherency

In this paper, we propose a fast mode decision algorithm for H.264/AVC. It is based on the spatio-temporal coherency of the local neighborhood including and around the current block. We first build the histograms of the current block and the co-located block in the reference frame, respectively. If the difference between the two histograms is small, we use large-block-size modes. Otherwise, we subdivide the current block into four equal-sized sub-blocks and estimate the motion vector (MV) for each. In general, if there is a high degree of coherency between those MVs, we use large-block-size modes and otherwise small-block-size modes. In addition, we use the number of neighboring large blocks and the sub-blocks' ratedistortion (R-D) costs as further hints for the mode decision. As experimentally demonstrated, our algorithm leads to significant saving in computing time on the test video sequences.

[1]  Sam Kwong,et al.  An Efficient Mode Decision Algorithm for H.264/AVC Encoding Optimization , 2007, IEEE Transactions on Multimedia.

[2]  Lap-Pui Chau,et al.  Fast approach for H.264 inter mode decision , 2004 .

[3]  Thomas Wiegand,et al.  Draft ITU-T recommendation and final draft international standard of joint video specification , 2003 .

[4]  Kai-Kuang Ma,et al.  Fast Mode Decision for H.264/AVC Based on Macroblock Motion Activity , 2009, IEEE Transactions on Circuits and Systems for Video Technology.

[5]  Byung-Gyu Kim,et al.  Novel Inter-Mode Decision Algorithm Based on Macroblock (MB) Tracking for the P-Slice in H.264/AVC Video Coding , 2008, IEEE Transactions on Circuits and Systems for Video Technology.

[6]  Chris J. Bleakley,et al.  Real-time H.264 video encoding in software with fast mode decision and dynamic complexity control , 2010, TOMCCAP.

[7]  Liang-Gee Chen,et al.  Analysis and complexity reduction of multiple reference frames motion estimation in H.264/AVC , 2006, IEEE Transactions on Circuits and Systems for Video Technology.

[8]  Susanto Rahardja,et al.  Fast intermode decision in H.264/AVC video coding , 2005, IEEE Transactions on Circuits and Systems for Video Technology.

[9]  Jörn Ostermann,et al.  Fast Inter-Mode Decision in an H.264/AVC Encoder Using Mode and Lagrangian Cost Correlation , 2009, IEEE Transactions on Circuits and Systems for Video Technology.