鄭士康臺灣大學:電機工程學研究所王奕謙Wang, Yi-ChienYi-ChienWang2007-11-262018-07-062007-11-262018-07-062007http://ntur.lib.ntu.edu.tw//handle/246246/53255MP3是現今最流行的音樂檔案格式,隨著各式各樣的行動裝置出現,MP3不只是能在電腦上播放與壓縮,播放MP3的產品在日常生活中已是隨處可見的數位產品,而具有將音樂壓縮編碼成MP3的消費性電子產品也因嵌入式系統的日益發達而有了更多的發揮空間。 本論文將一套開放原始碼的MP3 編碼器從PC 上實作到嵌入式系統上,利用Linux當作嵌入式系統的作業系統,主要以定點數取代浮點數運算的方法來加快執行速度,附帶進行數學函式的化簡,簡化analysis filter的演算法和去掉aliasing reduction,使執行更快速。本論文著重在加速的方法與得到的效能改進,所得聲音因加速處理而稍微有些雜訊不是此論文重點。最後把加速前後的速度作一比較。MP3 is now the most popular music format. With the appearance of various mobile devices, MP3 is not only played and compressed on the computer. The digital products which played MP3 have been everywhere in the daily life. Because of the development of the embedded system, the commercial electronic products which used in music compress encoding can make further progress. This thesis implements an open source MP3 Encoder on an embedded system. With Linux as the operating system in the embedded system, the fixed point operation is used to increase the executing speed. Besides, the simplification of math functions and algorithms of analysis filter and the reduction of aliasing reduction are also applied to accelerate further. This thesis focuses on the method of speeding up the program in the embedded system. The noise of sound caused by acceleration is not a key point of this thesis. Finally, I will compare the results before and after the acceleration..第一章 緒論................................................1 1.1 研究背景與動機......................................1 1.2 文獻回顧............................................1 1.3 章 節概述............................................2 第二章 MP3編碼理論.........................................3 2.1 數位音訊處理........................................5 2.2 分析子頻帶濾波器....................................6 2.3 改良式離散餘弦轉換(MDCT)............................8 2.4 聲響心理模型.......................................11 2.5 位元分配及量化.....................................19 2.6 位元串格式.........................................26 第三章 嵌入式Linux........................................31 3.1 SOC嵌入式 Linux的發展與系統架構....................31 3.2 系統開發版.........................................36 3.3嵌入式 Linux的開發環境.............................40 3.4嵌入式 Linux的檔案系統.............................43 第四章 系統實作與效能加速.................................47 4.1 MP3編碼器實作......................................47 4.2 定點數運算.........................................48 4.3 數學運算函式的化簡.................................50 4.4 演算法化簡.........................................52 4.5 MP3編碼過程化簡....................................55 4.6 效能探討...........................................56 第五章 結論...............................................58 參考文獻..................................................591228219 bytesapplication/pdfen-US編碼量化浮點數定點數嵌入式系統MP3encoderMDCTquantizeembedded linuxMP31編碼器在嵌入式Linux上的實作與效能實作Acceleration of an MP3 Audio Encoder Implemented on Embedded Linuxthesishttp://ntur.lib.ntu.edu.tw/bitstream/246246/53255/1/ntu-96-R93921091-1.pdf