| 研究生: |
陳豪成 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.
[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 晶片原理與應用」,全華,民國九十年。