Rate distortion optimized quantization for H.264/AVC based on dynamic programming

In this paper, an optimal quantization decision algorithm in the rate distortion sense for H.264/AVC1 with dynamic programming is proposed, in which a trellis is constructed for the 4x4 block quantization and adaptive entropy encoding process. Dynamic programming is employed to go through the trellis and search for the best path with minimum rate distortion cost in linear time. The quantization decisions for all coefficients in one block are made simultaneously in our approach. Thorough experiments are conducted on various sequences with different coding complexity for a wide range of bit-rates. The results show that the performance gain increases as the reproduction PSNR gets higher. For the sequences with high coding complexity, up to approximate 1 dB gain over independent quantization is observed for high PSNR encoding, e.g. higher than 45dB. In other cases, obvious gain can also be achieved. At the same time, since the state space is compact, the complexity increase is acceptable for software implementation.

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

[2]  John D. Villasenor,et al.  Trellis-based R-D optimal quantization in H.263+ , 2000, Proceedings 2000 International Conference on Image Processing (Cat. No.00CH37101).

[3]  Kannan Ramchandran,et al.  Joint thresholding and quantizer selection for transform image coding: entropy-constrained analysis and applications to baseline JPEG , 1997, IEEE Trans. Image Process..

[4]  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..

[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]  Gary J. Sullivan,et al.  Rate-distortion optimization for video compression , 1998, IEEE Signal Process. Mag..

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

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

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

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