Fast Mode Decision Algorithm for H.264/AVC

Author
WangZuo
Advisor
ShiZuo , ShenHaiBin
School
Zhejiang University
Major
Circuits and Systems
Classification
TN919.81 Image coding
Degree
Master's thesis
Year
2011
Downloads
76
Citations
0

Request the full text

Abstract

H.264/AVC is a codec standard developed by the ITU-T Video Coding Experts Group (VCEG) together with theISO/IEC Moving Picture Experts Group (MPEG). H.264 employs a number of new technologies which contribute to its better coding performance compared with previous standards. However, these new technologies also lead to the dramatically increased computational complexity, which makes it difficult to use the H.264 standard in the systems with limited computation abilities or in the circumstances where real-time transfer is required. This is the reason why fast encoding algorithms are needed.The most complex and time-consuming part in the H.264 encoding process is the mode decision. H.264 employs rate-distortion optimization method to decide which mode to be used to encode a macroblock. For intra blocks, it is necessary to calculate the rate-distortion cost for 592 times in order to find the best intra mode; For inter blocks, more computation is involved, including motion estimation, motion compensation, transform, quantization, entropy coding and so on. The mode decision process takes most of the overall encoding time. Therefore, optimizing the mode decision process is of great importance to reduce the computational complexity and will bring significant performance enhancement for the encoder.In this thesis, we first introduce the structure of H.264/AVC encoder and the key techniques the encoder employs. Then the mode decision process is studied, which includes the criteria of mode decision—rate-distortion optimization and the three mode decision methods in the JM reference software. After that, we discuss the main methods used in fast mode decision algorithms, including approximating the cost function, reducing the set of tested modes and early termination. Following that, a typical fast mode decision algorithm, the reference algorithm in this thesis, is studied and implemented. Several imperfections are revealed by analyzing the experiment result. Then a new fast mode decision algorithm is proposed with three techniques employed to optimize the reference algorithm. The three techniques are namely macroblock adaptive threshold design, optimized mode grouping method and mode decision using luminance residual information. The result of the experiment indicates that the proposed algorithm would lead to a much lower bit rate than the reference algorithm while PSNR and total coding time are almost the same.

Table of contents

Thanks 5-6 Summary 6-7 Abstract 7-9 directory 9-11 chart catalog 11-13 1 Introduction 13-20 1.1 Introduction 13 1.2 video encoding overview 13-15 1.3 video coding standard development process 15-17 1.4 research content and significance 17-18 organizational structure 1.5 article 18-20 2 H.264/AVC video coding 20-35 2.1 H.264/AVC standard outlined 20-23 2.1.1 H.264/AVC standard profiles 20-22 2.1.2 H.264/AVC encoder structure 22-23 2.2 H.264/AVC grades and levels (Profiles and Levels) 23-24 2.3 H.264 key technology research 24-34 2.3.1 intra prediction 24-27 2.3.2 inter prediction 27-30 2.3.3 entropy coding 30-31 2.3.4 deblocking filter 31-34 2.4 Summary 34-35 in 3 H.264/AVC mode selection 35-44 3.1 rate distortion optimization problem 35-37 The 3.2 H.264/AVC rate distortion optimization 37-38 3.2.1 Distortion calculation 37-38 calculated 3.2.2 Lagrange coefficients 38 3.3 JM reference software mode selection algorithm 38-43 3.3.1 High complexity mode 39-40 3.3.2 fast high complexity mode 40-42 3.3.3 Low complexity mode 42-43 3.4 Summary 43-44 4 fast mode selection algorithm 44-53 4.1 fast mode selection algorithm ideas 44-45 4.1.1 approximate cost function 44-45 4.1.2 to reduce the candidate mode 45 4.1.3 Mode selection ahead of the end 45 4.2 fast macroblock mode selection algorithm based on the state of motion 45-52 4.2.1 Algorithm Description 45-48 4.2.2 algorithm flow 48 4.2.3 Problems 48-52 4.3 Summary 52-53 5 adaptive threshold based on fast mode selection algorithm 53-64 5.1 algorithm proposed 53-58 5.1.1 macroblock level adaptive threshold 53 5.1.2 optimized mode grouping strategy 53-56 5.1.3 luma residual blocks of each sub- block correlation between 56-58 5.2 algorithm description and algorithm flow 58-60 5.3 algorithm performance tests and the results of analysis 60-62 5.4 Summary 62-64 6 Summary and Outlook 64-66 References 66-70 About author 70 period of study for a Master 's patent application 70

Related dissertations

  1. Research on Fast Motion Estimation and Mode Decision for H.264/Avc Video Coding
    ZhangWei ·Shandong University ·2013 ·Master's thesis
  2. Improvement and Optimization of H.264Inter Prediction and Estimation Based on DSP
  3. Research on Algorithm of H.264and3D Mesh Image Compression
  4. H.264/AVC coding mode decision technology research
  5. Research and Optimization on Motion Estimation Technology in Scalable Video Coding
    ZhangZuo ·Harbin Institute of Technology ·2007 ·Master's thesis
  6. Research on Fast Mode Decision with Rate-Distortion Optimization
  7. Design and Optimization of H.264 Encoder and Decoder System
  8. Video Surveillance System Based on Embedded Technology Research
  9. Vehicle Wireless Video Monitoring System Based on Improved H.264Motion Estimation Algorithm
  10. The software design of intelligent control Home Furnishing gateway based on ARM11
    ZuoPengZuo ·Northwestern University ·2013 ·Master's thesis
  11. Research on Moving Object Segmentation and Extraction in the H.264Compressed Domain
    KongXiangPeng ·Harbin Engineering University ·2013 ·Master's thesis
  12. The Design of Vehicle Detection System
    DongGaoPeng ·Wuhan University of Technology ·2013 ·Master's thesis
  13. 2D to3D Conversion Method for3DTV Application
  14. Design of Embedded Video Surveillance System Based on DaVinci Technology
  15. Design and Implementation of Mobile Video Surveillance System Based on Intelligent Terminal
    ZhangSha ·Wuhan University of Technology ·2013 ·Master's thesis
  16. Design of IP Camera Based on DM365DSP Platform
    XuLan ·Tianjin University ·2012 ·Master's thesis
  17. Design of Remote Mobile Video Monitoring System
  18. Research and Implementation of Intelligent Video Surveillance System Based on RTSP
    LongZhou ·Central South University ·2013 ·Master's thesis
  19. Design of Wireless Video Monitoring System of Water Supply Well Based on FPGA
  20. Remote Video Monitoring System Based on RTP and H.264Technology