Transplantation and Optimization of Independent Video AVS Algorithm on DSP
- Author
- LiuLingZhi
- Advisor
- ZhangGang
- School
- Taiyuan University of Technology
- Major
- Communication and Information System
- Classification
- TN919.81 Image coding
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 29
- Citations
- 0
Abstract
With the rapid development of information technology, video has become one of the most important parts in modern human life. And the AVS ("Information Technology Advanced Audio and Video Coding" standard) is the first Chinese audio-video coding standard with independent intellectual property rights, which is also the basis standard in digital audio and video industry. The AVS standard includes four main technical part-systems, audio, video and media copyright management, and a support standard-consistency test. AVS video is the second part of AVS standard. Now, the baseline-profile of video has been established. The developments of AVS encoder/decoder become the key factor to restrict the industrialization of AVS.OMAP3530produced by Texas Instruments Company is a new generation of mobile application processor. ARM CortexTM-the A8core with flexible architecture, TMS320C64x DSP core, the image library (IMGLIB) and the rich peripherals resources are integrated in a single chip. TMS320C64x DSP core has two core has two data channels, eight independent functional units (.L1,L2,.S1,.S2,.D1,.D2,.M1and.M2), including six arithmetic logic functional units and two multipliers and two data cross pathways. The DSP core has very long instruction word (VLIW), which can be parallel processing eight32-bit instructions in each clock cycle, and it uses double16-bit expanded function, which can finish the operations of addition and subtraction, multiplication, shift and comparison of double16-bit.The goal of this paper is transplanting the C program of AVS decoder to OMAP3530platform and optimizing it, finally getting a decoder based on OMAP3530platform, which can real-time decode704*576AVS streaming. This paper mainly can be divided into the following two aspects.The first part of this paper is transplanting the C program to OMAP3530platform. Because of C compiler environment between the DSP platform and VC8.0platform has some differences, it need to be transplanted, including adding relevant documents, selecting storage model, header definition, the definition and initialization variables and the redistribution of storage space. Finally, we obtain a decoder which can be normally operated in DSP platform.The second part is optimizing the decode, including adjusting the code structure of decoder, reinstalling variable structure, adjusting the storage space, using optimization compiler options and writing manual assembly code. After a series optimizations to the C program based on DSP, we obtain an approximately real-time decoder in the simulation environment of OMAP3530.By comparing the decoder before and after the optimization, the speed of decoder has been significantly improved in this paper, and basically achieved the requirements of real-time decoding704*576AVS streaming.
Table of contents
Summary 3-5
ABSTRACT 5-11
first chapter 11-27
1.1 Background and Significance 11
1.2 background 11-26
1.2.1 development Status domestic video compression coding standard 12-14
1.2.2 AVS video standard outlined 14-19
1.2.3 OMAP3530 platform Introduction 19-23
1.2.4 software development environment CCS3.3 major work 23-26
1.3 papers and content arrangement 26-27
chapter AVS decoder transplant 27-33
2.1 decoder transplant purposes 27
2.2 code migration adjustments required 27-33
2.2.1 header files and library functions modify 27-28
2.2.2 data variables and declarations 28 <br / > 2.2.3 variable types of adjustments 28-29
adjusted nbsp 2.2.4 storage mode ; 29-30
storage space allocated 2.2.5 30 -33
Chapter AVS decoder optimization 33-59
3.1 overall process optimization 33-36
3.2 project -level optimization 36 - 44
3.2.1 compiler options to optimize optimize 36-38
3.2.2 storage space 38-44
3.3 C code level optimization 44 -49
3.3.1 function module modify 44-46
3.3.2 using inline functions (intrinsic functions) 46-47
3.3.3 C cycle program optimization 47-48
3.3.4 other optimization methods 48-49
3.4 assembler level optimization 49-59
3.4.1 use parallel instructions 49-51
3.4.2 fill delay slots 51-52
3.4.3 to reduce memory (bank) conflict 52
3.4.4 compilation loop code optimization 52
3.4.5 wordlength optimization 52-53
3.4.6 using software pipelining 53-54 <br / > 3.4.7 using a special -purpose instructions optimize 54-59
Chapter IV AVS key modules 59-75
4.1 entropy decoding module 59-62
4.1.1 entropy decoding algorithm analysis 59-60
4.1.2 entropy decoding algorithm optimized to achieve 60-62
4.1.3 analysis of optimization results 62
4.2 integer IDCT transform module 62-65
4.2.1 integer IDCT transform algorithm analysis 62-63
4.2.2 integer IDCT transform optimized to achieve 63-64
4.2.3 analysis of optimization results 64-65
4.3 inverse quantization module 65-67
4.3.1 inverse quantization the analysis algorithm module 65
4.3.2 inverse quantization optimization module implementations 65-66
4.3.3 analysis of optimization results 66-67
4.4 intra prediction module algorithm analysis 67-71
4.4.1 intra prediction module 67-68
optimized implementation of intra prediction module 4.4.2 68-70
4.4.3 analysis of optimization results 70-71
4.5 loop filter module 71-75
4.5.1 loop filter module algorithm analysis 71-73
4.5.2 optimized loop filter module implementations 73-74
4.5.3 analysis of optimization results 74-75
Chapter V outlook and summary major work 75-77
5.1 papers completed 75
5.2 problems and subsequent research 75-76
5.3 Prospects 76-77
References 77-81
Thanks during 81-83
graduate published papers 83
Related dissertations
- The Research and Realization of AVS Video Encoder Based on TMS320C6474
- Implementation and Optimization of AVS Decoder Based on OMAP3530
- 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