簡易檢索 / 詳目顯示

研究生: 林義凱
Lin, Yi-Kai
論文名稱: 強健型MPEG-2/MPEG-4/XviD多模式視訊解碼晶片設計
VLSI design of a Robust Tri-mode MPEG-2/MPEG-4/XviD Video Decoder
指導教授: 蘇文鈺
Su, W.Y Alvin
學位類別: 碩士
Master
系所名稱: 電機資訊學院 - 資訊工程學系
Department of Computer Science and Information Engineering
論文出版年: 2006
畢業學年度: 94
語文別: 中文
論文頁數: 71
中文關鍵詞: 解碼器強健形容錯
外文關鍵詞: robust, MPEG2, MPEG4, XviD, Decoder, Error Dectection
相關次數: 點閱:101下載:1
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 從MPEG-2和MPEG-4/XivD的解碼過程中,不難發現三者的解碼使用了很多相同的技術,例如:IDCT (Inverse Discrete Consine Transform)、反量化(De-Quantization)、可變動長度編碼 (Variable Length Coding),Macro block一樣可分為intra和inter (non-intra)兩種模式,一樣有移動向量 (Motion Vector)等。其中的差異,只是在於MPEG-2和MPEG-4的反量化的參數不一像,可變動長度編碼的編碼順序不同......等。我們要實現的,是把三種解碼器整合,根據輸入的數位影像資料的不同,啟動對應的解碼器控制程序,目的在於使用大部份重複的元件中,發揮彼此間的最大效用。
    當資料遺失的狀況發生時,為了讓解碼器順利工作,必須使用一些限制和技巧來處理,例如:限制反量化後的值的大小,可變動長度編碼的錯誤判斷,移動向量的合理範圍等。我們實做容錯的目的,在於讓解碼器能順利的解完所有影像,不會使系統在工作到一半時而停止運作。

    The technology behind the MPEG-2 and the MPEG-4/XviD shows us some similar skills, including IDCT, de-quantization, variable length coding, motion vector, as well as macro block involving two modes, intra and inter (non-intra). Setting up the
    correct parameter for each decoding process, the decoder will run the control path and finish decoding process depends on the input bit-stream data after we merge these two decoding functional unit for the largest efficient.
    In order to prevent decoding process crashing, it must employ some constrained rules and skills, the range of the values after de-quantization, the error detection of the variable length coding and the validation of motion vectors. We implement the error handler reach the goal for decoding overall input bit-stream data and see what it decoded.

    第一章 緒論.................................................................................................................3 1.1 MPEG-4/XivD 解碼器簡介...................................................................6 1.2 MPEG-2 解碼器簡介............................................................................6 1.3 研究動機...............................................................................................7 1.4 容錯........................................................................................................7 第二章 MPEG-4/XviD ..................................................................................................9 2.1 Decode I VOP .........................................................................................9 2.1.1 Macro Block Mode ..............................................................................9 2.1.2 Coded Block Pattern ..........................................................................10 2.1.3 Decode Intra Macro Block ................................................................. 11 2.1.4 Decode Intra DC................................................................................12 2.1.5 DC Prediction....................................................................................14 2.1.6 AC Prediction....................................................................................15 2.1.7 Decode Block Coeff ..........................................................................16 2.1.8 Escape Code ......................................................................................23 2.1.9 De-Quantization ................................................................................26 2.2 Decode P VOP ......................................................................................28 2.2.1 Motion Vector Prediction...................................................................29 2.2.2 Motion Vector ...................................................................................30 2.3 Decode B VOP ......................................................................................33 第三章 MPEG-2 ..........................................................................................................35 3.1 Decode Header ......................................................................................35 3.2 Decode_Slice.........................................................................................38 3.2.1 Start_of_Slice ....................................................................................38 3.3 Decode MB ...........................................................................................41 3.3.1 Decode Motion Vectors .....................................................................42 3.3.2 Motion Vector Prediction...................................................................43 3.3.3 Coded Block Pattern ..........................................................................44 3.3.4 Decode Block ....................................................................................46 3.3.5 Decode AC Coefficient......................................................................48 3.3.6 De-Quantization ................................................................................53 3.4 Motion Compensation............................................................................54 3.4.1 half pixel ...........................................................................................54 第四章 實做和驗證...................................................................................................55 4.1 軟體....................................................................................................55 4.2 硬體....................................................................................................57 4.2.1 MPEG-4 和MPEG-2 整合..............................................................57 4.2.2 Pipeline ...........................................................................................59 4.3 驗證....................................................................................................61 4.3.1 方式..............................................................................................61 4.3.2 結果..............................................................................................62 第五章 容錯及結果...................................................................................................63 5.1 MPEG4/XviD........................................................................................63 5.1.1 VLC table........................................................................................63 5.1.2 Run .................................................................................................66 5.1.3 De-Quantization ..............................................................................67 5.1.4 Boundary Extension.........................................................................67 5.1.5 Validate Motion Vector ...................................................................68 5.2 MPEG2 .................................................................................................69 第六章 結論...............................................................................................................70

    [1] Weiping Li, Jens-Rainer Ohm, Mihaela van der Schaar, Hong Jiang,
    Shipeng Li,ISO/IEC JTC1/SC29/WG11 N3908 MPEG-4 Video Verification
    Model version 18.0 January 2001
    [2] (ISO/IEC 14496-2): Information Technology Coding of Audio-Visual
    Objects. Visual: A compression codec for visual data (video, still
    textures, synthetic images, etc.). March 1998.
    [3] ISO/IEC 13818-2 Information technology -- Generic coding of moving
    pictures and associated audio information: Video
    [4] Li-Hsun Chen; Wei-Lung Liu; Chen, O.T-C; Ruey-Liang Ma; “A
    reconfigurable digital signal processor architecture for
    high-efficiency MPEG-4 video encodingMultimedia and Expo, 2002.
    ICME 02. Proceedings. 2002 IEEE International Conference on, Vol.2
    pp22-29 Aug.2002.
    [5] W.Chen, Smith C., Fralick S., “ A Fast Computational Algorithm for
    the Discrete Cosin TransformIEEE Trans. Commun. , Vol. COM-25,
    pp1004-1009, Sept,1997.
    [6] Vijay K. Madisetti “VLSI Digital Signal Processors, An Introduction
    to Rapid Prototyping and Design Synthesis ISBN 0-7506-9406-8
    [7] Khalid Sayood “Introduction to Data Compression ISBN 1-55860-558-4
    [8] http://www.xvid.org/ Official site of XviD.
    [9] http://www.mpeg.org/ The Reference Website for MPEG.

    下載圖示 校內:2008-08-21公開
    校外:2008-08-21公開
    QR CODE