Implementation and Optimization of Video Encoder Based on
- Author
- ZhaoShuai
- Advisor
- WangHongYu
- School
- Dalian University of Technology
- Major
- Electronics and Communication Engineering
- Classification
- TN919.81 Image coding
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 44
- Citations
- 0
Abstract
With the development of modern society, multimedia technology has penetrated into every aspect of our daily lives, such as video conferencing, video calls etc. At the same time, due to the rapid development of mobile Internet, video communication on the embedded mobile platform is becoming an important aspect of people’s lives. In the context of building a harmonious society, effective video surveillance is particularly important. These involve a core problem——video encoding, so how to achieve efficient video encoding on embedded mobile platform has been very necessary.H264video encoding standard, because of its high compression ratio, excellent coding quality and good network adaptability, is widely used in a variety of video encoding occasion and becomes today’s mainstream video encoding algorithm. x264encoder achieves H264video coding standard very well, and because of its open source code, it is choosen as the video encoder used in this article.There are many types of embedded platform, typically such as ARM, DSP and FPGA platform. TI’s new embedded mobile platform—OMAP3530dual-core platform, integrating with ARM and DSP, can take advantage of high-performance video processing capability of DSP platform, and can also through ARM core process flow control, is very suitable for the mobile platform to realize efficient video encoding.In order to realize video encoding on OMAP3530mobile platform, firstly x264algorithm should be transplanted to DSP-side. To meet the real-time monitoring application, code must be optimized after transplantation. In this paper, I through project-level, C code-level and Cache-level to optimize code, and use software pipeline, linear assembly optimization method to enhance the rate of code encoding. After optimization, for CIF format, real-time video encoding rate can reach more than15fps.To realize video encoding on dual-core platform, optimized algorithm code should be packed by xDM standard to meet Codec Engine architecture. After encapsulation, the entire system architecture is:DSP-side achieve specific video encoding algorithm while ARM-side transparently call DSP-side to video encoding. By multi-threaded operation, ARM-side sends encoded video stream to the destination terminal in real-time. In conclusion, this article achieve a video encoder based on OMAP3530.
Table of contents
Summary 4-5
Abstract 5-8
1 Introduction 8-11
1.1 Background and Significance topics 8-9
1.2 dissertation research 9-10
1.3 thesis structure 10-11
2 OMAP3530 development platform Introduction 11-17
2.1 OMAP3530 system hardware platform 11-12
2.2 ARM subsystem 12-13
2.3 DSP subsystem 13-15
2.4 ARM and DSP interaction 15-16
2.5 Summary 16-17
3 H264 video coding standard 17-25
3.1 H264 algorithm outlined 17 -18
3.2 H264 standard key technology 18-22
3.2.1 intra prediction coding 18-19
3.2.2 inter-frame predictive coding 19-20
3.2.3 integer transform and quantization 20-21
3.2.4 -loop deblocking filter 21
3.2.5 scanning and reordering 21-22
hierarchy 3.3 H264 is 22-23
3.4 x264 encoder 23-24
3.5 Summary 24-25
4 encoder transplantation and optimization on the OMAP3530 25-51
4.1 x264 transplant DSP side 25-30
4.1.1 DSP end build a software development environment 25-27
4.1.2 x264 code cutting 27-28
4.1.3 x264 code porting 28-30
4.2 x264 at the end of the DSP optimized 30-49
4.2.1 compiler optimizations 31-32
4.2.2 C code optimization 32-46 <br / > 4.2.3 memory optimization 46-49
4.3 optimization results 49-50
4.4 Summary 50-51
5 xDM package with ARM side applications 51-69
5.1 OMAP3530 SDK development environment to build 51-52
5.2 Codec Engine 52-55
5.2.1 Codec Engine framework 52-54
5.2.2 Codec Engine API 54-55
5.3 xDM package 55-62
5.3.1 xDAIS standard 55-57
5.3.2 xDM standard profiles 57-59
5.3.3 xDM standard package 59-61
5.3.4 Codec Server configuration 61-62
5.4 ARM -side application 62-67
5.4.1 main thread 63-64
5.4.2 thread of control 64-65
5.4.3 video threads 65-66
5.4.4 transfer threads 66-67
5.5 experimental results 67-68
5.6 Summary 68-69
6 Conclusion and Outlook 69-70
References 70-73
Thanks 73-74
Related dissertations
- Design and Implementation of AVS Video Decoder Based on DaVinci Technique
- Design and Implementation of Network Video Surveillance System Based on DM6437
- 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
- The Research of Mode of Corporate Governance of China’s Trust Industry Defect and Optimization
- Under the New Situation of the International Monetary System Unbalance Influence on China’s Foreign Exchange Reserves and Its Optimization
- The Study on Constructing Harmony in Urban Communities
- An Investigation of the Management System of Yancheng Local Tax Inspection
- Based on the Subjective Well-being to Optimize the China’s Rural Public Expenditure
- Research on China’s Tax Cost and Optimization
- Analysis on Tax Scale Optimization of Liaoning Province
- Study on the optimization of tax system of China's current stock market
- The Optimal Decision of Slotting Fee and Percentage of Revenue under the Consignment Model