H.264 video coding standard analysis and algorithm optimization
- Author
- ZengHuanQiang
- Advisor
- CaiCanHui
- School
- Huaqiao University
- Major
- Signal and Information Processing
- Classification
- TN919.81 Image coding
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 101
- Citations
- 0
Abstract
H.264/AVC is the newest video coding standard jointly developed by ITU and ISO/IEC. Compared with its predecessors, H.264 employs a lot of new techniques and is a more“network-friendly”video coding standard with much higher coding efficiency. However, the gain of its high performance is at a price of heavy computational complexity. Therefore, how to reduce its computational complexity while still maintaining almost the same coding efficiency has become a crucial problem in a practical H.264 codec realization. Consequently, the optimization of H.264 has become an important research topic in the image processing society and is the main concern of this dissertation.To figure out how to effectively reduce the computational complexity of H.264, H.264 is firstly introduced in detail and its key techniques are thoroughly analyzed, then the optimization algorithms for the time consuming modules, Intra Prediction, Inter Prediction, and Motion Estimation, are proposed in this dissertation.First, after the analysis of intra-prediction employed in H.264, a novel fast algorithm for intra-prediction mode decision based on pixel’s gradient direction is presented. The proposed algorithm uses two candidate mode selection rules to choose the candidate modes firstly, and then employs the average SATD values of them as the threshold to further eliminate the unlikely modes. As a result, the computational load is decreased dramatically.Second, the key techniques of inter-prediction, such as the inter-prediction modes, exhaustively mode decision method and so on, are discussed. Then, a novel fast inter-prediction mode decision algorithm is proposed to speed up the encoding process based on the local macroblock motion activity. The proposed algorithm constantly starts with the SKIP mode and benefits from it as an early termination stage to possibly terminate further checking of other modes. Next, the city-block lengths of the concerned motion vectors from adjacent macroblocks will be used to estimate the current macroblock motion activity so as to reduce the number of modes needed to be checked.Finally, based on the analysis of the characteristic of motion estimation in H.264 and some observations from the experiments, a novel fast motion estimation algorithm is suggested to reduce the computational load of motion estimation dramatically. The proposed algorithm combines predictive mode reduction technique, selective pixel matching measure and simplified reference frame discrimination strategy to speed up the full-pixel motion estimation process. Then, a direction based selection rule is employed to further decrease the sub-pixel candidate search points. Experimental results have shown as follows: 1) The proposed fastintra-prediction mode decision algorithm reduces 45% computational complexity on average, while incurring only 0.040 dB loss in PSNR and 2.80% increment on the total bite rate compared with that of exhaustive mode decision, which is a default approach set in the JM reference software. 2) The proposed fast inter-prediction mode decision algorithm achieves a reduction of 56% computational complexity on average, while incurring only 0.059 dB loss in PSNR and 0.20% increment on the total bit rate compared with that of exhaustive mode decision, which is a default approach set in the JM reference software. 3) The proposed fast motion estimation algorithm achieves a reduction of 87% computational load on average, while incurring only 0.033 dB loss in PSNR and 0.56% increment on the total bit rate compared with that of exhaustive motion estimation process, which is a default approach set in the JM reference software. In summary, all the fast algorithms proposed in this dissertation can be extensively used in all the H.264/AVC video coding standard application, and also can be served as an example on the other multimedia software algorithm optimization.
Table of contents
Abstract 3-5
Abstract 5-10
first chapter 10-13
1.1 research background 10 - 11
1.2 thesis is organized 11-13
Chapter II generation video coding standard H.264 Profile 13-21
2.1 video encoding technology development 13-15
2.2 H.264 video coding standard overview 15-17
2.3 H.264 video coding standard key technology 17-19
2.4 Summary 19-21
Chapter intra prediction coding algorithm and improvement 21-33
3.1 Introduction 21-22
3.2 H.264 intra prediction coding related technologies 22-26
3.2.1 4 × 4 luma prediction mode 22-24
3.2.2 16 × 16 luminance prediction modes and 8 × 8 chrominance prediction mode 24-25
3.2.3 H.264 reference code intra prediction mode selection algorithm 25-26
3.3 block-based edge direction fast intra prediction mode selection algorithm 26-30
3.3.1 mode Selection criteria for a 26-27
3.3.2 mode Selection criteria for two 27-28
3.3.3 SATD threshold average 28-29
3.3.4 fast intra prediction mode selection algorithm is described 29-30
3.4 experimental results and analysis 30-32
3.5 Summary 32-33
Chapter inter mode selection algorithm analysis and optimization 33-48
4.1 Introduction 33-34
4.2 interframe predictive coding review 34-37
4.2.1 inter prediction mode 34-37
4.2.2 H.264 reference code of inter mode selection algorithm 37
4.3 based on local motion feature fast inter mode selection algorithm 37-43
4.3.1 fast mode selection 37-40
4.3.2 algorithm Description 40-43
4.4 experimental results and analysis 43-47
4.5 chapter Summary 47-48 < br /> CHAPTER motion estimation algorithm discussed 48-74
5.1 Introduction 48-49
5.2 motion Estimation Overview 49-52
5.3 H.264 motion estimation algorithm analysis 52-53
5.4 typical motion estimation algorithm 53-64
5.4.1 full search method 53-54 <br / > 5.4.2 three-step search (TSS) 54-55
5.4.3 new three-step search (NTSS) 55-56
5.4.4 diamond search (DS) 56-58
5.4.5 hexagon search method (HEXBS) 58-59
5.4.6 MVFAST 59-60 <br / > 5.4.7 PMVFAST 60-61
5.4.8 EPZS 61-62
5.4.9 asymmetrical cross-shaped multi-layered hexagonal grid search method (UMHexagons) 62-64
5.5 based on pre- and partial pixel block size matches the fast motion estimation algorithm 64-70
5.5.1 block Size preselection 65-66 < br /> 5.5.2 part pixel matching method 66-67
5.5.3 multiple reference frame selection strategy 67-68
5.5.4 directional characteristics of the sub-pixel -based fast motion Estimation 68-70
5.5.5 fast motion estimation algorithm description 70
5.6 experimental results and analysis 70-72
5.7 chapter Summary 72-74
Chapter Summary and Outlook 74-76
6.1 this paper studies the work and technical innovation 74-75
6.2 Prospects and ideas 75-76
References 76-82
published during the master's degree and has hired academic 82-83
already Contributions academic papers 83-84
master's degree research projects during participation 84-85
Thanks 85
Related dissertations
- A Video System Design Based on DSP
- Research and Implementation of Adaptive Motion Estimation Algorithm Based on H.264/AVC
- Research on Fast Encoding Algorithms for H.264/AVC Video Coding Standard
- Research of the Key Algorithms of H.264/AVC Encoder and Its VLSI Design
- Research on H.264 Video Optimization over Wireless Channel
- Research on Video Coding Techniques for Mobile Devices
- Research on Moving Video Object Segmentation and Advanced Motion Estimation/Motion Compensation Algorithms
- Motion Estimation, Transform and Decoder Optimization in H.264/AVC
- Research on Surveillance Video Coding and Super-resolution Reconstruction
- Research on Key Technology for H.264/AVC Video Coding
- Fast Inter Motion Estamation Algorithm Research for H.264
- H.264 Video Coding Algorithm Research and DSP Realization
- Research of H.264/AVC Coder and Its Correlative Algorithm
- Research on Motion Estimation in the H.264/AVC
- Research and Parallel Implementation of Motion Estimation Used in Video Encoding
- Optimization and Implementation of AVS Mode Decision Algorithm
- Research of Motion Estimation Technology in H.264/AVC
- Study on Effective Video Coding Methods Based on Random Noise Processing
- Research on Key Technology for H.264Video Coding
- Researches on the Video Coding Related Techniques Based on Visual Optimization