| 研究生: |
徐意瑄 Yi-Shiuan Hsu |
|---|---|
| 論文名稱: |
H.264快速橫向線型移動預估實現於Equator數位訊號處理器 H.264 Fast Horizontal Line Search Motion Estimation Implemented on Equator DSP |
| 指導教授: |
張寶基
Pao-Chi Chang |
| 口試委員: | |
| 學位類別: |
碩士 Master |
| 系所名稱: |
資訊電機學院 - 通訊工程學系 Department of Communication Engineering |
| 畢業學年度: | 92 |
| 語文別: | 中文 |
| 論文頁數: | 97 |
| 中文關鍵詞: | 可變區塊大小 、移動預估演算法 、H.264視訊編碼標準 、多幅參考畫面 、Equator DSP |
| 外文關鍵詞: | Multi-Reference Frame, Variable Block Size, H.264 Video Coding, Motion Estimation, Equator DSP |
| 相關次數: | 點閱:8 下載:0 |
| 分享至: |
| 查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
H.264相較於以往的視訊標準,在壓縮效能上有很明顯的改進,然而所付出的代價即為造成編碼端複雜度的大量提升,以及增加硬體實現的困難度;而其計算的複雜度主要分布在可變區塊大小與多幅參考畫面機制下的移動預估計算。
為了讓H.264能達到即時應用的目標,本論文提出了快速橫向線型移動預估機制並實現於Equator DSP。快速橫向線型移動預估機制主要可分成兩部分-橫向線型搜尋演算法與整合可變區塊大小和多幅參考畫面的快速決策機制,橫向線型搜尋演算法利用Equator提供的128-bit暫存器架構來同時加速SAD計算與資料搬移。除此之外,我們在橫向線型搜尋演算法中也使用固定搜尋視窗來進一步降低SAD的計算量。在可變區塊大小演算法裡,我們提出了三階層的決策法則來省略不必要的移動預估計算量,另一方面我們也在多幅參考畫面演算法中使用快速中斷的決策方式來降低更多的計算量。由實驗結果可得知,我們於Equator上實現所提出的快速橫向線型移動預估機制,能使得執行移動預估計算量的時脈數大幅降低至98%,而不會造成視訊品質的大量失真。
H.264 video coding standard can achieve considerably higher coding efficiency than previous standards. However, this comes at a cost in considerably increased complexity at the encoder and thus increases the difficulty in hardware implementation. The computation complexity is mainly due to motion estimation in combination of variable block sizes and multi-reference frames.
To achieve the objective of real-time applications, we propose a fast multiple decision horizontal line search (MDHLS) scheme for H.264 and implement it on Equator DSP. The MDHLS mainly contains two parts, one is HLS algorithm and the other is a fast decision scheme for variable block sizes and multi-reference frames. HLS utilizes the 128-bit register of Equator to jointly accelerate SAD calculation and data access. And we employ a fixed search window size in HLS for further reducing SAD calculation. The proposed variable block size algorithm provides a three-stage decision rule to remove unnecessary computations of motion estimation. An early termination decision rule is also developed for multi-reference frame algorithm. Simulation results show MDHLS can achieve up to 98% cycle reduction in motion estimation implemented on Equator DSP and the coding efficiency is only slightly decreased.
參考文獻
[1] ITU-T Rec. H.264 | ISO/IEC 14496-10 AVC, Draft ITU-T Recommendation and Final Draft International Standard of Joint Video Specification, 2003.
[2] Draft ITU-T Recommendation H.263: Video Coding for Low Bitrate Communication, ITU, May 1996.
[3] Draft ITU-T Recommendation H.263+: Video Coding for Low Bitrate Communication, ITU, July 1997.
[4] ISO/IEC JTC1/SC29/WG11, “MPEG-4 Video Verification Model version 18.0,” N3908, Jan. 2001.
[5] S. Wenger, “H.26L Complexity Analysis according to VCEG-L36 section 2.1.4,” document VCEG-M23, ITU-T Video Coding Experts Group (VCEG) Meeting, 2-4 Apr., 2001.
[6] ITU-T/SG 16/VCEG, Video Codec Test Model Long Term Number 8(TML-8). Doc, VCEG-N10, July 2001.
[7] T. Wiegand, G. J. Sullivan, G. Bjntegaard, and A. Luthra, “Overview of the H.264/AVC Video Coding Standard,” Circuits and Systems for Video Technology, IEEE Transactions on, Volume: 13, Issue: 7, July 2003.
[8] ITU-T Recommendation H.261: Video Codec for Audiovisual Services at Px64 Kbits, ITU, 1993.
[9] ISO/IEC JTC1, Generic Coding of Audiovisual Objects –Part 2: Visual (MPEG-4 Visual), ISO/IEC 14496-2, Version 1: Jan. 1999; Version 2: Jan. 2000; Version 3: Jan. 2001.
[10] G. J. Sullivan and T. Wiegand, “Rate-Distortion Optimization for Video Compression,” IEEE Signal Processing Magazine, vol. 15, no. 6, pp.74-90, Nov. 1998.
[11] T. Wiegand, and B. Girod, “Lagrange Multiplier Selection in Hybrid Video Coder Control,” IEEE International Conference on Image Processing, vol. 3, pp. 42 –545, 2001.
[12] Y. Itoh, and N. M. Cheung, “Universal Variable Length Code for DCT Coding,” IEEE International Conference on Image Processing, vol. 1, pp. 940 -943, 2000.
[13] C. Basoglu, W. Lee, and J. O’Donnell, “The Equator MAP-CA DSP: An End-To-End Broadcast Signal Processor VLIW,” IEEE Transactions on, vol. 12, no. 8, Aug. 2002.
[14] P. Yin, H. Y. Cheong Tourapis, A. M. Tourapis and J. Boyce, “Fast Mode Decision and Motion Estimation for JVT/H.264,” IEEE International Conference on Image Processing, Sep. 2003.
[15] T. Shimizu, A. Yoneyyama, H. Yanagihara, and Y. Nakajima, “A Two-Stage Variable Block Size Motion Search Algorithm for H.264 Encoder,” Trans. of IPSJ, no. 042-004, Oct. 2003.
[16] A. Chang, O. C. Au, and Y. M. Yeung, “A Novel Approach to Fast Multi-Block Motion Estimation for H.264 Video Coding,” IEEE International Conference on Multimedia & Expo, July 2003.
[17] Y. W. Huang, B. Y. Hsieh, T. C. Wang, S. Y. Chien, S. Y. Ma, C. F. Shen, and L. G. Chen, “Analysis and Reduction of Reference Frames for Motion Estimation in MPEG-4 AVC/JVT/H.264,” IEEE International Conference on Multimedia & Expo, July 2003.
[18] Y. Y. Chiang, M. J. Chen and H. J. Li, “Fast Multi-Frame Motion Estimation Algorithm for MPEG-4 AVC/JVT/H.264 Standard,” Workshop on Consumer Electronics, Dec. 2003.
[19] J. Youn and M. T. Sun, “A Fast Motion Vector Composition Method for Temporal Transcoding,” IEEE International Symposium on Circuits and Systems Proceedings, vol. 4, pp. 243 -246, 1999.
[20] J. Youn, M. T. Sun and C. W. Lin, “Motion Vector Refinement for High-Performance Transcoding,” IEEE Transactions on Multimedia, vol. 1, pp. 30-40, Mar. 1999.
[21] Y. W. Huang, S. Y. Ma, C. F. Chen, and L. G. Chen, “Predictive Line Search: An Efficient Motion Estimation Algorithm for MPEG-4 Encoding Systems on Multimedia Processors,” Circuits and Systems for Video Technology, IEEE Transactions on, vol. 13, no. 1, Jan. 2003.
[22] J. R. Jain and A. K. Jain, “Displacement Measurement and Its Application in Interframe Image Coding,” IEEE Trans Commun., vol. COM-299, no. 12, pp. 1799-1808, Dec. 1981.
[23] R. Li, B. Zeng, and M. L. Liou, “A New Three-Step Search Algorithm for Block Motion Estimation,” IEEE Transactions on Circuits and Systems for Video Technology, vol. 4, pp. 438-442, Aug. 1994.
[24] M. J. Chen, L. G. Chen, and T. D. Chiueh, “One-Dimensional Full Search Motion Estimation Algorithm for Video Coding,” IEEE Trans. Circuits Syst. Video Technol., vol. 4, pp. 504–509, Oct. 1994.
[25] L. M. Po and W. C. Ma, “A Novel Four-Step Search Algorithm for Fast Block Motion Estimation,” IEEE Transactions on Circuits and Systems for Video Technology, vol. 6, pp. 313 –317, June 1996.
[26] S. Zhu and K. K. Ma, “A New Diamond Search Algorithm for The Fast Block Matching Motion Estimation,” IEEE International Conference on Information Communications and Signal Processing, pp. 9-12, Sep. 1997.