簡易檢索 / 詳目顯示

研究生: 陳豪成
Chen, Hao-Cheng
論文名稱: 以DSP為基礎之MP3解碼器的實現
Implementation of DSP-Based Decoder for MP3
指導教授: 何明字
Ho, Ming-Tzu
學位類別: 碩士
Master
系所名稱: 工學院 - 工程科學系
Department of Engineering Science
論文出版年: 2003
畢業學年度: 91
語文別: 中文
論文頁數: 76
中文關鍵詞: 解碼器MP3定點式數位訊號處理器
外文關鍵詞: decoder, fixed-point DSP, MP3
相關次數: 點閱:116下載:2
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • MPEG-1/Audio標準規格對高品質的數位音樂提供了三個層級的編解碼方式,其中又以第三層(MPEG-1/Audio Layer 3)的架構最複雜,但是在相同位元率下,以第三層的聲音品質和壓縮比為最佳,其中壓縮比可達到1:10 ~ 1:12。
    本論文主要針對MPEG-1/Audio Layer 3音訊標準來作研究,並於定點運算的數位訊號處理器晶片上實現一解碼器。實現的重點包含程式的撰寫、定點數的運算、高效率的運算法則,及於硬體平台上實現出一個可播放出音樂的解碼器。在程式的部分,我們以C語言搭配組合語言來撰寫,而硬體方面使用由德州儀器所開發的TMS320VC5402 DSK來實現,此DSK的核心是一顆定點式TMS320VC5402 DSP晶片。
    實現結果可發現以C語言撰寫的程式會使解碼器整體解碼效率變差,所以吾人針對解碼過程中運算量大及效率差的模組重新以組合語言撰寫,以改善執行效率。而為了達到即時的目的,吾人也針對這些運算大的模組提出一個改善效率的架構。實現結果證實可於數位訊號處理器上成功實現MPEG-1/Audio Layer 3音訊解碼器。

    The MPEG-1/Audio standard offers three levels for the compression of high quality digital audio. One of them is the MPEG-1/Audio Layer 3. It is the most complex scheme but provides best sound quality and compression ratio. The compression ratio can reach 1:10 ~ 1:12.
    In this thesis, a survey is first presented for the MPEG-1/Audio Layer 3 audio standard. The MP3 decoder is implemented on a fixed-point DSP chip. The key features of this decoder implementation include coding, fixed-point operation, and efficient algorithms. In coding, the algorithms of the decoder will be programmed in C and assembly. For the hardware, the MP3 decoder is developed on the TMS320C5402 DSK, which used a TMS320VC5402 DSP chip.
    Experiments show coding with C language gives bad efficiency of decoder’s performance. Therefore, those inefficient modules of the decoding process are rewritten in assembly. In order to achieve real-time processing, efficient algorithms are also proposed for those inefficient modules. Finally, it is shown that a MPEG-1/Audio decoder can be successfully implemented on a DSP chip.

    中文摘要 ................................I 英文摘要 ................................II 誌謝 ................................III 目錄 ................................IV 表目錄 ................................VII 圖目錄 ................................VIII 第一章 緒論 1-1 前言 ..............................1-1 1-2 數位訊號處理器 ....................1-2 1-3 研究動機 ..........................1-3 1-4 相關文獻回顧 ......................1-3 1-5 本文結構 ..........................1-3 第二章 MPEG-1/Audio Layer 3編/解碼原理 2-1 前言 ..............................2-1 2-2 MPEG-1/Audio Layer 3編碼原理 ......2-1 2-3 多重相位分解濾波器器 ..............2-2 2-4 離散餘弦轉換.......................2-3 2-5 重疊現象處理 ......................2-6 2-6 重新排列 ..........................2-7 2-7 神經模組 ..........................2-8 2-8 非均勻量化 ........................2-10 2-9 霍夫曼編碼 ........................2-11 2-10 附屬資訊編碼 .....................2-12 2-11 位元流的格式處理 .................2-12 2-12 MPEG-1/Audio Layer 3解碼原理 .....2-13 2-13 同步 .............................2-14 2-14 霍夫曼資訊解碼 ...................2-19 2-15 霍夫曼解碼 .......................2-21 2-16 解比例因子 .......................2-23 2-17 反量化 ...........................2-25 2-18 立體聲處理過程 ...................2-25 2-19 重新排列 .........................2-27 2-20 重疊現象處理 .....................2-27 2-21 反離散餘弦轉換 ...................2-28 2-22 多重相位合成濾波器 ...............2-29 第三章 硬體及軟體環境介紹 3-1 前言 ..............................3-1 3-2 硬體環境 ..........................3-1 3-3 軟體環境 ..........................3-5 第四章 架構實現與結果 4-1 前言 ..............................4-1 4-2 程式架構實現流程 ..................4-1 4-3 程式最佳化流程 ....................4-2 4-4 定點運算的實現 ....................4-5 4-5 實驗結果 ..........................4-9 第五章 一個有效率的架構實現與結果 5-1 前言 ..............................5-1 5-2 反離散餘弦轉換的改良架構 ..........5-1 5-3 多重相位合成濾波器模組之一有效架構 的改良 ............................5-6 5-4 一個有效率架構的實現結果 ..........5-8 第六章 結論與未來展望 6-1 結論 ..............................6-1 6-2 未來展望 ..........................6-1 參考文獻

    [1]D. Pan, “Digital Audio Compression,” Digital Technical Journal, Vol. 5, No. 2, pp. 28-40, 1993.
    [2]K. Sayood, “Introduction to Data Compression,” Morgan Kaufmann, The United States of America, 2000.
    [3]“Information Technology – Coding of Moving Picture and Associated Audio for Digital Storage Media at up to about 1.5Mbit/s - part 3:Audio,” ISO/IEC JTC1/SC29/WG11 MPEG, IS11172-3, 1992.
    [4]S. Shlien, “Guild to MPEG-1 Audio Standard,” IEEE Trans. on Broadcasting, Vol. 40, No. 4, pp. 206-218, 1994.
    [5]E. Ambikairajah, A. G. Davis, and W.T. K. Wong, “Auditory Masking and MPEG-1 Audio Compression,” Journal of Electronics and Communication Engineering, Vol. 94, pp. 165-175, 1997.
    [6]TMS320C54x DSP Reference Set, Volume 1:CPU and Peripherals (SPRU131G), Texas Instruments, 2001.
    [7]C. D. Murphy and K. Anandakumar, “Real-Time MPEG-1 Audio Coding and Decoding on a DSP,” IEEE Tran. on Consumer Electronics, Vol. 43, No. 1, pp. 40-47, 1997.
    [8]H. W. Lin, “Implementation of MP3 Multimedia System with Hardware/Software Co-design on SoC Development Platorm,” Mater Thesis of National Cheng Kung University, Taiwan, 2002.
    [9]B. G. Lee, “A new Algorithm to Compute the Discrete Cosine Transform,” IEEE Trans. on Acoustics, Speech, and Signal Processing, Vol. ASSP-32, pp. 1243-1245, 1984.
    [10]V. Britanak and K. R. Rao, “An Efficient Implementation of the Forward and Inverse MDCT in MPEG Audio Coding,” IEEE Signal Processing Letters, Vol. 8, No. 2, pp. 48-51, 2001.
    [11]T. Sakamot, M. Taruki, and T. Hase, “A Fast MPEG-Audio Layer III Algorithm for A 32-Bit MCU,” IEEE Trans. on Consumer Electronics, Vol. 45, No. 3, pp. 986-993, 1999.
    [12]K. Brandenburg and H Popp, “An introduction to MPEG Layer-3,” Fraunhofer Institutfur Integrierte Schaltungen (IIS), EBU TECHNICAL REVIEW, 2000.
    [13]D. Pan, “A Tutorial on MPEG/Audio Compression,” IEEE Multimedia, Vol. 2, No. 2, pp. 60-74, 1995.
    [14]W. H. Chang, “Implementation of MPEG-1 Audio Codec in MATLAB Environment,” Master Thesis of National Cheng Kung University, Taiwan, 2001.
    [15]K. Salomonsen, S. Søgaard, and E. P. Larsen, “Design and Implementation of an MPEG/Audio Layer III Bitstream Processor,” Aalborg University, Denmark, 1997.
    [16]TMS320C5402 DSK Help (SPRH075A), Texas Instruments, 2000.
    [17]TMS320C54x Code Composer Studio Tutorial (SPRU327C), Texas Instruments, 2000.
    [18]Code Compser Studio User’s Guide (SPRU328B), Texas Instruments, 2000.
    [19]J. Jiang, “General Guide to Implement Logarithmic and Exponential Operations on a Fixed-Point DSP,” Texas Instruments Application Report, 1999.
    [20]H. C. Lai, “Real-Time Implementation of MPEG-1 Layer 3 Audio Decoder on a DSP Chip,” Master Thesis of National Chiao Tung University, Taiwan, 2001.
    [21]胡竹生、賴鴻志、張勝凱,「TMS320C54xx DSP 晶片原理與應用」,全華,民國九十年。

    下載圖示 校內:2004-08-28公開
    校外:2004-08-28公開
    QR CODE