Complexity Management of H.264/AVC Video Compression

The H. 264/AVC video coding standard offers significantly improved compression efficiency and flexibility compared to previous standards. However, the high computational complexity of H. 264/AVC is a problem for codecs running on low-power hand held devices and general purpose computers. This thesis presents new techniques to reduce, control and manage the computational complexity of an H. 264/AVC codec. A new complexity reduction algorithm for H. 264/AVC is developed. This algorithm predicts "skipped" macroblocks prior to motion estimation by estimating a Lagrange ratedistortion cost function. Complexity savings are achieved by not processing the macroblocks that are predicted as "skipped". The Lagrange multiplier is adaptively modelled as a function of the quantisation parameter and video sequence statistics. Simulation results show that this algorithm achieves significant complexity savings with a negligible loss in rate-distortion performance. The complexity reduction algorithm is further developed to achieve complexity-scalable control of the encoding process. The Lagrangian cost estimation is extended to incorporate computational complexity. A target level of complexity is maintained by using a feedback algorithm to update the Lagrange multiplier associated with complexity. Results indicate that scalable complexity control of the encoding process can be achieved whilst maintaining near optimal complexity-rate-distortion performance. A complexity management framework is proposed for maximising the perceptual quality of coded video in a real-time processing-power constrained environment. A real-time frame-level control algorithm and a per-frame complexity control algorithm are combined in order to manage the encoding process such that a high frame rate is maintained without significantly losing frame quality. Subjective evaluations show that the managed complexity approach results in higher perceptual quality compared to a reference encoder that drops frames in computationally constrained situations. These novel algorithms are likely to be useful in implementing real-time H. 264/AVC standard encoders in computationally constrained environments such as low-power mobile devices and general purpose computers.

[1]  I. Richardson,et al.  Macroblock Classification for Video Encoder Complexity Management , 2003 .

[2]  Maja Bystrom,et al.  Fast H . 264 Skip Mode Selection Using an Estimation Framework , 2006 .

[3]  P. Yip,et al.  Discrete Cosine Transform: Algorithms, Advantages, Applications , 1990 .

[4]  Iain E. Garden Richardson,et al.  Adaptive algorithms for variable-complexity video coding , 2001, Proceedings 2001 International Conference on Image Processing (Cat. No.01CH37205).

[5]  Thomas Wiegand,et al.  Lagrange multiplier selection in hybrid video coder control , 2001, Proceedings 2001 International Conference on Image Processing (Cat. No.01CH37205).

[6]  T. Wiegand,et al.  Text Description of Joint Model Reference Encoding Methods and Decoding Concealment Methods , 2004 .

[7]  Antonio Ortega,et al.  Fast long-term motion estimation for H.264 using multiresolution search , 2003, Proceedings 2003 International Conference on Image Processing (Cat. No.03CH37429).

[8]  Iain E. Garden Richardson,et al.  Adaptive Management of Video Encoder Complexity , 2002, Real Time Imaging.

[9]  Rafael C. González,et al.  Local Determination of a Moving Contrast Edge , 1985, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[10]  Ajay Luthra,et al.  The H.264/AVC Advanced Video Coding standard: overview and introduction to the fidelity range extensions , 2004, SPIE Optics + Photonics.

[11]  Ajay Luthra,et al.  Overview of the H.264/AVC video coding standard , 2003, IEEE Trans. Circuits Syst. Video Technol..

[12]  Sergio Saponara,et al.  “The JVT Advanced Video Coding Standard: Complexity and Performance Analysis on a Tool-by-tool Basis” , 2003 .

[13]  Sanjit K. Mitra,et al.  Rate-distortion optimized mode selection for very low bit rate video coding and the emerging H.263 standard , 1996, IEEE Trans. Circuits Syst. Video Technol..

[14]  Miska M. Hannuksela,et al.  H.264/AVC in wireless environments , 2003, IEEE Trans. Circuits Syst. Video Technol..

[15]  F. Pan,et al.  Fast Mode Decision for Intra Prediction , 2003 .

[16]  Maja Bystrom,et al.  Complexity reduction of H.264 using Lagrange optimization methods , 2005 .

[17]  Antonio Ortega,et al.  Rate-distortion methods for image and video compression , 1998, IEEE Signal Process. Mag..

[18]  D. Marpe,et al.  Video coding with H.264/AVC: tools, performance, and complexity , 2004, IEEE Circuits and Systems Magazine.

[19]  Harvey J. Everett Generalized Lagrange Multiplier Method for Solving Problems of Optimum Allocation of Resources , 1963 .

[20]  Iain E. Garden Richardson,et al.  Macroblock classification for complexity management of video encoders , 2003, Signal Process. Image Commun..

[21]  Iain E. G. Richardson,et al.  Video Codec Design: Developing Image and Video Compression Systems , 2002 .

[22]  Henrique S. Malvar,et al.  Low-complexity transform and quantization in H.264/AVC , 2003, IEEE Trans. Circuits Syst. Video Technol..

[23]  Gary J. Sullivan,et al.  Rate-constrained coder control and comparison of video coding standards , 2003, IEEE Trans. Circuits Syst. Video Technol..

[24]  Detlev Marpe,et al.  H.264/MPEG4-AVC fidelity range extensions: tools, profiles, performance, and application areas , 2005, IEEE International Conference on Image Processing 2005.

