簡易檢索 / 詳目顯示

研究生: 卓敏儀
Cho, Min-Yi
論文名稱: 應用於MPEG-1/2/4之低成本可變長度解碼器的設計與實現
Design and Implementation of Low-Cost Variable Length Decoder for MPEG-1/2/4
指導教授: 陳培殷
Chen, Pei-Yin
學位類別: 碩士
Master
系所名稱: 電機資訊學院 - 資訊工程學系
Department of Computer Science and Information Engineering
論文出版年: 2008
畢業學年度: 96
語文別: 中文
論文頁數: 59
中文關鍵詞: 低成本可變長度編碼法MPEG-1/2/4
外文關鍵詞: MPEG-1/2/4, low cost, Variable length coding
相關次數: 點閱:106下載:0
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 由於多媒體系統所需處理的資料量愈來愈龐大,為了傳輸與儲存這些龐大的資料,壓縮技術愈顯重要且不可避免,可變長度編碼法是一種常見的無失真壓縮方法,因為其效果不錯,所以被許多視訊壓縮標準所採用。在本論文裡,提出了一個應用於MPEG-1/2/4的低成本可變長度解碼器。一般的可變長度解碼器通常需要使用一個相當龐大的字碼表來完成解碼動作,為了實現這樣龐大的表格必須使用大量的儲存容量,因此也花費了相當高的成本。
    為了降低硬體成本,本論文提出一個有效的硬體實現方法。首先將表格裡的所有符號分到不同的群組,針對單一表格僅儲存最具代表性的符號及其內容,以產生儲存容量較小的表格,且關聯性高的表格也可被合併成單一表格,來進一步減少所需的儲存容量。該方法只需要使用少量的硬體儲存空間及一些簡單的硬體運算模組就可以得到與一般的可變長度解碼器相同的結果,故可大大地降低硬體實現成本。
    我們所提出的低成本可變長度解碼器電路設計,其實作是使用Verilog,並採用Artisan TSMC 0.18μm標準元件庫進行合成;電路佈局完成後,其晶片面積為1310x1310μm2。模擬結果顯示,該實作可達到125MHz的工作頻率,並可在HD1080@30fps的要求下即時解碼MPEG-1/2/4的位元流。

    The representation of most multimedia systems involves a vast amount of data, so it is inevitable to reduce the data rate for compression. Variable length coding (VLC) is a very popular lossless compression method and it has been used into many image and video coding standards. In the thesis, we present an area-efficient variable length decoder (VLD) for MPEG-1/2/4. Generally, the VLD design needs a large coding table to perform the decoding procedure, and it is implemented with larger storage space. Hence, its hardware cost quite high and unacceptable.
    For reducing the hardware cost, we propose an efficient implementation method in this thesis. First, the highly correlated symbols are grouped into the same cluster. Then, we use the table merging approach to reduce the storage space of LUTs needed for MPEG-1/2/4. In the design, the size of a single LUT and the total number of LUTs required for MPEG-1/2/4 are both reduced efficiently. Thus our design achieves the target of low hardware cost.
    The VLSI architecture of our MPEG-1/2/4 VLD was implemented by using Verilog HDL. We used Design Vision to synthesize the design with TSMC 0.18μm cell library. The layout for the design was generated with Astro. The chip area is 1310x1310μm2, and the clock rate is 125 MHz. Our VLD is fast enough to support video resolution of HD1080 at 30 fps for MPEG-1/2/4 real-time decoding.

    摘要 I Abstract II 誌謝 III 目錄 IV 表目錄 VII 圖目錄 VIII 第一章 緒論 1 1.1 研究背景 1 1.2 研究動機 2 1.3 研究方向 3 1.4 論文組織 4 第二章 相關背景與研究 5 2.1 MPEG-4視訊壓縮標準 5 2.1.1 基本架構 5 2.1.2 編碼流程 7 2.1.3 主要模組 8 2.1.3.1 移動估計 (ME) 8 2.1.3.2 離散餘弦轉換 (DCT) 9 2.1.3.3 量化 (Q) 9 2.1.3.4 交流/直流預測 (AC/DC Prediction) 10 2.1.3.5 可變長度編碼 (VLC) 11 2.2 可變長度解碼器之硬體架構 12 2.2.1 Bit-Serial架構 13 2.2.2 Bit-Parallel架構 13 第三章 低成本可變長度解碼器之實現方法 15 3.1 設計概念 17 3.2 解碼前處理 18 3.2.1 符號分類法(Symbol Clustering) 19 3.2.2 表格結合法(Table Merging) 22 3.2.2.1 Intra-table Merging 22 3.2.2.2 Inter-table Merging 24 3.3 低成本可變長度解碼器之解碼流程 30 3.3.1 Intra解碼流程 30 3.3.2 Inter解碼流程 31 第四章 低成本可變長度解碼器之VISI架構 33 4.1 硬體架構 33 4.1.1 柱式位移器 (Barrel Shifter) 33 4.1.2 控制電路 (Controller) 34 4.1.3 移動向量解碼器 (MVD Decoder) 36 4.1.4 直流係數解碼器 (DC Decoder) 36 4.1.5 交流係數解碼器 (AC Decoder) 37 4.1.6 解多工器 (De-multiplexer) 37 4.1.7 多工器 (Multiplexer) 38 4.2 低成本可變長度解碼模組 38 4.2.1 Intra解碼模組 38 4.2.2 Inter解碼模組 39 第五章 設計驗證與結果 41 5.1 電路驗證流程 41 5.2 電路模擬結果 43 5.3 電路量測結果 45 第六章 結論與未來展望 46 參考文獻 47 附錄 51

    [1] CCITT SG VIII, ISO/Moving Pictures Experts Group, Committee Draft "Coding of Moving Pictures and Associated Audio for Digital Storage Media at Up to about 1.5 Mbit/s," Dec. 1990.
    [2] CCITT SG VIII, ISO/Moving Pictures Experts Group, Committee Draft "Coded Representation of Picture and Audio Information," Jan. 1993.
    [3] MPEG Video Group, "MPEG-4 Video Verification Model v.18," ISO/IECJTC1/ SC29/WG11 N3908, Jan. 2001.
    [4] MPEG Video Group, "Study of MPEG-7 Profiles Part 9 Committee Draft," ISO/ IECJTC1/SC29/WG11 N6263, Dec. 2003.
    [5] MPEG Video Group, "MPEG-21 REL/RDD Software Implementation Plan v.5," ISO/IECJTC1/SC29/WG11 N6165, Dec. 2003.
    [6] CCITT SG XV, Draft Revision of Recommendation CCITT H.261, "Video Codec for Audiovisual Services at Px64 Kbit/s," Mar. 1990.
    [7] Draft ITU-T Recommendation H.263 Version 1, "Video Coding for Low Bit Rate Communication," July 1995.
    [8] Draft ITU-T Recommendation H.263 Version 2 (H.263+), "Video Coding for Low Bit Rate Communication," Jan. 1998.
    [9] Iain E. G. Richardson, "H.264 and MPEG-4 Video Compression," Video Coding for Next-generation Multimedia, 2003.
    [10] D. A. Huffman, "A Method for the Construction of Minimum Redundancy Codes," in Proc. I.R.E, Vol. 40, No. 9, pp. 1098-1101, Sept. 1952.
    [11] G. Langdon, "An Introduction to Arithmetic Coding," IBM J. Res. Develop., Vol. 28, No. 2, pp. 135-149, Mar. 1984.
    [12] S. Bunton and G. Borriello, "Practical Dictionary Management for Hardware Data Compression," Communications ACM, Vol. 35, No. 1, pp. 95-104, Jan. 1992.
    [13] J. Ziv and A. Lempel, "A Universal Algorithm for Sequential Data Compression," IEEE Trans. on Information Theory, Vol. 23, pp. 337-343, May 1977.
    [14] J. Ziv and A. Lempel, "Compression of Individual Sequences Via Variable-Rate Coding," IEEE Trans. on Information Theory, Vol. 24, pp. 530-536, Sept. 1978.
    [15] M. J. Chen, L. G. Chen, and T. D. Chiueh, "One-Dimensional Full Search Motion Estimation Algorithm for Video Coding," IEEE Trans. on Circuits and Systems for Video Technology, Vol. 4, No. 5, pp. 504-509, Oct. 1994.
    [16] H. M. Jong, L. G. Chen, and T. D. Chiueh, "Parallel Architecture for 3-Step Hierarchical Search Block-Matching Algorithm," IEEE Trans. on Circuits and Systems for Video Technology, Vol. 4, No. 4, pp. 407-416, 1994.
    [17] A. Madisetti and A.N. Willson, "A 100 MHz 2-D 8X8 DCT/IDCT Processor for HDTV Applications," IEEE Trans. on Circuits and Systems for Video Technology, Vol. 5, No. 2, pp. 158-165, April 1995.
    [18] P. A. Franaszek, "Run-Length-Limited Variable-Length Coding with Error Propagation Limitation," U.S. patent 3,689,899, 1972.
    [19] A. Mukherjee, N. Ranganathan, and M. Bassiouni, “Efficient VLSI designs for data transformation of tree-based codes,” IEEE Trans. Circuits Syst. Video Technol., vol. 38, no. 3, pp. 306–314, Mar. 1991.
    [20] S. M. Lei and M. T. Sun, “An entropy coding system for digital HDTV applications,” IEEE Trans. Circuits Syst. Video Technol., vol. 1, no. 1, pp. 147–155, Mar. 1991.
    [21] B. W. Y. Wei and T. H. Meng, “A parallel decoder of programmable Huffman codes,” IEEE Trans. Circuits Syst. Video Technol., vol. 5, no. 2, pp. 175–178, April 1995.
    [22] 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, no. 2, pp. 210–221, Feb. 2001.
    [23] S. H. Cho, T. Xanthopoulos, and A. P. Chandrakasan, “A low power variable length decoder for MPEG-2 based on nonuniform fine-grain table partitioning,” IEEE Trans. Very Large Scale Integr. (VLSI) Syst., vol. 7, no. 6, pp. 249–257, Jun. 1999.
    [24] S. W. Lee and I. C. Park, “A low-power variable length decoder for MPEG-2 based on successive decoding of short codewords,” IEEE Trans. Circuits Syst. II, Express Briefs, vol. 50, no. 2, pp. 73–82, Feb. 2003.
    [25] C. H. Liu, B. J. Shieh, and C. Y. Lee, “A low-power group-based VLD design,” in Proc. ISCAS’04, May 2004, pp. 337–340.
    [26] Y. C. Chang, R. C. Chang, and L. G. Chen, “Design and implementation of a bitstream parsing coprocessor for MPEG-4 video system-on-chip solution,” in Proc. VLSI-TSA’01, Apr. 2001, pp. 188–191.
    [27] P. Y. Chen and Y. M. Lin, “A low-cost VLC implementation for MPEG-4,” IEEE Trans. Circuits Syst. II, Express Briefs, vol. 54, no. 6, pp. 507–511, June 2007.
    [28] C. D. Chien, K. P. Lu, Y. M. Chen, J. I. Guo, Y. S. Chu, and C. L. Su, “An area-efficient variable length decoder IP core design for MPEG-1/2/4 video coding applications,” IEEE Trans. Circuits Syst. Video Technol., vol. 16, no. 9, pp. 1172–1178, Sept. 2006.
    [29] MPEG-2 Video Codec, http://www.mpeg.org/
    [30] Xvid Codec, http://www.xvid.org/

    無法下載圖示 校內:2018-08-25公開
    校外:2107-08-25公開
    電子論文尚未授權公開,紙本請查館藏目錄
    QR CODE