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
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
- Porting and Optimization of H.264Encoder on the DM642
- Research and Improvement of Fast Motion Estimation Algorithm in H.264
- H.264 Encoder Optimization Based on TMS320DM642
- Design and Implementation of Parallel Algorithms for Some H.264Encoding Modules Based on OpenCL
- Design and Implementation of Parallel Algorithms for Some H.264Encoding Modules Based on GPU
- Research and Realization of H.264Video Compression Coding System Based on FPGA
- Study on Fast Mode Decision Algorithm for H.264/AVC Video Coding Standard
- Algorithms Research of Predicted-frame Encoding Based on H.264/AVC Standard
- Video Surveillance System Based on Embedded Technology Research
- Vehicle Wireless Video Monitoring System Based on Improved H.264Motion Estimation Algorithm
- The software design of intelligent control Home Furnishing gateway based on ARM11
- Research on Moving Object Segmentation and Extraction in the H.264Compressed Domain
- The Design of Vehicle Detection System
- 2D to3D Conversion Method for3DTV Application
- Design of Embedded Video Surveillance System Based on DaVinci Technology
- Design and Implementation of Mobile Video Surveillance System Based on Intelligent Terminal
- Design of IP Camera Based on DM365DSP Platform
- Design of Remote Mobile Video Monitoring System
- Research and Implementation of Intelligent Video Surveillance System Based on RTSP
- Design of Wireless Video Monitoring System of Water Supply Well Based on FPGA