Research on Fast Mode Selection Algorithm of H.264

Author
ChenHongXin
Advisor
LiFangMin
School
Wuhan University of Technology
Major
Communication and Information System
Classification
TN919.81 Image coding
Degree
Master's thesis
Year
2007
Downloads
147
Citations
4

Request the full text

Abstract

The H.264 video coding standard adopts many new coding tools, such as variable block size, multiple reference frames, quarter-pixel-accuracy motion estimation, intra prediction, loop filter, etc. Using these coding tools, H.264 achieves significant performance. Especially for reference frame, block size, and prediction direction, it can adaptively do the selection. However, the encoding complexity increases tremendously. Among these tools, the macroblock modes selection and the motion estimation contributes most to total encoding complexity. This paper focuses on complexity reduction in macroblock modes selection. On the basis of analyzing some fast mode selection algorithms, a new algorithm is presented, in order to reduce the time of encoding, in the precondition of reducing the quality of encoding obviously.For fast mode selection of H.264, the following research was done:(1)On the basis of JM8.6 reference software, the complexity of standard mode selection algorithm was analyzed based on the RD cost model. Then the essentiality of fast mode selection algorithm was discussed.(2)By rewriting some algoritthm in JM8.6 reference software, some statistic was done for the appearance probability of all the modes in the whole sequence. Then it found that the modes SKIP and inter16×16, whose complexity of encoding is tinny, dominated among other modes (the appearance probability arrives 80% on average), while the appearance probability of the modes inter8 X 8 and intra4 X 4, whose complexity of encoding is tremendous, is very small. Then, the feasible function to select modes fast was proposed. That is to fast select the modes whose appearance probability is large and restrict the selectable modes for modes whose appearance probability is small.(3)For fast selecting for SKIP mode, two common algorithms and another one proposed by ours was experimented, which was to compare the RD costs of SKIP and inter16×16 mode and decide if the best mode was SKIP mode. The correction percentage, missing percentage, PSNR and encoding time was compared. The result revealed that our method is a better one.(4)The algorithm which was to restrict the selectable sub-macroblock modes for inter8×8 mode by comparing the RD costs of inter16×16, inter16×8, inter8×16 was experimented. The result data showed that it reduced the time by 35% on average on the precondition of not reducing encoding quality obviously.(5)If fast intra mode selection algorithm was essential was analysed, then a simple algorithm for intra mode was propsed. That is to ignore intra4×4 mode for P frame and reserve the standard algorithm for I frame. The result showed that it reduced the time also by 35% on average on the precondition of not reducing encoding quality obviously.(6)In the end, the three algorithms were conbined and the experiment was done. The data shows that the reduction of time increased nearly to 40% while the PSNR just reduced nearly 0.05dB compared to standard algorithm. And the total bit also has a little reduction.

Table of contents

Abstract 4-5 Abstract 5-9 Chapter 1 Introduction 9-12 1.1 Background 9-10 1.1.1 Project Source 9 1.1.2 Background 9-10 1.2 research status 1.3 research content 10-11 1.4 In this paper, experimental platform 1.5 This article organizational structure 11-12 Chapter 2, H.264 video coding standard 12-25 2.1 H.264 standard profiles 12-13 2.2 H.264 codec characteristics and structure 13-14 the characteristics 2.2.1 codec 13-14 2.2.2 encoder structure 14 2.2.3 decoder structure 14 2.3 H.264's new technical analysis 14-24 2.3.1 intra prediction 15-17 2.3.2 inter prediction 17-19 2.3.3 transform and quantization 19-21 2.3.4 Entropy coding 21-22 2.3.5 go box filtering 22-24 2.4 Summary 24-25 The chapter 3 mode selection algorithm and computation complexity analysis 25-36 3.1 H.264 variable macroblock partition mode 25-26 3.2 cost function 26-33 3.2.1 SATD-based cost function model 26-29 3.2.2 rate distortion optimization (RDO) cost model 29-32 3.2.3 Both models performance is 32-33 3.3 based on the standard rate-distortion mode selection algorithm complexity analysis 33-36 Chapter 4 fast mode selection algorithm 36-52 Statistical analysis of the 4.1 macroblock mode 36-37 4.2 SKIP fast decision algorithm analysis 37-42 4.2.1 SKIP quick judgment conditions determine 38-40 4.2.2 Performance Analysis 40-42 4.3 narrow inter8 × 8 sub-mode range of options 42-45 4.4 intra mode rapid selection algorithm 45-46 the a 4.5 overall algorithm processes and simulation results analysis 46-51 4.5.1 algorithm processes 46-48 4.5.2 Simulation results analysis 48-51 4.6 Summary 51-52 Chapter 5 Summary and Outlook 52-53 5.1 summarizes 52 5.2 Looking 52-53 the References 53-56 Acknowledgements 56-57 papers published during the study period 57

Related dissertations

  1. Porting and Optimization of H.264Encoder on the DM642
    AnRan ·University of North ·2014 ·Master's thesis
  2. Research and Improvement of Fast Motion Estimation Algorithm in H.264
    XuChen ·Taiyuan University of Technology ·2012 ·Master's thesis
  3. H.264 Encoder Optimization Based on TMS320DM642
  4. Design and Implementation of Parallel Algorithms for Some H.264Encoding Modules Based on OpenCL
    GongWenNing ·Dalian University of Technology ·2013 ·Master's thesis
  5. Design and Implementation of Parallel Algorithms for Some H.264Encoding Modules Based on GPU
    CuiChen ·Dalian University of Technology ·2012 ·Master's thesis
  6. Research and Realization of H.264Video Compression Coding System Based on FPGA
  7. Study on Fast Mode Decision Algorithm for H.264/AVC Video Coding Standard
    ChenLiHua ·Dalian University of Technology ·2010 ·Master's thesis
  8. Algorithms Research of Predicted-frame Encoding Based on H.264/AVC Standard
    LiuJuan ·Hunan Normal University ·2009 ·Master's thesis
  9. Video Surveillance System Based on Embedded Technology Research
  10. Vehicle Wireless Video Monitoring System Based on Improved H.264Motion Estimation Algorithm
  11. The software design of intelligent control Home Furnishing gateway based on ARM11
    ZuoPengZuo ·Northwestern University ·2013 ·Master's thesis
  12. Research on Moving Object Segmentation and Extraction in the H.264Compressed Domain
    KongXiangPeng ·Harbin Engineering University ·2013 ·Master's thesis
  13. The Design of Vehicle Detection System
    DongGaoPeng ·Wuhan University of Technology ·2013 ·Master's thesis
  14. 2D to3D Conversion Method for3DTV Application
  15. Design of Embedded Video Surveillance System Based on DaVinci Technology
  16. Design and Implementation of Mobile Video Surveillance System Based on Intelligent Terminal
    ZhangSha ·Wuhan University of Technology ·2013 ·Master's thesis
  17. Design of IP Camera Based on DM365DSP Platform
    XuLan ·Tianjin University ·2012 ·Master's thesis
  18. Design of Remote Mobile Video Monitoring System
  19. Research and Implementation of Intelligent Video Surveillance System Based on RTSP
    LongZhou ·Central South University ·2013 ·Master's thesis
  20. Design of Wireless Video Monitoring System of Water Supply Well Based on FPGA