| 研究生: |
林文生 Lin, Wen-Sheng |
|---|---|
| 論文名稱: |
MPEG-2視訊播放器實現及其H.264/AVC轉碼器之設計 MPEG-2 Video Player Realization And It’s H.264/AVC Transcoder |
| 指導教授: |
楊家輝
Yang, Jar-Ferr |
| 學位類別: |
碩士 Master |
| 系所名稱: |
電機資訊學院 - 電腦與通信工程研究所 Institute of Computer & Communication Engineering |
| 論文出版年: | 2005 |
| 畢業學年度: | 93 |
| 語文別: | 中文 |
| 論文頁數: | 87 |
| 中文關鍵詞: | MPEG-2 、H.264 、解碼器 、轉碼器 |
| 外文關鍵詞: | MPEG-2, transcoder, decoder, H.264 |
| 相關次數: | 點閱:67 下載:1 |
| 分享至: |
| 查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
MPEG-2視訊播放器實現及其H.264/AVC轉碼器之設計
林文生 楊家輝
國立成功大學 電腦與通信工程研究所
摘要
本論文主要分為兩部分,其一主要是研究在德州儀器公司出產之DM270系統單晶片,設計出一個適合於嵌入式系統下之MPEG-2視訊解碼韌體系統。欲在DSP端實現本系統必須克服嚴格記憶體限制、平行化及加速指令效率等問題。本系統的實現,首先把關鍵的程式改以組合語言撰寫,接著使用系統單晶片中的共工處理器來加速,並利用硬體與記憶體的平行化,以達到即時解碼的效能。實驗結果顯示MPEG-2播放系統在CIF與QVGA影像大小下可達到即時解碼的效能。
另一部份,本論文也針對MPEG-2轉H.264/AVC轉碼器之設計提出快速演算法加速其轉碼流程,本論文主要利用MPEG-2解碼時獲得的資料來加速H.264/AVC編碼。基於離散餘弦轉換的快速4x4區塊intra預測演算法可加速4x4區塊在做非直流預測時模式的決定,快速Inter動態預測演算法則可加速7種Inter區塊模式的決定。
MPEG-2 Video Player Realization And It’s H.264/AVC Transcoder
Wen-Sheng Lin and Jar-Ferr Yang
Institute of Computer and Communication Engineering
National Chen Kung University
No.1 University Road, Tainan, Taiwan, R.O.C.
ABSTRACT
In this first part of the thesis, the DM270 System-on-a-Chip (SoC) manufactured from Texas Instruments (TI) is our mainly research, and designing a firmware system of the MPEG-2 video decoder suitable for an embedded system. When implementing this system at DSP side, we encounter three problems and have to overcome, such as strictly limited memory space, parallelization, and the efficiency of accelerative instructions. In the beginning, the crucial C codes in our system were re-written as assembly codes. Then, several coprocessors of the SoC help us to accelerate the MPEG-2 decoder, and parallelizing hardware and memories to achieve the real-time decoding. The simulation results show that performance of MPEG-2 video on demand player reaching the CIF and QVGA size images in real-time decoding.
In this second part of the thesis, we also design a fast MPEG-2 to H.264/AVC transcoder. When MPEG-2 decoder decodes stream we get some useful data, and then we use them to accelerate H.264/AVC encoder to encode. DCT-Based Fast 4x4 Block Intra Prediction can help us accelerate the mode decision of 4x4 block AC prediction ;Fast Inter Motion Prediction can accelerate the decision of seven inter prediction mode.
[1] Wallace, G.K ,”The JPEG still picture compression standard”,Consumer
Electronics, IEEE Transactions on Volume 38, Issue 1, Feb. 1992
[2] Geng-Lin Chen; Jyh-Shin Pan; Jia-Lung Wang;”Video encoder architecture
for MPEG2 real time encoding”,Consumer Electronics, IEEE Transactions
on Volume 42, Issue 3, Aug. 1996 Page(s):290 - 299
[3] Cheol-Hong Min; Sanghee Cho; Kyoung Won Lim; Heesub Lee; “ new
adaptive quantization method to reduce blocking effect”,Consumer
Electronics, IEEE Transactions on Volume 44, Issue 3, Aug. 1998
Page(s):768 - 773
[4] Tudor, P.N.;”MPEG-2 video compression”Electronics & Communication
Engineering Journal Volume 7, Issue 6, Dec 1995 Page(s):257 – 264
[5] I-Ming Pao; Ming-Ting Sun;Modeling;”DCT coefficients for fast video
encoding”,Circuits and Systems for Video Technology, IEEE Transactions on
Volume 9, Issue 4, June 1999 Page(s):608 - 616
[6] 廖恪應,”網路MPEG-4 視訊點播器於系統晶片上之實現”,碩士論文—國立
成功大學電機工程研究所,民93年
[7] Kim, Y.-H.; Yoo, J.-W.; Lee, S.-W.; Shin, J.; Paik, J.; Jung, H.-K.;”
Adaptive mode decision for H.264 encoder”,Electronics Letters Volume 40,
Issue 19, 16 Sept. 2004 Page(s):1172 – 1173
[8] Sullivan, G.J.; Wiegand, T.;”Video Compression - from concepts to the
H.264/AVC standard”Proceedings of the IEEE Volume 93, Issue 1, Jan
2005 Page(s):18 - 31
[9] Jinghong Zheng; Lap-Pui Chau;”Error-concealment algorithm for H.26L
using first-order plane estimation”,Multimedia, IEEE Transactions on
Volume 6, Issue 6, Dec. 2004 Page(s):801 - 805
[10] Mei-Juan Chen; Ming-Chung Chu; Chih-Wei Pan;”Efficient motion
estimation algorithm for reduced frame-rate video transcoder”, Circuits
and Systems for Video Technology, IEEE Transactions on Volume
12, Issue 4, April 2002 Page(s):269 - 275
[11] Vetro, A.; Christopoulos, C.; Huifang Sun;”Video transcoding
architectures and techniques: an overview”, Signal Processing Magazine,
IEEE Volume 20, Issue 2, March 2003 Page(s):18 – 29
[12]Yap-Peng Tan; Haiwei Sun;”Fast motion re-estimation for arbitrary
downsizing video transcoding using H.264/AVC standard”,Consumer
Electronics, IEEE Transactions on Volume 50, Issue 3, Aug. 2004 Page
(s):887 - 894
[13] Kai-Tat Fung; Yui-Lam Chan; Wan-Chi Siu;”Low-complexity and high-quality
frame-skipping transcoder for continuous presence multipoint video
conferencing”,Multimedia, IEEE Transactions on Volume 6, Issue 1, Feb.
2004 Page(s):31 - 46
[14] Peng Yin; Vetro, A.; Bede Liu; Huifang Sun;”Drift compensation for
reduced spatial resolution transcoding”,Circuits and Systems for Video
Technology, IEEE Transactions on Volume 12, Issue 11, Nov. 2002 Page
(s):1009 - 1020
[15] YongQing Liang; Lap-Pui Chau; Yap-Peng Tan;”Arbitrary downsizing video
transcoding using fast motion vector reestimation”, Signal Processing
Letters, IEEE Volume 9, Issue 11, Nov. 2002 Page(s):352 - 355
[16] Kan-Li Huang; Yi-Shin Tung; Ja-Ling Wu; Po-Kang Hsiao; Hsien-Shuo Chen;”
A frame-based MPEG characteristics extraction tool and its application in
video transcoding”,Consumer Electronics, IEEE Transactions on Volume 48 ,
Issue 3, Aug. 2002 Page(s):522 - 532
[17] Haiyan Shu; Lap-Pui Chau;”An efficient arbitrary downsizing algorithm
for video transcoding”, Circuits and Systems for Video Technology, IEEE
Transactions on Volume 14, Issue 6, June 2004 Page(s):887 - 891
[18] Sostawa, B.; Dannemann, T.; Speidel, J.;”DSP-based transcoding of
digital video signals with MPEG-2 format”,Consumer Electronics, IEEE
Transactions on Volume 46, Issue 2, May 2000 Page(s):358 - 362
[19] Assuncao, P.A.A.; Ghanbari, M.;”Buffer analysis and control in CBR video
transcoding”,Circuits and Systems for Video Technology, IEEE Transactions
on Volume 10, Issue 1, Feb. 2000 Page(s):83 - 92
[20] Jun Xin; Ming-Ting Sun; Byung-Sun Choi; Kang-Wook Chun;”An HDTV-to-SDTV
spatial transcoder Circuits and Systems for Video Technology, IEEE
Transactions on Volume 12, Issue 11, Nov. 2002 Page(s):998 - 1008