AVS Decoding Algorithm Research and Optimized Implementation on DSP
- Author
- WeiXiaoJun
- Advisor
- ZhangGang
- School
- Taiyuan University of Technology
- Major
- Electronics and Communication Engineering
- Classification
- TN919.81 Image coding
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 2
- Citations
- 0
Abstract
AVS (digital audio and video codec technology),which is taken as source coding standards by our own intellectual property and its video portions’ standards have the properties that contain very high compression coding efficiency and low complexity algorithm, is suitable for development in the embedded platform and widely used in the fields such as digital TV, web camera. With the rapid development of embedded systems, the mobile terminal to transmit video streams, whose use volume is smaller and appearance is more attractive, becomes the mainstream increasingly. Texas Instruments company provides an open Multimedia Application Platform-OMAP3530(Open Multimedia Application Platform), which is a system-on-chip (SoC). It not only has the very small size and power consumption, but also has more efficient processing of multimedia data streaming video. In view of the implements that OMAP3530platform AVS video decoder real-time decoding704*576format video stream, this topic’s main research content, work and achievements are as follows:Firstly, this paper introduces the AVS video standard system structure, gives the overall block diagram of the decoder, analyses the decoder and the related core technologies of AVS video decoder from the two parts of parsing and decoding, researches the core module of the decoder algorithm, highlights the entropy decoding, the intra and inter frame prediction, the filter.Secondly, in view of the characteristics of DSP, the paper adjusts the overall process of AVS video decoder transplanted into the DSP platform, divides the I-frame decoding and PB-frame decoding separately, gives the important flowchart of the decoder module, and analyses the decoder decoding complexity of the main function by the DSP platform testing tools.Finally, the paper implements the C-level optimization and assembly optimization for the core module of the decoder, emphasis AVS entropy decoding variable length code decoding features, improves the look-up table by the different packet reordering of the code word, make it can depredate complexity on the DSP, and adjusts the table storage structure accordingly to reduce the number of look-up table, reduces the complexity of the look-up table through the assembly language. To further enhance the decoding speed and improve the quality of the decoded image, the paper also proposes a new the boundary loop filter mode, reuses the current macro block data at the greatest extent by the assembly code to save loop filter required time.Through the comprehensive test, we can see that using the assembly instructions optimizer not only saves a lot of storage space, but also the code execution cycle is only23.8%of the original decoder and improves the decoding efficiency to reach the goal of real-time decoding requirements under the premise that not changing the image quality.
Table of contents
Summary 3-5
ABSTRACT 5-10
Chapter 1 Introduction 10-20
1.1 AVS code stream 10 - 11
1.2 AVS decoder framework introduced 11-12
1.3 AVS decoder main Profile 12-17
1.3.1 entropy decoding 12 -13
1.3.2 inverse scan 13
1.3.3 inverse quantization and inverse transform 13-15
1.3.4 intra prediction 15
1.3.5 inter prediction 15-16
1.3.6 sub-pixel prediction 16
1.3.7 filtering 16-17 <br / > 1.4 significance and research papers organizational structure of meaning 17-20
1.4.1 research topic 17-18
1.4.2 organizational Structure paper 18 -20
Chapter 2 decoder implemented on the DSP 20-38
2.0 OMAP3530 About 20-21
2.1 TMS320C64x DSP 21 - 24
2.2 software development tools CCS3.3 24-26
2.3 AVS decoder transplant realize 26-30
2.3.1 modify variables and some functions 26-28
writing 2.3.2 CMD file 28-29
2.3.3 compile error summary 29-30
2.4 AVS decoder modules implementation process 30-35
2.5 decoder complexity 35-38
2.5.1 decoder main function 35-37
2.5.2 The main module complexity analysis 37-38
Chapter 3 AVS decoder overall optimization 38-50
3.1 project -level optimization 38-40
3.1.1 compiler options to optimize 38
3.1.2 caching features to optimize 38-40
3.2 program -level optimization 40-43
3.2.1 modify the function and delete redundant function 40-41
3.2.2 inline function optimization 41-42
3.2.3 loop unrolling 42-43 <br / > 3.3 assembler level optimization 43-50
3.3.1 linear assembly optimization 43-45
3.3.2 instruction set optimized 45-47 <br / > 3.3.3 parallel execution optimization 47-48
3.3.4 software pipelining 48-50
Chapter 4 decoder compilation optimization 50-86 <br / > 4.1 entropy decoding 50-65
4.1.1 entropy decoding algorithm 50-56
4.1.2 stream read optimization 56-58 <br / > 4.1.3 -table queries and code table handover optimization 58-64
4.1.4 analysis of optimization results 64-65
4.2 inverse scan 65-68
4.2.1 inverse scanning algorithm analysis 65-66
4.2.2 compilation realize 66-67
4.2.3 analysis of optimization results 67 - 68
4.3 inverse quantization 68-70
4.3.1 algorithm Analysis 68
4.3.2 compilation realize 68-69
4.3 .3 optimization results analysis 69-70
4.4 loop filter 70-77
4.4.1 algorithm Analysis 70-72
4.4.2 Implementation and optimization analysis 72-77
4.4.3 analysis of optimization results 77
4.5 intra prediction 77-82
4.5.1 obtain forecasts mode 77-78
4.5.2 algorithm Analysis 78-79
4.5.3 compilation realize 79-81
4.5.4 analysis of optimization results 81-82
4.6 sub -pixel interpolation 82-86
4.6.1 interpolating chroma samples analyzed 83-84
4.6.2 compilation achieve 84-85
4.6.3 analysis of optimization results 85-86
Chapter 5 AVS decoder performance analysis 86-88
Chapter 6 summary and Outlook 88-90
6.1 summarizes topics 88
6.2 follow-up prospects 88-90
References 90-94
Thanks during 94-96
graduate published papers 96
Related dissertations
- Research and Development of Froth Flotation Video Surveillance Hardware Platform Based on DSP
- Intelligent Video Surveillance System Based on DSP
- Optical Fiber Perimeter Alarm System Based on DSP and FPGA
- The Design of Monitoring System for the Photovoltaic Plant Based on DSP
- Design and Realization of Farm Machinery Working State Real Time Wireless Monitoring System
- Design and Implementation of Multi-channel Data Acquisition System
- Research of Electrostatic Monitoring Signal Conditioning Technology
- Research on Measuring System of Mid-Infrared Photoelectric Autocollimator
- Wire Rope On-line Detection System Design Based on DSP
- IMU Data Acquisition and Processing System Design and Realization Based on DSP
- Design of Marine Toxin Analvsis System Based on ECIS and Image Detection
- The Design of Multi-channel Optic-electronic Signal Acquisition and Processing System
- The Study Oh Fuzzy Controlin TIG Welding Prossess
- Control Method Research and Controller Development of AGV Based on DSP
- Research on Tension Control System of Fiber Placement Machine
- Research on Drive and Control Technology of Electromagnetic Traveling-wave for Automated Conveying System
- Research on the Slave Station for AC Servo Driver Based on DeviceNet Fieldbus
- Modeling and Implementation of Motor Function Module Based on PLCopen
- The Design and Research of Embedded Multi-axis Control System
- Design of the Measure and Control Terminal Based on EtherCAT Fieldbus