簡易檢索 / 詳目顯示

研究生: 賴正修
Jeng-Shiou Lai
論文名稱: MPEG-4視訊編碼器硬體設計與FPGA實作之研究
Hardware Design and FPGA Verification of MPEG-4 Video Encoder
指導教授: 許孟超
Mon-chau Shie
口試委員: 阮聖彰
Shang-jang Ruan
陳伯奇
Po-ki Chen
梁文耀
Wen-yew Liang
學位類別: 碩士
Master
系所名稱: 電資學院 - 電子工程系
Department of Electronic and Computer Engineering
論文出版年: 2005
畢業學年度: 93
語文別: 中文
論文頁數: 60
中文關鍵詞: MPEG-4MPEG4視訊編碼器硬體視訊編碼器
外文關鍵詞: MPEG-4, MPEG4, Video Encoder, Hardware Video Encoder
相關次數: 點閱:264下載:6
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 在現今的動態影像壓縮技術中,MPEG-4已經漸成為主流,而且廣泛的被應用在各種多媒體產品上,因此如何設計出有效率之MPEG-4編碼器成為值得研究的課題。本論文提出使用硬體實現之MPEG-4 simple profile視訊編碼器,主要的硬體模組包含動態預估(Motion Estimation)模組,離散餘弦轉換(DCT)模組,DC預測(DC Prediction)模組,可變長度編碼(Variable Length Coding)模組等。

    在動態預估方面,提出一種有效的硬體架構與流程以實現三步驟搜尋演算法,並利用FPGA晶片內部之記憶體區塊來儲存所需之参考資料,可以有效減少硬體面積。在離散餘弦轉換方面,採用管線式的架構實現Loeffler之快速一維DCT演算法,使用FPGA晶片內之DSP區塊以實現快速之乘法器,並使用矩陣轉置緩衝器合併兩個一維DCT成為二維的DCT模組。在直流預測方面,使用規則之暫存器串列來儲存需要參考的直流值,可以有效減少控制的複雜度,同時和DCT及量化(Quantisation)模組整合以完成快速之轉換編碼(Transform Coding)流程。在整合上述之硬體模組設計出的編碼器,可以將視訊序列編碼成MPEG-4 Simple Profile之格式。


    The emerging MPEG-4 becomes the main standard of the video compression, and applies in many multimedia products. Therefore, how to design an efficiently MPEG-4 video encoder becomes the important topic. This thesis presents the hardware architecture design for MPEG-4 video coding system. Key modules include motion estimation, motion compensation, DCT, DC prediction and entropy coding.
    The proposed efficient architecture uses three-step block matching motion estimator, and utilize the embedded RAM on FPGA to reduce hardware size. The transform coding module use pipeline architecture to calculate coefficients, which integrate two Loeffler fast 1-D DCT into 2-D DCT module. The DC prediction module uses 4-block shift registers to store DC coefficients and generate predictor; its regularity can simplify control path and reduces memory access time. Our integrated coding system can encode well-known video sequences into MPEG-4 simple profile bitstream. We use software MPEG-4 decoder to verify our encoded bitstream and the test show our system work.

    中文摘要 -I 英文摘要 -II 誌  謝 -III 目 錄 -IV 圖索引 -VI 表索引 IX 式子索引 X 第一章 序言 1 1.1 研究動機與目的 1 1.2 論文內容架構 2 第二章 相關知識 3 2.1 色彩模式與取樣格式 3 2.1.1 色彩模式 3 2.1.1 取樣格式 3 2.2 動態估計 4 2.2.1 動態估計原理 5 2.2.2 完全搜尋法 6 2.2.3 三步搜尋法 8 2.3 離散餘弦轉換 9 2.4 量化 11 2.5 交流/直流成份預測 12 2.5.1 直流成份預測 12 2.5.1 交流成份預測 13 2.6 掃瞄 13 2.7 鏑編碼 14 2.7.1 以Huffman為基礎之預先統計編碼 14 2.8 MPEG-4視訊編碼系統概述 16 2.9 即時編碼系統的必要條件 19 第三章 MPEG-4視訊編碼系統硬體設計 20 3.1 動態預估器 20 3.2 動態補償模組 26 3.3 離散餘弦轉換模組 28 3.4 直流成份預測模組 31 3.5 重排掃瞄模組 35 3.6 鏑編碼器 37 3.7 編碼系統整合 43 3.7.1 I畫面編碼系統整合架構 44 3.7.2 P畫面編碼系統整合架構 46 第四章 系統模擬與驗證結果 48 4.1 驗證流程 48 4.2 模擬波形 49 4.3 編碼所需處理時間 50 4.4 壓縮畫面之結果 52 4.5 FPGA合成結果與動態預估器之硬體驗證 53 第五章 結論與未來發展方向 56 附錄A 參考文獻 57 附錄B 作者簡介 60 授 權 書 61

    [1] ISO/IEC JTC1/SC29/WG11, N2502a, “Generic Coding of Audio-Visual Objects: Visual 14 496-2,” Atlantic City, Final Draft IS, Dec. 1998.

    [2] T. Koga, K. Iinuma, A. Hirano, Y. Iijima, and T. Ishiguro, “Motion compensated interframe coding for video conferencing,” Proc. Nat. Telecommun. Conf., New Orleans, LA, pp. G5.3.1-G5.3.5, Dec. 1981.

    [3] Loeffler, C., Ligtenberg, A., Moschytz, G.S., “Practical fast 1-D DCT algorithms with 11 multiplications,” Acoustics, Speech, and Signal Processing (ICASSP), International Conference, pp. 23-26, May. 1989

    [4] Aggoun, A., Jalloh, I., “Two-dimensional DCT/IDCT architecture,” Computers and Digital Techniques, IEE Proceedings-Volume 150, Issue 1, 20 Jan. 2003

    [5] Mario Kovac, N. Ranganathan, “Jaguar : A Fully Pipelined VLSI Architecture for JPEG Image Compression Standard,” Proceedings of the IEEE
    Volume 83, Issue 2, Feb. 1995

    [6] Agostini L.V., Silva I.S., Bampi, S., “Pipelined Entropy Coders for JPEG Compression,” Integrated Circuits and Systems Design, Proceedings 15th Symposium,
    pp. 9-14, Sept. 2002

    [7] Hao-Chieh Chang, Liang-Gee Chen, Yung-Chi Chang and Sheng-Chieh Huang, “A VLSI architecture design of VLC encoder for high data rate video/image coding,” Circuits and Systems, ISCAS '99. Proceedings IEEE International Symposium on Volume 4,
    Jun. 1999

    [8] Peter Kuhn, Algorithms, Complexity Analysis And VLSI Architectures For MPEG-4 Motion Estimation, KLUWER ACADEMIC PUBLISHERS.

    [9] Iain E. G. Richardson, H.264 and MPEG-4 Video Compression – video coding for next-generation multimedia, JOHN WILEY publishes, 2003

    [10] Iain E. G. Richardson, Video Codec Design – developing image and video compression systems, JOHN WILEY publishes, 2002

    [11] Joan L. Mitchell, William B. Pennebaker, Chad E. Fogg, and Didier J. Legall, MPEG VIDEO COMPRESSION STANDARD, Library of Congress Cataloging-in-Publication Data,

    [12] David R. Smith, Paul D. Franzon, Verilog Styles for Synthesis of Digital Systems, Prentice Hall publishes, 2000

    [13] Her-Ming Jong, Liang-Gee Chen, Tzi-Dar Chiueh, “Parallel Architecture for 3-Step Hierarchical Search Block-Matching Algorithm,” IEEE Transactions on Circuits and System for Video Technology, Vol. 4, NO. 4, Aug. 1994

    [14] Yeong-Kang Lai, “A Memory Efficient Motion Estimator for Three Step Search Block-Matching Algorithm,” IEEE Transactions on Consumer Electronics, Vol. 47, NO. 3, Aug. 2001

    [15] Geng-Lin Chen, Jyh-Shin Pan, Jia-Lung Wang, “Video Encoder Architecture for MPEG2 Real Time Encoding,” IEEE Transactions on Consumer Electronics, Vol. 42, NO. 3, Aug. 1996

    [16] Yung-Chi Chang, Wei-Min Chao, Liang-Gee Chen, “LSI Design for MPEG-4 Coding System,” Circuits and Systems, MWSCAS '04, Volume 2, pp. 25-28 Jul. 2004

    [17] Alexis M. Tourapis, Oscar C. Au, Ming L. Liou, “Predictive Motion Vector Field Adaptive Search Technique (PMVFAST)- Enhancing Block Based Motion Estimation,” Visual Communications and Image Processing 2001 (VCIP-2001), San Jose, CA, 2001

    [18] 戴顯權, 資料壓縮, 紳藍出版社

    [19] 鍾國亮, 影像處理與電腦視覺, 東華書局

    [20] 鍾國亮, 資料壓縮的原理與應用, 全華書局

    [21] 鄭信源, Verilog 硬體描述語言數位電路設計實務, 儒林書局

    [22] 林銘波, FPGA System Design Class Notes, Department of Electronic Engineering National Taiwan University of Science and Technology, NTUST

    [24] htp://www.altera.com/ , Nios II Processor Reference Handbook

    [25] http://www.cipr.rpi.edu/resource/sequences/sif.html , Video Sequence下載

    [26] http://www.xvid.org/ , xvid source code網頁

    QR CODE