簡易檢索 / 詳目顯示

研究生: 魏世澤
Wei, Shih-tse
論文名稱: 整合CAVLC解碼器及反量化與反轉換之精簡H.264/AVC解碼核心設計
Combined CAVLC Decoder with Inverse Quantizer and Transform for Compact H.264/AVC Decoding Kernels
指導教授: 楊家輝
Yang, Jar-ferr
劉濱達
Liu, Bin-da
學位類別: 碩士
Master
系所名稱: 電機資訊學院 - 電機工程學系
Department of Electrical Engineering
論文出版年: 2007
畢業學年度: 95
語文別: 英文
論文頁數: 69
中文關鍵詞: 反量化反轉換解碼器
外文關鍵詞: CAVLC decoder, inverse quantizer, inverse transform, H.264/AVC
相關次數: 點閱:103下載:1
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 本論文提出了一個低面積、高效率的硬體架構來解碼H.264/AVC標準中的殘值。這個架構包含了CAVLC解碼器、反量化器、反轉換器。在硬體設計上,因為這些元件的解碼速度不同,在元件之間的介面必須很小心的設計來緩衝它們之間的資料傳輸。為了有效的實現 CAVLC解碼器和反量化器之間的介面,我們首先分析了在H.264/AVC標準中的解碼流程。在適當的安排CAVLC解碼器和反量化器的解碼流程後,所提出的架構只需要一個反量化器,而且我們更進一步將它整合到CAVLC解碼器中來減少緩衝器的面積。另外一方面,我們也提出一個包含4 4整數反轉換、4 4 Hadamard反轉換以及2 2 Hadamard反轉換的彈性二維轉換架構。在模擬之後顯示,所提出的全部架構其電路使用的面積是14.1 k,而最大的操作頻率可以到達130 MHz。這樣的處理速度可以達到即時處理4:2:0的格式、每秒30張、畫面解析度為4VGA大小的影像。

    A low cost and efficient architecture for decoding the residual data in the H.264/AVC is proposed in this thesis. The required components consist of CAVLC decoder, inverse quantizer, and inverse transform. Since the decoding speed of these components is varied, the interface should be designed carefully to buffer the data among them. To efficiently realize the interface of the CAVLC decoder and inverse quantizer, the residual decoding procedure in the H.264/AVC is first analyzed. After the proper arrangement of the CAVLC decoding and inverse quantization procedures, the proposed architecture requires only one inverse quantizer which is further combined into the CAVLC decoder to reduce the buffer size. Moreover, the flexible 2-D multi-transform architecture which including the 4 4 inverse integer transform, 4 4 inverse Hadamard transform, and 2 2 inverse Hadamard transform is also proposed. Simulation results show that the total implemented gate counts is 14.1 k and the maximum operation frequency is 130 MHz in the proposed design. It can support the real-time requirement for the 4VGA @30 fps video resolution in 4:2:0 formats.

    Table of Contents i List of Tables iii List of Figures iv Chapter 1 Introduction 1 1.1 Motivation 1 1.2 Organization for the Thesis 4 Chapter 2 Overview of the Residual Decoder in the H.264/AVC Video Coding Standard 5 2.1 Basic Concepts of the H.264/AVC Video Coding Standard 5 2.2 The Residual Decoder in the H.264/AVC Standard 7 2.2.1 Context-based adaptive variable length coding 9 2.2.2 Inverse quantization 17 2.2.3 Inverse transform 18 Chapter 3 Algorithm and Architecture Design 21 3.1 Hardware Oriented Decoding Procedure Modification 21 3.2 Overview of the Proposed Hardware Architecture 24 3.3 Architecture Design of the CAVLC Decoder 26 3.3.1 Codeword processor 28 3.3.2 Coeff_token unit 29 3.3.3 Trailing_ones_sign_flag unit 30 3.3.4 Level unit 30 3.3.5 Total_zeros unit 32 3.3.6 Run_before unit 32 3.4 Architecture Design of the Inverse Quantizer 33 3.5 Proposed CAVLC Decoder with Inverse Quantizer Architecture 35 3.5.1 Design of combining the inverse quantization function in the CAVLC decoder 35 3.5.2 Advantages of combining the inverse quantization function in the CAVLC decoder 40 3.5.3 Case study 43 3.6 Proposed Low Cost Inverse Transform Architecture 47 Chapter 4 Simulation Results and Comparison 53 4.1 Real-time Requirements for Various Resolutions 53 4.2 Simulation Results 56 4.3 Verification 57 4.4 Comparison 60 Chapter 5 Conclusions and Future Work 63 5.1 Conclusions 63 5.2 Future Work 64 References 66

    [1] Coding of moving pictures and associated audio for digital storage media at up to about 1.5 Mbit/s–Part2: Video, ISO/IEC 11172, 1993.
    [2] Information Technology–Generic Coding of Moving Pictures and Associated Audio Information: Video, ISO/IEC 13818-2 and ITU-T Rec. H.262, 1996.
    [3] Information Technology–Coding of Audio-Visual Objects–Part2: Visual, ISO/IEC 14496-2, 1999.
    [4] Video codec for audiovisual services at px64 kbits/s,ITU-T Rec. H.261 v1, 1990.
    [5] Video Coding for Low Bit Rate Communication,ITU-T Rec. H.263, 1998.
    [6] Joint Video Team,Draft ITU-T Recommendation and Final Draft International Standard of Joint Video Specification,ITU-T Rec. H.264 and ISO/IEC 14496-10 AVC, May 2003.
    [7] M. Alle, J. Biswas, and S. K. Nandy, “High Performance VLSI Architecture Design for H.264 CAVLC Decoder,” in Proc. ASAP, Sept. 2006, pp. 317–322.
    [8] L. Agostini, R. Porto, J. Guntzel, and I. S. Silva, “High throughput multitransform and multiparallelism IP for H.264/AVC video compression standard,” in Proc. IEEE ISCAS, May 2006, pp. 5419–5422.
    [9] H. C. Chang, C. C. Lin, and J. I. Guo, “A novel low-cost high-performance VLSI architecture for MPEG-4 AVC/H.264 CAVLC decoding,” in Proc. IEEE ISCAS, May 2005, pp. 6110–6113.
    [10] Z. Y. Cheng, C. H. Chen, B. D. Liu, and J. F. Yang, “High throughput 2-D transform architectures for H.264 advanced video coders,” in Proc. IEEE APCCAS, Dec. 2004, pp. 1141–1144.
    [11] K. H. Chen, J. I. Guo, and J. S. Wang, “A high-performance direct 2-D transform coding IP design for MPEG-4AVC/H.264,” IEEE Trans. Circuits Syst. Video Technol., vol. 16, pp. 472–483, Aug. 2006.
    [12] R. Hashemian, “Design and hardware implementation of a memory efficient Huffman decoding,” IEEE Trans. Consum. Electron., vol. 40, pp. 345–352, Aug. 1994.
    [13] B. Jeon, J. Park, and J. Jeong, “Huffman coding of DCT coefficients using dynamic codeword assignment and adaptive codebook selection,” Signal Processing: Image Communications, vol. 12, pp. 253–262, June 1998.
    [14] H. Y. Kang, K. A. Jeong, J. Y. Bae, Y. S. Lee, and S. H. Lee, “MPEG4 AVC/H.264 decoder with scalable bus architecture and dual memory controller,” in Proc. IEEE ISCAS, May 2004, pp. 23–26.
    [15] Y. H. Kim, Y. J. Yoo, J. Shin, B. Choi, and J. Paik, “Memory-efficient H.264/AVC CAVLC for fast decoding,” IEEE Trans. Consum. Electron., vol. 52, pp. 943–952, Aug. 2006.
    [16] G. Lakhani, “Optimal Huffman coding of DCT blocks,” IEEE Trans. Circuits Syst. Video Technol., vol. 14, pp. 522–527, Apr. 2004.
    [17] S. M. Lei and M. T. Sun, “An entropy coding system for digital HDTV applications,” IEEE Trans. Circuits Syst. Video Technol., vol. 1, pp. 147–155, Mar. 1991.
    [18] Y. M. Lin and P. Y. Chen, “An efficient implementation of CAVLC for H.264/AVC,” in Proc. ICICIC, Aug. 2006, pp. 601–604.
    [19] H. Y. Lin, Y. H. Lu, B. D. Liu, and J. F. Yang, “Low power design of H.264 CAVLC decoder,” in Proc. IEEE ISCAS, May 2006, pp. 2689–2692.
    [20] H. Y. Lin, Y. C. Chao, C. H. Chen, B. D. Liu, and J. F. Yang, “Combined 2-D transform and quantization architectures for H.264 video coders,” in Proc. IEEE ISCAS, May 2005, pp. 1802–1805.
    [21] D. S. Ma, J. F. Yang, and J. Y. Lee, “Programmable and parallel variable-length decoder for video systems,” IEEE Trans. Consum. Electron., vol. 39, pp. 448–454, Aug. 1993.
    [22] Y. H. Moon, G. Y. Kim, and J. H. Kim, “An efficient decoding of CAVLC in H.264/AVC video coding standard,” IEEE Trans. Consum. Electron., vol. 51, pp. 933–938, Aug. 2005.
    [23] J. Nikara, S. Vassiliadis, J. Takala, and P. Liuha, “Multiple-symbol parallel decoding for variable length codes,” IEEE Trans. VLSI Syst., vol. 12, pp. 676–685, July 2004.
    [24] B. J. Shieh, Y. S. Lee, and C. Y. Lee, “A new approach of group-based VLC Codec system with full table programmability,” IEEE Trans. Circuits Syst. Video Technol., vol. 11, pp. 210–221, Feb. 2001.
    [25] S. Y. Tseng and T. W. Hsieh, “A Pattern-Search Method for H.264/AVC CAVLC Decoding,” in Proc. ICME, July 2006, pp. 1073–1076.
    [26] S. H. Wang, W. H. Peng, Y. He, G. Y. Lin, C. Y. Lin, S. C. Chang, C. N. Wang, and T. Chiang, “A platform-based MPEG-4 advanced video coding (AVC) decoder with block level pipelining,” in Proc. IEEE ICICS, Dec. 2003, pp. 51–55.
    [27] D.Wu,W. Gao, M. Hu, and Z. Ji, “A VLSI architecture design of CAVLC decoder,” in Proc. IEEE Int. Conf. ASIC, Oct. 2003, vol. 2, pp. 692–695.
    [28] Y. N. Wen, G. L. Wu, S. J. Chen, and Y. H. Hu, “Multiple-Symbol Parallel CAVLC Decoder for H.264/AVC,” in Proc. IEEE APCCAS, Dec. 2006, pp. 1240–1243.
    [29] T. C. Wang, Y. W. Huang, H. C. Fang, and L. G. Chen, “Parallel 4×4 2D transform and inverse transform architecture for MPEG-4 AVC/H.264,” in Proc. IEEE ISCAS, May 2003, pp. 800–803.
    [30] G. S. Yu and T. S. Chang, “A zero-skipping multi-symbol CAVLC decoder for MPEG-4 AVC/H.264,” in Proc. IEEE ISCAS, May 2006, pp. 1240–1243.
    [31] Y. H. Lu, “Low power H.264 context-based adaptive variable length decoder,” Master Thesis, National Cheng Kung Universiry, Tainan, Taiwan, 2005.

    下載圖示 校內:2009-08-16公開
    校外:2010-08-16公開
    QR CODE