The Design and Optimization of H.264 Video Encoder Based on DM643
- Author
- ChenXianYong
- Advisor
- ZhuWeiXing
- School
- Jiangsu University
- Major
- Agricultural Electrification and Automation
- Classification
- TN919.81 Image coding
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 73
- Citations
- 0
Abstract
H.264/AVC as the the latest video encoding standards,which has been studied deeply in academia and engineering fields and begins to practical application,jointly developed by the ITU-T VCEG and ISO/IEC MPEG.Comparing with the previous video coding standards,H.264 has incomparable advantages on compression rate, image quality,robust transmission,but superior performance is at the heavy price of complexity.When the standards was introduced,it is difficult to apply into actual projects,but with the deep study and the attraction of huge potential market,design a real-time video encoder has became the competing goal for the major manufacturers and research institutes recently.Focuse on the theme of design,migration and optimization a real-time H.264 video encoder,this paper worked from the establishment of MATLAB simulation model to new rapid improvements algorithms,and then to the transplant and optimize the whole process based on VC++ and DM643 platform.In the motion estimation module,because most fast algorithms easily lead to local minimum or the wrong search direction,a new block-matching algorithm based on muti-octagon-grid was put forward in the paper and the search speed was improved by 42.4%;In the intra-prediction module,this paper made a pre-detection by using the sobel algorithm to pick out the redundant candidates and the intra-predict speed was improved by 61%. In the inter-prediction module,the paper took various measures in advance based on CBPand MVD as well as early SKIP mode decision and the inter-predict speed raised 53%.Based on the realization of basic level design requirements,this paper completed cutting,grafting and optimizing of H.264 video algorithm under the VC++ and achieved the performance CIF 44fps.Finally,the article completed code-level, system-level and instruction-level optimization on TI DM643 platform and achieved the performance CIF 20fps.To achieve the considerable image quality as the origin’s,this article seeks to reduce the complexity and improve the speed as much as possible.The improved algorithm proposed in paper provides a theoretical support and the design,migration and optimization based on VC++ and TI DM643 will provide a reference design for the real-time H.264 encoder and has important theoretical and practical significance for the development of practical products.
Table of contents
Abstract 5-6
ABSTRACT 6-9
first chapter 9-14
1.1 research purpose and significance of 9-10
1.2 video encoding technology Research 10-12
1.3 The main research contents and methods 12-14
Chapter II H.264 encoding algorithm model simulation 14-23
2.1 H.264 encoding algorithm the overall framework of the basic structure of 14
2.2 H.264 key modules algorithm modeling and simulation 14-22
2.2.1 motion estimation part of the model simulation 14-18
2.2.2 intra prediction mode prediction model simulation 18-20
2.2.3 interframe prediction model simulation 20-22
2.3 Summary 22-23
key modules of the third chapter of H.264 algorithm optimization 23-45
3.1 algorithm complexity assessment and hot 23-24
3.2 motion estimation part of the algorithm to optimize 24-32
3.2.1 based on block matching motion estimated 25
3.2.2 dynamic window adjustment DSR 25-26
3.2.3 macroblock adaptive threshold and criteria for early termination 26-27
3.2.4 UMHexagonS is algorithm 27
3.2.5 UMHexagonS Algorithm 27-30
3.2.6 experimental data and performance analysis 30-32
3.3 intra prediction module algorithm optimization 32-36
3.3.1 I frames Intra block prediction mode algorithm 33-35
3.3.2 P frame in Intra prediction mode selection 35-36
3.4 inter mode selection algorithm to optimize 36-43
3.4.1 Adaptive macro block-based fast coding mode selection algorithm 36-40
3.4.2 Interframe SKIP mode of early pre-judgment and sentencing guidelines 40-42
3.4.3 inter mode selection algorithm simulation results and performance analysis 42-43
3.5 Summary 43-45
H.264 algorithm in VC platform porting and optimization 45-52
4.1 transplant overall module design 45-46
4.1.1 Functional Analysis and design requirements 45
4.1.2 transplant source code to select 45-46
4.2 algorithm cutting 46-47
4.3 overall optimization program 47-51
4.3.1 optimization strategy 47-50
adaptation and validation of 4.3.2 program optimization
50-51
4.4 Performance Evaluation 51-52
Chapter DM643 hardware and software optimization strategy 52-66
5.1 system architecture framework 52
5.2 DM643 two internal memory structural features 52-54
5.3 Memory Cache optimization strategy 54-56
5.4 algorithm-level optimization 56
5.5 build system optimization 56-59
5.5.1 set the compiler optimization options 57-58
5.5.2 set compiler directive or qualifier optimization 58-59
5.6 program optimization 59-62
5.6.1 file read optimization strategy 59-60
5.6.2 inline function optimization strategy 60
5.6.3 look-up table method strategy 60
5.6.4 EDMA transfer strategy 60-61
5.6.5 to optimize and improve circulation structure 61-62
5.6.6 packaging strategy 62
5.7 linear assembly optimization 62-64
5.8 porting and optimization of performance evaluation 64-66
Chapter VI Summary and Outlook 66-68
6.1 full-text summary 66-67
6.2 follow-up Outlook 67-68
References 68-70
thank 70-71
in subject 71-72
of the master's degree during the academic 72
Related dissertations
- Video Compression Techniques Based on H.264and Its Application in the Video Monitoring System
- Research of Video Compression on Micro-UAV
- Research and Implementation on the MFHS Algorithm Based on H.264
- Research of Acceleration Algorithms of Motion Estimation Based on H.264
- Design and Realization of Video Monitoring System Based on H.264
- Research on H.264Video Coding Standard and Application in Embedded Video Surveillance System
- The Research of Motion Estimation Based on H.264/AVC
- Research of H.264Prediction Algorithm
- Research of Motion Estimation Algorithm in Video Compression
- Design and Implement of Vido Capture,display and Storage System Based on Android Operating System
- Research of Image Transmission System in Micro-UAV
- Research on the Optimization of the System of Urban-rural Integrated Residents Social Pension Insurance of Laiwu City
- Optimization Study of a Insurance Company Ningxia Branch’s Business Structure
- The Optimization of Fund Contract in the Perspective of Governance Structure
- The Personal Loans Centre Process Optimization Study of Ccb Shaanxi Branch
- Research on Optimization of commercial bank loans business processes Chinese micro enterprise
- Optimization of Commercial Bank Credit Rating Index System for SMEs
- An Optimization Study on Proscenium Support Facilities of Commercial Banks on Queuing Theory
- The Credit Process Optimization of A Bank
- The branches of commercial banks, credit risk management process - a case study of A bank D branch cases