Skip navigation

DSpace

機構典藏 DSpace 系統致力於保存各式數位資料(如:文字、圖片、PDF)並使其易於取用。

點此認識 DSpace
DSpace logo
English
中文
  • 瀏覽論文
    • 校院系所
    • 出版年
    • 作者
    • 標題
    • 關鍵字
    • 指導教授
  • 搜尋 TDR
  • 授權 Q&A
    • 我的頁面
    • 接受 E-mail 通知
    • 編輯個人資料
  1. NTU Theses and Dissertations Repository
  2. 電機資訊學院
  3. 資訊工程學系
請用此 Handle URI 來引用此文件: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/34124
完整後設資料紀錄
DC 欄位值語言
dc.contributor.advisor吳家麟(Ja-Ling Wu)
dc.contributor.authorSheng-Kai Linen
dc.contributor.author林聖凱zh_TW
dc.date.accessioned2021-06-13T05:55:08Z-
dc.date.available2008-07-05
dc.date.copyright2006-07-05
dc.date.issued2006
dc.date.submitted2006-06-30
dc.identifier.citation[1] I. Rec, 'H. 264 & ISO/IEC 14496-10 AVC, Advanced video coding for generic audiovisual services,' ITU-T, May, 2003.
[2] J. Ostermann, J. Bormans, P. List, D. Marpe, M. Narroschke, F. Pereira, T. Stockhammer, and T. Wedi, 'Video coding with H. 264/AVC: tools, performance, and complexity,' Circuits and Systems Magazine, IEEE, vol. 4, no. 1, pp. 7{28, 2004.
[3] M. Horowitz, A. Joch, F. Kossentini, and A. Hallapuro, 'H. 264/AVC baseline profile decoder complexity analysis,' Circuits and Systems for Video Technology, IEEE Transactions on, vol. 13, no. 7, pp. 704{716, 2003.
[4] X. Zhou, E. Li, and Y. Chen, 'Implementation of H. 264 Decoder on General-Purpose Processors with Media Instructions,' Proceedings of SPIE Conference on Image and Video Communications and Processing, vol. 5022, 2003.
[5] S. Wang, Y. Yang, C. Li, Y. Tung, and J. Wu, 'The optimization of H. 264/AVC baseline decoder on low-cost TriMedia DSP processor,' Proceedings of SPIE, vol. 5558, p. 524, 2004.
[6] T. Wedi, 'Motion Compensation in H. 264/AVC,' IEEE Trans. Circuits Syst. Video Technol, vol. 13, no. 7, pp. 577{586, 2003. 104
[7] T. Wedi and H. Musmann, 'Motion-and aliasing-compensated prediction for hybrid video coding,' Circuits and Systems for Video Technology, IEEE Transactions on, vol. 13, no. 7, pp. 577{586, 2003.
[8] H. Malvar, A. Hallapuro, M. Karczewicz, and L. Kerofsky, 'Low-complexity transform and quantization in H. 264/AVC,' Circuits and Systems for Video Technology, IEEE Transactions on, vol. 13, no. 7, pp. 598{603, 2003.
[9] P. List, A. Joch, J. Lainema, G. Bjntegaard, and M. Karczewicz, 'Adaptive deblocking ‾lter,' Circuits and Systems for Video Technology, IEEE Transactions on, vol. 13, no. 7, pp. 614{619, 2003.
[10] S. W. Golomb, 'Run-Length Encoding,' IEEE Trans. on Information Theory, vol. 12, pp. 399{401, 1966.
[11] G. Bjontegaard and K. Lillevold, 'Context-Adaptive VLC Coding of Coe±cients,' JVT Document JVT-C028, Fairfax, VA, May, 2002.
[12] D. Marpe, H. Schwarz, and T. Wiegand, 'Context-based adaptive binary arithmetic coding in the H. 264/AVC video compression standard,' Circuits and Systems for Video Technology, IEEE Transactions on, vol. 13, no. 7, pp. 620{636, 2003.
[13] J. Jain and A. Jain, 'Displacement Measurement and Its Application in Interframe Image Coding,' IEEE Transactions on Communications, vol. 29, no. 12, pp. 1799{1808, 1981.
[14] M. Ghanbari, 'The cross-search algorithm for motion estimation,' IEEE Trans. Commun, vol. 38, no. 7, pp. 950{953, 1990. 105
[15] T. Koga, K. Iinuma, A. Hirano, Y. Iijima, and T. Ishiguro, 'Motion compensated interframe coding for video conferencing,' Proc. Nat. Telecommun. Conf, vol. 5, no. 3, pp. 1{5, 1981.
[16] S. Zhu and K. Ma, 'A new diamond search algorithm for fast block-matching motion estimation,' IEEE Transactions on Image Processing, vol. 9, no. 2, pp. 287{290, 2000.
[17] P. Hosur and K. Ma, 'Motion Vector Field Adaptive Fast Motion Estimation,' Second International Conference on Information, Communications and Signal Processing (ICICS99), pp. 7{10, 1999.
[18] K. Ma and P. Hosur, 'Performance Report of Motion Vector Field Adaptive Search Technique (MVFAST),' ISO/IEC JTC1/SC29/WG11 MPEG99/m5851.
[19] X. Li, E. Li, and Y. Chen, 'Fast multi-frame motion estimation algorithm with adaptive search strategies in H. 264,' Proceedings of IEEE International Conference on Acoustics, Speech, and Signal Processing, 2004.(ICASSP'04)., vol. 3, 2004.
[20] M. C. C.T. Hsu, H.J. Li, 'Fast reference frame selection method for motion estimation in JVT/H. 264,' IEICE transactions on communications, 2004 - Communications Society, 2004.
[21] M. Chen, Y. Chiang, H. Li, and M. Chi, 'E±cient multi-frame motion estimation algorithms for MPEG-4 AVC/JVT/H. 264,' Proceedings of the International Symposium on Circuits and Systems, 2004. (ISCAS'04.), vol. 3, 2004.
[22] J. Youn, M. Sun, and C. Lin, 'Motion vector re‾nement for high-performance transcoding,' IEEE Transactions on Multimedia, vol. 1, no. 1, pp. 30{40, 1999. 106
[23] M. Chen, M. Chu, and C. Pan, 'E±cient motion-estimation algorithm for reduced frame-rate video transcoder,' IEEE Transactions on Circuits and Systems for Video Technology, vol. 12, no. 4, pp. 269{275, 2002.
[24] G. Bjontegaard, 'Calculation of average PSNR diRerences between RD-curves,' ITU-T Q, vol. 6, p. 16.
[25] G. Sullivan and G. Bjontegaard, 'Recommended Simulation Common Conditions for H. 26L Coding E±ciency Experiments on Low-Resolution Progressive-Scan Source Material,' document VCEG-N81, ITU-T Video Coding Experts Group (VCEG) Meeting, Santa Barbara, CA, USA, pp. 24{27, 2001.
[26] Z. Zhou, S. Sun, S. Lei, and M. Sun, 'Motion information and coding mode reuse for MPEG-2 to H. 264 transcoding,' IEEE International Symposium on Circuits and Systems, 2005. ISCAS 2005., pp. 1230{1233, 2005.
[27] W. Choi, B. Jeon, and J. Jeong, 'Fast motion estimation with modified diamond search for variable motion block sizes,' Proceedings of International Conference on Image Processing, 2003., vol. 2, 2003.
[28] Z. Zhou, M. Sun, and Y. Hsu, 'Fast variable block-size motion estimation algorithm based on merge and slit procedures for H. 264/MPEG-4 AVC,' Proceedings of the International Symposium on Circuits and Systems, 2004. ISCAS'04., vol. 3, 2004.
[29] L. Yang, K. Yu, J. Li, and S. Li, 'Prediction-based directional fractional pixel motion estimation for H. 264 video coding,' Proceedings of IEEE International Conference on Acoustics, Speech, and Signal Processing, 2005. (ICASSP'05)., vol. 2, 2005. 107
[30] K. Shen, L. Rowe, and E. Delp, 'A Parallel Implementation of an MPEG-1 Encoder: Faster than Real-Time,' SPIE Conference on Digital Video Compression: Algorithms and Techniques, 1995.
[31] K. Shen and E. Delp, 'A spatial-temporal parallel approach for real-time MPEG Video compression,' Image Compression and Graphics, pp. 100{107, 1996.
[32] S. Ge, X. Tian, and Y. Chen, 'E±cient multithreading implementation of H. 264 encoder on Intel hyper-threading architectures,' Information, Communications and Signal Processing, 2003 and the Fourth Pacific Rim Conference on Multimedia. P roceeding of the 2003 Joint Conference of the Fourth International Conference on, vol. 1, pp. 469{473, 2003.
[33] Y. Chen, E. Li, X. Zhou, and S. Ge, 'Implementation of H. 264 Encoder and Decoder on Personal Computers,' J. VCIR, pp, vol. 17, 2006.
[34] W. Lin, K. Goh, B. Tye, G. Powell, T. Ohya, and S. Adachi, 'Real time H. 263 video codec using parallel DSP,' Proc. IEEE International Conference on Image Processing, pp. 586{589, 1997.
[35] C. Chiu, C. Tseng, and C. Tsai, 'Tightly-coupled MPEG-4 video encoder framework on asymmetric dual-core platforms,' Circuits and Systems, 2005. ISCAS 2005. IEEE International Symposium on, pp. 2132{2135, 2005.
[36] S. Balakrishnan, R. Rajwar, M. Upton, and K. Lai, 'The impact of performance asymmetry in emerging multicore architectures,' Computer Architecture, 2005. ISCA'05. Proceedings. 32nd International Symposium on, pp. 506{517, 2005. 108
[37] L. Dagum and R. Menon, 'OpenMP: an industry standard API for shared-memory programming,' Computational Science and Engineering, IEEE [see also Computing in Science & Engineering], vol. 5, no. 1, pp. 46{55, 1998.
[38] G. Open, 'Architecture Review Board,' Woo M., Neider J., Davis T., Shreiner D.: OpenGL Programming Guide: The O±cial Guide to Learning OpenGL, Version, vol. 1.
dc.identifier.urihttp://tdr.lib.ntu.edu.tw/jspui/handle/123456789/34124-
dc.description.abstractMPEG-4 AVC/H.264 是現今最先進的影像編碼技術。相較於昔之技藝,MPEG-4 AVC/H.264可節省大約50%的儲存空間並且提供更優良的視覺效果。然而在達到更優秀壓縮效能的同時,MPEG-4 AVC/H.264需要更高的計算複雜度。根據運算時間的分析結果顯示:在高解析(High Definition)的影片中,移動估測(Motion Estimation)使用了超過百分之75以上的計算量。因此,在本論文中,我們探討如何降低移動估測中各個編碼工具(Coding Tools)的複雜度。在MPEG-4 AVC/H.264中,移動估測使用了相當多先進的編碼工具,包括多重參考畫面(Multiple Reference Frame),可變動區塊大小(Variable Block Size),以及1/4像素精準度的移動向量(1/4 pixel motion vector)。針對多重參考畫面,我們利用空間中相鄰畫面間的相關性設計出一快速演算法,可減低計算的複雜度並保留此編碼工具的優點。此外,針對其他編碼工具,我們探討並實做不同演算法來降低運算的複雜度,並藉以瞭解不同演算法在高解析度的影像下,壓縮效果的差異。藉由上述的方法,移動估測的計算複雜度下降至整體編碼時間的38%,而整體編碼時間則加速了14倍,此外這些的加速方法僅帶來些微的畫質衰退或壓縮比的降低。
隨著各種不同應用的需求,多核心的處理器架構逐漸被廣泛的採用。在嵌入式系統中,非對襯型處理器架構被用以來處理不同性質的工作; 而對襯型處理器則被視為下一代個人電腦的主流。然而,一般的影像編碼器僅為單執行緒,無法使用多核心處理器的優點,因此本論文著重於多核心影像壓縮技術的研發。傳統的多核心壓縮著重於同時處理不同的資料,譬如:Slice ;然而這種方式通常適用於對襯型處理器。為了適用於非對襯處理器,我們分析影像壓縮的流程,探索各項工作間的相關性而設計出一平行處理不同編碼工具的架構(Function parallel scheme)。此外,我們亦結合昔之同時處理不同資料的技術,提出一混合的架構(Hybrid parallel scheme),可提高在對襯架構下的效能。我們所提出的兩種架構可提高MPEG-4 AVC/H.264在多核心架構下編碼的效能,並且不增加系統資源的使用量。
zh_TW
dc.description.abstractThe latest video coding standard, MPEG-4 AVC/H.264, achieves better coding performance than prior codec. As compared to MPEG-4, H.263, and MPEG-2, MPEG-4 AVC/H.264 saves about 37%, 48%, and 64% bit rate, respectively. However, the better performance is contributed by advanced coding tools which result in higher computation complexity. And the higher complexity limits the application scenarios. According to the time profiling analysis, temporal domain prediction takes about 75% execution time on HD resolution videos. Therefore, our work accelerates the temporal prediction via several efficient algorithms without serious side effects. First, we propose a fast algorithm for multiple reference frames based on correlations between temporal adjacent frames. In addition, several simplification methods for block-matching, variable block size motion search, and fractional pixel search are studied and implemented to reduce the required computation load. While those algorithms are applied, the temporal prediction requires only 38% of the computation load. Besides, as compared to the H.264/AVC reference software, our encoder achieves about 12X speed up without inducing serious quality degradation and compression ratio drop.
Nowadays, the multi-core processor architecture becomes more and more popular and is widely adopted in many areas. In the embedded systems, asymmetry multi-core processors are applied to complete tasks with different attributes while symmetry multi-core processors are considered the next generation of CPU on personal computers (PCs). However, the common H.264 encoders are single-threaded and can not take the advantage of multi-core processors and therefore, several parallel schemes have been proposed. The traditional methods aim to manipulate multiple data sets, such as slices, in parallel but are only applicable on symmetry architectures. In our work, we exploit the dependency relationship between coding tools and design a function parallel scheme for asymmetry architectures. Furthermore, we utilize a wave-front macroblock encoding order to avoid the inter-dependency between data sets and propose a hybrid parallel scheme applicable for both symmetry and asymmetry architectures. With the proposed schemes, the encoding process is further accelerated.
en
dc.description.provenanceMade available in DSpace on 2021-06-13T05:55:08Z (GMT). No. of bitstreams: 1
ntu-95-R93922010-1.pdf: 4743373 bytes, checksum: 79fa3ca8fd3c0cc8eb7d2b614fa6ded9 (MD5)
Previous issue date: 2006
en
dc.description.tableofcontents1 Introduction : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 1
1.1 Background . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 Encoder Optimization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.3 Software-based Encoder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.4 Multi-threaded Encoder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.5 Thesis Organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2 H.264/AVC Coding Tools Overview : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 9
2.1 Pro‾les and Levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.2 Temporal Domain Prediction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.2.1 Multiple Reference Frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.2.2 Variable Block Size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.2.3 Quarter-Pixel Displacement Accuracy . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.3 Spatial Domain Prediction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.4 Transform and Quantization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.5 Adaptive Deblocking Filter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2.6 Entropy Coding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
2.6.1 Exponential-Golomb Entropy Coding . . . . . . . . . . . . . . . . . . . . . . . . . 22
2.6.2 Context-based Adaptive Variable Length Coding . . . . . . . . . . . . . . . . . . . 23
2.6.3 Context-based Adaptive Binary Arithmetic Coding . . . . . . . . . . . . . . . . . 25
3 Temporal Domain Prediction : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 27
3.1 Motion Vector Search in a Single Frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
3.2 Motion Vector Search in Multiple Frames . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
3.2.1 Fast Multiple Reference Frame Search . . . . . . . . . . . . . . . . . . . . . . . . . 32
3.2.2 Skippable Multiple Reference Frame Search . . . . . . . . . . . . . . . . . . . . . . 36
3.2.3 Experiment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
3.3 Motion Vector Search for Variable Block Sizes . . . . . . . . . . . . . . . . . . . . . . . . . 51
3.3.1 Background . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
3.3.2 Top-Down Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
3.3.3 Bottom-Up Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
3.3.4 Merge&Split Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
3.3.5 Motion Vector Re‾nement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
3.3.6 Experiments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
3.4 Motion Vector Search for Fractional Pixel . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
3.4.1 Background . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
3.4.2 Prediction-based Directional Fractional Pixel Search . . . . . . . . . . . . . . . . . 71
3.5 Experiments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
dc.language.isoen
dc.subject視訊zh_TW
dc.subject編碼器zh_TW
dc.subject多重參考畫面zh_TW
dc.subject移動估測zh_TW
dc.subject多核心zh_TW
dc.subjectmotion estimationen
dc.subjectMPEG-4 AVCen
dc.subjectH.264en
dc.subjectencoderen
dc.subjectmulti-coreen
dc.subjectdual-coreen
dc.subjectmultiple reference frameen
dc.subjectasymmetry processoren
dc.title多核心架構下純軟體MPEG-4 AVC/H.264影像編碼器的設計與實作zh_TW
dc.titleDesign and Implementation of Software-Based MPEG-4 AVC/H.264 encoder on Multi-Core Processorsen
dc.typeThesis
dc.date.schoolyear94-2
dc.description.degree碩士
dc.contributor.oralexamcommittee陳宏銘(Homer H. Chen),許超雲(Chau-Yun Hsu),童怡新(Yi-Shin Tung)
dc.subject.keyword視訊,編碼器,多重參考畫面,多核心,移動估測,zh_TW
dc.subject.keywordMPEG-4 AVC,H.264,encoder,multi-core,dual-core,multiple reference frame,motion estimation,asymmetry processor,en
dc.relation.page109
dc.rights.note有償授權
dc.date.accepted2006-06-30
dc.contributor.author-college電機資訊學院zh_TW
dc.contributor.author-dept資訊工程學研究所zh_TW
顯示於系所單位:資訊工程學系

文件中的檔案:
檔案 大小格式 
ntu-95-1.pdf
  未授權公開取用
4.63 MBAdobe PDF
顯示文件簡單紀錄


系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。

社群連結
聯絡資訊
10617臺北市大安區羅斯福路四段1號
No.1 Sec.4, Roosevelt Rd., Taipei, Taiwan, R.O.C. 106
Tel: (02)33662353
Email: ntuetds@ntu.edu.tw
意見箱
相關連結
館藏目錄
國內圖書館整合查詢 MetaCat
臺大學術典藏 NTU Scholars
臺大圖書館數位典藏館
本站聲明
© NTU Library All Rights Reserved