DOI QR코드

DOI QR Code

H.264 코덱을 위한 적응적 매크로블록 양자화 방법

Adaptive Macroblock Quantization Method for H.264 Codec

  • 박상현 (순천대학교 멀티미디어공학과)
  • 투고 : 2010.03.22
  • 심사 : 2010.04.11
  • 발행 : 2010.05.31

초록

본 논문에서는 목표 비트량에 맞게 영상을 압축하는 모델 기반 매크로블록 레이어 비트율 제어 알고리즘을 제안한다. H.264 비디오 압축 표준은 다양한 압축 모드 및 최적화 방법을 사용하여 압축률을 향상 시키지만 복잡한 인코더 구조는 정확한 트래픽 제어를 어렵게 한다. 제안된 알고리즘에서는 매크로블록 단위에서 비트율과 양자화 파라미터의 관계 및 화면간 영상 변화량에 따른 MAD 값을 선형회귀분석을 통해 예측한다. 예측된 데이터를 바탕으로 각 매크로블록의 양자화 파라미터를 라그랑지 곱수 방법을 이용하여 결정한다. 이 값은 다시 한 프레임에 할당된 비트량과 발생한 비트량의 차이에 따라 수정하여 한 프레임을 압축했을 때 결과 비트량이 목표치에 근접할 수 있게 한다. 제안하는 알고리즘과 기존 알고리즘간의 비교 실험은 제안하는 알고리즘이 목표 비트량과 일치하는 결과 비트량을 생성하는 것을 보여준다.

This paper presents a new adaptive macroblock quantization algorithm which generates the output bits corresponding to the target bit budget. The H.264 standard uses various coding modes and optimization methods to improve the compression performance, which makes it difficult to control the amount of the generated traffic accurately. In the proposed scheme, linear regression analysis is used to analyze the relationship between the bit rate of each macroblock and the quantization parameter and to predict the MAD values. Using the predicted values, the quantization parameter of each macroblock is determined by the Lagrange multiplier method and then modified according to the difference between the bit budget and the generated bits. It is shown by experimental results that the new algorithm can generate output bits accurately corresponding to the target bit rates.

키워드

참고문헌

  1. H. Song and C.-C. J. Kuo, "Rate control for low-bit-rate video via variable-encoding frame rates," IEEE Trans. Circuits Syst. Video Technol., vol. 11, no. 4, pp. 512-521, Apr. 2001. https://doi.org/10.1109/76.915357
  2. 윤홍준, 서영호, 최현준, 김동욱, "H.264/A VC의 고속 인트라 예측 방법," 한국해양정보통신학회논문지, vol. 10, no. 7, pp. 1172-1179, 2006년 7월.
  3. T. Wiegand, H. Schwarz, A. Joch, F. Kossentini, and G. J. Sullivan, "Rate-constrained coder control and comparison of video coding standards," IEEE Trans. Circuits Syst. Video Technol., vol. 7, pp. 688-703, Jul. 2003.
  4. T. Wiegand, G. J. Sullivan, G. Bjontegaard, and A. Luthra, "Overview of the H.264/AVC video coding standard," IEEE Trans. Circuits Syst. Video Technol., vol. 7, no. 7, pp. 1-19, Jul. 2003.
  5. Z. G. Li, W. Gao, F. Pan, S. W. Ma, K.P. Lim, G.N. Feng, X. Lin, S. Rahardja, H.Q. Lu, and Y. Lu, "Adaptive rate control for H.264," J. Vis. Commun. Image R, vol.17, pp 376-406, Apr. 2006. https://doi.org/10.1016/j.jvcir.2005.04.004
  6. T. Chiang and Y.-Q. Zhang, "A new rate control scheme using quadratic rate distortion model," IEEE Trans. Circuits Syst. Video Technol., vol. 7, no. 1, pp. 246-250, Feb. 1997. https://doi.org/10.1109/76.554439
  7. H. Wang and S. Kwong, "Rate-Distortion Optimization of Rate Control for H.264 With Adaptive Initial Quantization Parameter Determination," IEEE Trans. Circuits Syst. Video Technol., vol. 18, no. 1, pp. 140-144, Jan. 2008. https://doi.org/10.1109/TCSVT.2007.913757