簡易檢索 / 詳目顯示

研究生: 俞冠均
Kuan-Chun Yu
論文名稱: H.264視訊編碼之複合式移動估測技術與架構
Hybrid Motion Estimation Techniques and Architectures for H.264 Video Coding
指導教授: 呂學坤
Shyue-Kung Lu
口試委員: 李進福
Jin-Fu Li
洪進華
Jin-Hua Hong
王乃堅
Nai-Jian Wang
學位類別: 碩士
Master
系所名稱: 電資學院 - 電機工程系
Department of Electrical Engineering
論文出版年: 2016
畢業學年度: 104
語文別: 中文
論文頁數: 87
中文關鍵詞: 移動估測截斷像素截斷字元線記憶體H.264/AVC
外文關鍵詞: Motion estimation, Pixel truncation, Divided word-line memory, H.264/AVC
相關次數: 點閱:287下載:3
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 視訊編碼技術H.264/AVC採用了許多的技術,使得編碼效率比之前標準提升至少50%,因此是最普遍的編碼標準。但是其中的移動估測運算複雜度佔整體視訊編碼的50-90%,是非常高的計算複雜度,會造成即時編碼系統設計上的瓶頸,因此有許多方法被提出來解決這個問題,然而許多演算法並不適合硬體實現,同時也會造成編碼效能下降的問題。
    現有截斷位元像素 (Pixel Truncated) 搜尋演算法,利用降低運算的位元數來降低移動估測運算時的負載與功率消耗,但會導致編碼後的影像品質下降,於此演算法下會使用兩種匹配準則進行影像品質修正,因此在硬體實現上,會使用兩套匹配準則電路進行運算,造成硬體設計上的浪費。截斷像素需要讀取參考記憶體全部的位元資訊再進行資料截斷,這導致參考記憶體存取功率消耗增加。
    本研究提出了一個複合式搜尋演算法,其包含二階段的搜尋,結合了截斷位元像素的技術以及搭配複合匹配準則架構來實行兩階段的搜尋,使用同一種運算架構進行兩種匹配準則的運算,達到硬體成本的降低,並在不同階段下使用不同的影像位元來存取切割字元線記憶體 (Divided Word-line Memory),使記憶體存取功率消耗約降低60%,而影像品質失真的部分,經PSNR比較,最多下降0.021 dB,位元率增幅大多在3.9% 以下,整體效能非常貼近傳統全搜尋法的移動估測。
    硬體架構的部分,為了符合即時編碼的需求,本研究採用8組一維的平行處理單元陣列設計。硬體實作使用TSMC 90 nm 1P9M 製程,操作頻率為267 MHz,邏輯閘總數為120.1 K,可支援HD 720p的即時編碼視訊,設定參考畫面為1張。


    For the video coding standard H.264/AVC, many techniques are used for improving the coding efficiency. H.264/AVC provides 50% improvement in compression efficiency as compared to its precedent standard MPEG-4. However, motion estimation occupies 50-90% of the total computation complexity for video compression. This situation forms the main bottleneck for real-time video encoding. Therefore, there are many algorithms proposed to solve this problem. However, some of these algorithms are not suitable for hardware implementation and also causes loss of coding efficiency.
    Currently used pixel truncated search algorithms can be used to reduce the computational load and power consumption by reducing the number of computation bits. Although it leads to the degrading of picture quality, it can further use two matching criterions to enhance the picture quality. In hardware implementation, it needs two extra circuits for calculating the matching criterions and thus incurs additional hardware overhead. Besides, the reference memory is accessed with full bits before truncating. This access scheme inevitably increases the power consumption of memory access.
    In this thesis, a hybrid two-step search algorithm which combines both the pixel truncation technique and the hybrid matching criterions is proposed. The corresponding VLSI architecture for implementing the proposed two-step search algorithm is also presented. The proposed architecture can calculate the two matching criterions by using the same processing elements and thus reduce the hardware overhead. Moreover, a novel divided word-line (DWL) memory architecture is used for accessing the required bits in each search step. It can save memory access power for about 60%. For the picture quality, the PSNR drop is less than 0.021dB and the increasing of bitrate is less than 3.9%. The achieved coding performance is very close to the conventional full search algorithm.

    誌謝 i 摘要 ii Abstract iii 總目錄 v 圖目錄 vii 表目錄 x 第一章 緒論 1 1.1 研究動機與背景 1 1.2 章節概述 4 第二章 H.264/AVC編碼簡介 5 2.1 H.264/AVC編碼技術概述 5 2.1.1 視訊編碼原理及名詞定義 5 2.1.2 畫面內與畫面間編碼 9 2.1.3 編碼架構與流程 10 2.2 移動估測與移動補償 11 第三章 移動估測演算法與架構之相關文獻研究 14 3.1 移動估測演算法 14 3.1.1 快速搜尋演算法 15 3.1.2 截斷像素搜尋演算法 17 3.1.3 模式抉擇演算法 19 3.1.4 動態改變搜尋點演算法 20 3.2 移動估測硬體架構設計 21 3.2.1 處理單元陣列之平行性設計 21 3.2.2 參考影像記憶體設計 24 3.3 小結與討論 26 第四章 複合式移動估測技術與架構設計 28 4.1 動機與分析 28 4.1.1 搜尋範圍與不同影像之最佳移動向量關係 29 4.1.2 搜尋標準與截斷像素分析關係 32 4.2 複合式搜尋演算法及移動估測架構整合 33 4.2.1 基於菱形搜尋範圍之複合式搜尋演算法 33 4.2.2 匹配標準架構設計 35 4.2.3 切割字元線記憶體架構 40 4.2.4 參考記憶體模組分析 43 4.3 移動估測硬體架構設計 46 4.3.1 設計規格 46 4.3.2 移動估測架構設計 47 4.3.3 參考緩衝器架構 50 4.3.4 硬體資料流 55 第五章 實驗模擬結果 59 5.1 影像品質與壓縮效果模擬 59 5.2 硬體架構比較 67 第六章 結論與未來展望 71 6.1 結論 71 6.1 未來展望 71 參考文獻

    [1] "ITU-T Recommendation H.264 and ISO/IEC 14496-10 AVC", Joint Video Team, Draft ITU-T Recommendation and Final Draft International Standard of Joint Video Specification, 2003.
    [2] T. Wiegand, G.-J. Sullivan, G. Bjntegaard, and A. Luthra, “Overview of the H.264/AVC video coding standard,” IEEE Trans. Circuits and Syst. Video Technol., vol. 13, no. 7, pp. 560–576, Jul. 2003.
    [3] T. Wiegand, H. Schwarz, A. Joch, F. Kossentini, and G.-J. Sullivan "Rate-constrained coder control and comparison of video coding standards," IEEE Trans. Circuits Syst. Video Technol., vol. 13, no. 7, pp. 688–703, Jul. 2003.
    [4] T.-C. Chen, S.-Y. Chien, Y.-W. Huang, C.-H. Tsai, C.-Y. Chen, T.-W. Chen, and L.-G. Chen, “Analysis and architecture design of an HDTV720p 30 frames/s H.264/AVC encoder,” IEEE Trans. Circuits and Syst. Video Technol., vol. 16, no. 6, pp. 673–688, Jun. 2006.
    [5] R. Li, B. Zeng, and M. Liou, “A new three-step search algorithm for block motion estimation,” IEEE Trans. Circuits Syst. Video Technol., vol. 4, no. 4, pp. 438–482, Aug. 1994.
    [6] L.-M. Po and W.-C. Ma, “A novel four-step search algorithm for fast block motion estimation,” IEEE Trans. Circuits Syst. Video Technol., vol. 6, no. 3, pp. 313–317, June 1996.
    [7] J.-Y. Tham, S. Ranganath, M. Ranganath, and A.-A. Kassim, “A novel unrestricted center-biased diamond search algorithm for block motion estimation,” IEEE Trans. Circuits Syst. Video Technol., vol. 8, no. 4, pp. 369–377, Aug. 1998.
    [8] C. Zhu, X. Lin, and L.-P. Chau, “Hexagon-based search pattern for fast block motion estimation,” IEEE Trans. Circuits Syst. Video Technol., vol. 12, no. 5, pp. 349–355, May 2002.
    [9] O. Ndili and T. Ogunfunmi, “Algorithm and architecture co-design of hardware-oriented modified diamond search for fast motion estimation in H.264/AVC,” IEEE Trans. Circuits Syst. Video Technol., vol. 21, no. 9 , pp. 1214–1227, Sep. 2011.
    [10] A Bahari, T. Arslan, and A.-T. Erdogan, “Low-power H.264 video compression architectures for mobile communication,” IEEE Trans. Circuits and Syst. Video Technol., vol. 19, no. 9, pp. 1251–1261, Sep. 2009.
    [11] Y.-N. Pan, and T.-H. Tsai, “Fast motion estimation and edge information inter-mode decision on H.264 video coding,” in Proc. IEEE Image Process., vol. 2, pp. 473–476, Sep. 2007.
    [12] T.-H. Tsai, and Y.-N. Pan, “High efficiency architecture design of real-time QFHD for H.264/AVC fast block motion estimation,” IEEE Trans. Circuits Syst. Video Technology, vol. 21, no. 11, pp. 1646–1658, Nov. 2011.
    [13] S.-K. Chatterjee, and I. Chakrabarti, “Power efficient motion estimation algorithm and architecture based on pixel truncation,” IEEE Trans. Consumer Electron., vol. 57, no. 4, pp. 1782–1790, Jan. 2012.
    [14] 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," IEEE Circuits Syst. Mag., vol. 4, no. 1, pp. 7–28, Aug. 2004.
    [15] A. Puri, X. Chen, and A. Luthra, "Video coding using the H.264/MPEG-4 AVC compression standard," in Signal Process.: Image Commun., vol. 19, no. 9, pp. 793–849, Oct. 2004.
    [16] G.-J. Sullivan, and T. Wiegand, “Video compression—From concepts to the H.264/AVC standard,” Proc. IEEE, vol. 93, no. 1, pp. 18–31, Jan.2005.
    [17] Iain E. G. Richardson, “H.264 and MPEG-4 video compression : video coding for next generation multimedia,” John Wiley & Sons Ltd., Dec. 2003.
    [18] Iain E. G. Richardson, “The H.264 advanced video compression standard, second edition,” John Wiley & Sons Ltd., Apr. 2010.
    [19] C.-Y. Chen, S.-Y. Chien, Y.-W. Haung, T.-C. Chen, T.-C. Wang, and L.-G. Chen, “Analysis and architecture design of variable block-size motion estimation for H.264/AVC,” IEEE Trans. Circuits Syst. I: Regular Papers, vol. 53, no. 3, pp. 578–593, Mar. 2006
    [20] M.-J. Chen, L.-G. Chen, T.-D. Chiueh, and Y.-P. Lee, “A new block matching criterion for motion estimation and its implementation,” IEEE Trans. Circuits Syst. Video Technol., vol. 5, no. 3, pp. 231–236, June 1995
    [21] S. Sharma, P. Mishra, S. Sawant, C.-P. Mammen, and V.-M. Gadre, “Pre-decision strategy for coded/non-coded MBs in MPEG4,” in Proc, Int. Conf. Signal Process. Commun. 2004 (SPCOM), Bangalore, India, 2004, pp. 501–505.
    [22] S. Lee, J.-M. Kim, and S.-I. Chae, “New motion estimation algorithm using adaptively quantized low bit-resolution image and its VLSI architecture for MPEG2 video encoding,” IEEE Trans. Circuits Syst. Video Technol., vol. 8, no. 6, pp. 734–744, Oct. 1998.
    [23] M. Yoshimoto et al., “A divided word-line structure in the static RAM and its application to a 64K full CMOS RAM,” IEEE J. Solid-State Circuit, vol. SC-18, no. 5, pp. 479–485, Oct. 1983.
    [24] Joint Video Team (JVT) H.264/AVC Reference Software JM 18.6 (July. 2014) [Online], Available: http://iphome.hhi.de/suehring/tml/download/
    [25] Z. Chen, P. Zhou, and Y. He, Fast Integer PEL and Fractional PEL Motion Estimation for JVT, document JVT-F017, Joint Video Team (JVT) of ISO/IEC MPEG and ITU-T VCE, 6th Meeting, Awaji Island, Japan, Dec. 2002.
    [26] Y. Rong, Q. Yu, D.-A. He, “Low power motion estimation design based on non-uniform pixel truncation,” Journal of Signal Processing Sys., vol. 80, no. 2, pp. 137–152, Aug. 2015.

    QR CODE