Transplantation and optimization based on TMS320DM642 AVS decoder
- Author
- LiHuiZong
- Advisor
- ChenLeiZuo
- School
- University of Electronic Science and Technology
- Major
- Applied Computer Technology
- Classification
- TN764 Decoder
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 103
- Citations
- 2
Abstract
As a second-generation video codec standard, AVS has been widespread support and has been applied in many fields. Compared with the previous standard video codec, AVS video codec standard introduction of many new theories to achieve the core algorithm to improve the performance and efficiency of the codec. However, efficient encoding and decoding efficiency is established on the basis of the high computational complexity, which presents a challenge for achieving real-time encoding and decoding hardware development platform. The TMS320DM642 is the production of a high-performance Texas Instruments DSP chips. It uses a very long instruction word structure; having 8 mutually independent functional unit logic function unit 6 includes two multipliers, these functional units can be performed simultaneously in parallel data operation; two register groups, two groups of 64 general-purpose register; DM642 chip provides two storage structures, which makes it possible to provide a wealth of data storage space; powerful chip integrated peripherals, including three video ports. These features of the DM642 chip, so that it can provide the necessary conditions AVS codec system. The goal of this paper is to transplant the RM50d DM642 platform and optimize it, and ultimately get a real-time based on the DM642 platform can decode decoder. This work is divided into two parts. Part I: AVS video decoder ported to the the DM642 platform above. DM642 platform development environment on the PC platform development environment is not the same resources in the transplant process, this paper introduces the idea of ??embedded software development, and to adjust the memory allocation, access mode, variable definitions, run support library and other aspects, and ultimately get the decoder can run correctly in DSP platform. Part II: successfully transplanted to the decoder on the DM642 platform optimized. RM50d decoding program is prepared in accordance with the AVS standard. The characteristics of the decoder is readability first effectiveness. This makes it the core module decoding speed is very slow, ported to the DSP, the efficiency is very low, its optimization. The The paper analyzes inefficiencies of RM50d, combined with the characteristics of the DM642 chip, optimized RM50d. Optimization process, using a variety of optimization methods, including: re-set the variable structure adjustment of storage space, adjust the structure of the program, the introduction of software pipelining techniques, writing linear assembly code, using the the optimizing compiler option strategy. Through a series of optimization RM50d decoder to achieve real-time decoding the DM642 software simulation environment. The experimental comparison optimize around the decoder, the decoder decoding speed implemented in this article has been greatly improved, and basically meet the requirements of real-time decoding video streams.
Table of contents
Abstract 4-5
Abstract 5-8
Chapter Introduction 8-11
1.1 subject sources 8
the 1.2 research background and research significance 8-9
1.3 status quo at home and abroad 9-10
1.4 papers work, innovation and chapters 10-11
1.4.1 paper work and innovation 10
1.4.2 thesis chapters 10-11
AVS video codec standard 11-23
2.1 grade level 12
2.2 entropy decoding 12-14
2.3 inverse scanning 14-15
2.4 inverse transform 15-16
2.5 intraframe prediction 16-19
2.6 interframe prediction 19-22
2.7 This chapter subsections 22-23
Chapter III the TMS320DM642 systems development platform 23-30
3.1 TMS320DM642 structural features 23-24
3.2 TMS320DM642 storage space 24-25
3.3 TMS320DM642 software development environment The 25-29
3.3.1 CCS code generation tool 26-27
the 3.3.2 CCS code profiling tools 27
3.3.3 using CCS DSP software development process 27-29
3.4 Select DM642 29
3.5 This chapter Summary 29-30
Chapter AVS decoder frame design are found; 30-38
4.1 AVS decoder to achieve the overall design of the framework 30-32
4.2 core algorithm framework design 32-37
4.2.1 code the stream parsing module framework design 32-34
4.2.2 intra prediction module framework design 34-35
4.2.3 inter prediction framework design 35-37
4.3 This chapter subsections 37-38
Chapter AVS decoder transplantation and optimization 38-73
5.1 transplantation and optimization purposes 38
5.2 AVS decoder transplant 38-42
5.2.1 with the CCS compiler code 39
5.2.2 data variable declaration 39
the 5.2.3 memory mapped mode 39-41
5.2.4 library functions 41
the
adjustment of 5.2.5 variable type 41
5.2.6 configured development environment 41-42
5.3 AVS's optimization 42-71
5.3.1 compiler optimization 43-44
5.3.2 C code level optimization 44-47
the overall framework
5.3.2.1 decoder optimization 44-45
5.3.2.2 function module optimization 45
5.3.2.3 variables and data structures optimized 45-46
5.3.2.4 code re into optimization 46
5.3.2.5 function call optimization 46-47
5.3.2.6 variables initialize the optimization 47
5.3.3 using a linear assembly language optimized code 47-71
5.3.3.1 linear assembly optimized C code of principle 48-49
5.3.3.2 entropy decoding module optimized 49-51
5.3.3.3 inverse scanning inverse quantization the module optimization 51-53
5.3.3.4 inverse transform module optimization 53-58
5.3.3.5 intra prediction optimization 58-62
5.3.3.6 Interframe interpolation optimization 62-68
the 5.3.3.7-frame reconstruction optimization 68-71
5.4 test conclusions 71-72
5.5 This chapter Summary 72-73
Chapter Summary and Outlook 73-75
Acknowledgements 75-76
the
References 76-79
personal resume and Master periods papers 79-80
Related dissertations
- Implementation and Optimization of AVS Decoder Based on OMAP3530
- Research of AVS Video Encoding/Decoding Standard and Realization Based on DSP
- Research on AVS Video Decoding and Optimization of Decoding Key Module
- Perform AVS Video Decoder Base on TMS320DM642
- AVS Decoder Optimization Based on DM642
- The Development of AVS Source Decoder Base on TMS320DM642
- Research on the Misty and Smoggy Image Processing Based on DSP
- The Research of Swing Tracking Technology on Autocollimation Measurement
- Research on the Iris Recogniton System Based on DSP
- Design of Embedded Linux Mobile Video Monitoring System Based on S3C2440
- Optimization and Implementation of AVS Mode Decision Algorithm
- Research on AVS video watermarking algorithm based on DCT
- The Design of6LoWOAN Gateway Based on Contiki
- The Research and Realization of AVS Video Encoder Based on TMS320C6474
- On Transplant of the Educational Institution
- On the Perfection of the Legal System in the Human Organ Transplantation in China
- The Implementation and Optimization of MPEG-4AAC Codec Based on the DM642Platform
- The Experimental Research of Angiogenesis of Endothelial Rogenitor Cells Transplant in Rats with Acute Pancreatitis
- Transplantation Effects of iPMSCs Regulated by Conophylline via PI3K Pathway in Diabetic Mice
- Analysis and Design on Elevator Intelligent Control System