[25]  C. S. Kannangara,et al.  COMPUTATIONAL CONTROL OF AN H . 264 ENCODER THROUGH LAGRANGIAN COST FUNCTION ESTIMATION , 2005 .

[26]  Iain E. G. Richardson,et al.  H.264 and MPEG-4 Video Compression: Video Coding for Next-Generation Multimedia , 2003 .

[27]  Yair Shoham,et al.  Efficient bit allocation for an arbitrary set of quantizers [speech coding] , 1988, IEEE Trans. Acoust. Speech Signal Process..

[28]  Qionghai Dai,et al.  Fast mode decision for inter prediction in H.264 , 2004, 2004 International Conference on Image Processing, 2004. ICIP '04..

[29]  Anne H. Anderson,et al.  Impact of video frame rate on communicative behaviour in two and four party groups , 2000, CSCW '00.

[30]  Marta Karczewicz,et al.  The SP- and SI-frames design for H.264/AVC , 2003, IEEE Trans. Circuits Syst. Video Technol..

[31]  Valentin S. Kisimov,et al.  Video Acceptability and Frame Rate , 1995, IEEE Multim..

[32]  Heiko Schwarz,et al.  Context-based adaptive binary arithmetic coding in the H.264/AVC video compression standard , 2003, IEEE Trans. Circuits Syst. Video Technol..

[33]  Wonyong Sung,et al.  H.264 decoder optimization exploiting SIMD instructions , 2004, The 2004 IEEE Asia-Pacific Conference on Circuits and Systems, 2004. Proceedings..

[34]  Mohammed Ghanbari,et al.  A Lagrangian optimized rate control algorithm for the H.264/AVC encoder , 2004, 2004 International Conference on Image Processing, 2004. ICIP '04..

[35]  Olivier Verscheure,et al.  Perceptual quality measure using a spatiotemporal model of the human visual system , 1996, Electronic Imaging.

[36]  Gary J. Sullivan,et al.  Draft Text of H.264/AVC Fidelity Range Extensions Amendment , 2004 .

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

[38]  Aggelos K. Katsaggelos,et al.  Rate-Distortion Based Video Compression , 1997, Springer US.

[39]  Thomas Wiegand,et al.  Multi-frame motion compensated prediction for video transmission , 2001 .

[40]  Faouzi Kossentini,et al.  An efficient computation-constrained block-based motion estimation algorithm for low bit rate video coding , 1998, Conference Record of Thirty-Second Asilomar Conference on Signals, Systems and Computers (Cat. No.98CH36284).

[41]  Anthony Vetro,et al.  Fast Mode Decision for Intra-only H.264/AVC Coding , 2006 .

[42]  Thomas Wiegand,et al.  Rate-Constrained Coder Control , 2001 .

[43]  I.E.G. Richardson,et al.  Fast subjective video quality measurement with user feedback , 2004 .

[44]  Yücel Altunbasak,et al.  Low-complexity macroblock mode selection for H.264-AVC encoders , 2004, 2004 International Conference on Image Processing, 2004. ICIP '04..

[45]  M. Angela Sasse,et al.  Sharp or smooth?: comparing the effects of quantization vs. frame rate for streamed video , 2004, CHI '04.

[46]  Iain E. Garden Richardson,et al.  Low-complexity skip prediction for H.264 through Lagrangian cost estimation , 2006, IEEE Transactions on Circuits and Systems for Video Technology.

[47]  Ming-Ting Sun,et al.  Modeling DCT coefficients for fast video encoding , 1999, IEEE Trans. Circuits Syst. Video Technol..

[48]  Edward R. Dougherty,et al.  Introduction to Real-Time Imaging , 1995 .

[49]  Akiyuki Tanizawa,et al.  A study on fast rate-distortion optimized coding mode decision for H.264 , 2004, 2004 International Conference on Image Processing, 2004. ICIP '04..

[50]  Andy C. Yu,et al.  Advanced block size selection algorithm for inter frame coding in H.264/MPEG-4 AVC , 2004, 2004 International Conference on Image Processing, 2004. ICIP '04..

[51]  Jani Lainema,et al.  Adaptive deblocking filter , 2003, IEEE Trans. Circuits Syst. Video Technol..

[52]  Gary J. Sullivan,et al.  Rate-distortion optimization for video compression , 1998, IEEE Signal Process. Mag..

[53]  Gary J. Sullivan The H.264/MPEG-4 AVC video coding standard and its deployment status , 2005, Visual Communications and Image Processing.

[54]  Byeungwoo Jeon,et al.  Fast mode decision for H.264 , 2004, 2004 IEEE International Conference on Multimedia and Expo (ICME) (IEEE Cat. No.04TH8763).

[55]  George Ghinea,et al.  QoS impact on user perception and understanding of multimedia video clips , 1998, MULTIMEDIA '98.

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

[57]  M. Angela Sasse,et al.  Measuring perceived quality of speech and video in multimedia conferencing applications , 1998, MULTIMEDIA '98.

[58]  Mohammed Ghanbari,et al.  A multi-metric objective picture-quality measurement model for MPEG video , 2000, IEEE Trans. Circuits Syst. Video Technol..

[59]  Thomas Sikora,et al.  Digital video coding standards and their role in video communications , 1995, Proc. IEEE.

[60]  K. Rijkse,et al.  H.263: video coding for low-bit-rate communication , 1996, IEEE Commun. Mag..

[61]  S O Stephan Mietens Complexity scalable MPEG encoding , 2004 .