The Optimization of AVS Video Encoder Performance and the Implementation on DSP

Author
LinYu
Advisor
LiuYunHai
School
Zhejiang University
Major
Information and Communication Engineering
Classification
TN919.81 Image coding
Degree
Master's thesis
Year
2008
Downloads
185
Citations
1

Request the full text

Abstract

With the advent of the information age, multi-media technology has infiltrated every corner of life. Video and image are important components of the multimedia information, however, the digitized video signals in the large volume of data is very alarming, which led, the huge volume of video and image data acquisition, storage,and transmission become the biggest bottleneck in the development of multimedia applications. Therefore, the video data compression efficiency is the key technologies to reduce the network bandwidth,and save storage capacity. But video compression algorithm has great complexity of computing,and real-time processing demands on general processors have become very strict, so the various dedicated high-speed digital signal processor (DSP) was widely used.As a common basis of the digital audio and video industry standard,AVS standard is widely used in high-definition and standard-definition digital television,laser disc,multimedia communications of mobile,video conferencing and surveillance,broadband network streaming media, and digital film industries. Compared with other similar standard,AVS has two main advantages: Based on the partial opening and autonomous technology,it has constructed an open standard, which properly resolves the licensing issues;China’s increasingly powerful industrial strength and the market provides a good soil. With these two wings, AVS is most likely to become the standard for the second-generation audio-video coding standard in the world. Currently AVS standard group has provided the reference software for enterprise,but the time efficiency of encoder is low and when the RDO function is closed,the image quality is relatively poor. Therefore,further improvement of AVS encoder’s time efficiency and image quality is very necessary. Now many enterprises of China hope that the AVS standard applied to the actual products (such as digital television or monitor areas),which would further request that the image quality of AVS encoder is competitive, and real-time encoding can be achieved. Under such circumstances,the performance optimization for AVS encoder and improvement of the time efficiency is of great significance. TI’s DM642 development board is specifically for multimedia applications,and its optimizer allows developers to compile code in the form of linear assembler,so as to shorten the development cycle. At the same time its software pipelining operations will greatly enhance the efficiency of the implementation process. It provides a lot of data packing instructions,in order to process more data with one memory visit.The research in TI’s DM642 platform to achieve AVS encoder,including the improvement of AVS encoder’s performance;With the structural characteristics of DSP and memory limit,to generate a reasonable C code;The transplantation of C code from PC platform to DSP platform; the Optimization of the code on DSP platform. Finally we can produce a AVS encoder which can generate the bit stream decoded by the decoder of AVS reference software successfully, and can achieve the real-time encoding with video of CIF format.

Table of contents

Abstract 3-4 ABSTRACT 4-8 Chapter 1 Introduction 8-15 1.1 video compression technology 9-12 1.1.1 video signal 9 1.1.2 video compression standard profiles 9-12 1.2 encoder to achieve the Platform 12-13 1.3 of this article content and organization 13-15 key technologies in Chapter 2 AVS-P2 video standard 15-20 2.1 intra prediction 15-16 2.2 interframe prediction 16-17 2.3 transform quantify 17-18 2.4 loop filter 18-19 2.5 entropy coding 19 2.6 This chapter Summary 19-20 Chapter 3 AVS encoder system design 20-32 3.1 AVS encoder system framework 20-21 3.2 AVS encoder data structures 21-27 3.2.1 variable types defined 22 3.2.2 encoder data structures 22-27 The 3.3 sliding window frame memory management 27-28 3.4 PING-PONG buffer AVS encoder 28-30 3.5 AVS encoder software process 30-31 3.6 This chapter Summary 31-32 Chapter 4 AVS encoder encoding quality to enhance 32-40 4.1 Motion Estimation 32-34 4.2 mode select 34-35 4.3 SKIP mode based on the coefficient value analysis to predict 35-36 4.4 AVS encoder encoding quality to improve results 36-39 4.5 of this chapter Summary 39-40 Chapter 5 AVS encoder bit rate control algorithm improvement 40-56 5.1 bit rate control based on motion complexity 41-54 5.1.1 macroblock types divided 41-42 5.1.2 MBRC bit rate control process 42-43 5.1.3 macroblock type QP determine 43-46 5.1.4 MBRC frame-level rate control 46-47 5.1.5 Experimental results 47-54 5.2 This chapter Summary 54-56 Chapter 6 AVS encoder on the DSP transplantation and optimization 56-83 6.1 TMS320DM642 chip introduced 56-57 the the 6.2 encoder hardware platforms Profile 57-58 6.3 AVS encoding module data and code area allocated 58-62 6.4 AVS encoder C code on a DSP platform optimized 62-66 the the 6.4.1 data types size optimization consider 62 6.4.2 compile C language program 62-63 6.4.3 memory related 63 6.4.4 use inline functions 63-64 6.4.5 use intrinsics 64 6.4.6 Data package processing 64-65 6.4.7 optimization numerical operating 65 6.4.8 to adjust the circulation 65-66 6.5 The linear assembly code written 66-69 6.6 specific module optimization analysis 69-80 6.6.1 Integer DCT transform module and quantitative modules 69-74 6.6.2 Integer DCT inverse transform module and inverse quantization module 74-76 6.6.3 interpolation module 76-80 6.7 AVS encoder final performance 80-82 6.8 This chapter Summary 82-83 Chapter 7 Summary and Outlook 83-84 the References 84-87 of research in graduate school during 87-88 Acknowledgements 88

Related dissertations

  1. Research and Development of Froth Flotation Video Surveillance Hardware Platform Based on DSP
    GuoJian ·Central South University ·2013 ·Master's thesis
  2. Intelligent Video Surveillance System Based on DSP
  3. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  4. The Design of Monitoring System for the Photovoltaic Plant Based on DSP
  5. Design and Implementation of Multi-channel Data Acquisition System
  6. Research on Measuring System of Mid-Infrared Photoelectric Autocollimator
  7. Wire Rope On-line Detection System Design Based on DSP
  8. IMU Data Acquisition and Processing System Design and Realization Based on DSP
  9. Design of Marine Toxin Analvsis System Based on ECIS and Image Detection
    SuKaiZuo ·Zhejiang University ·2014 ·Master's thesis
  10. The Design of Multi-channel Optic-electronic Signal Acquisition and Processing System
    WangJianFei ·University of North ·2014 ·Master's thesis
  11. The Study Oh Fuzzy Controlin TIG Welding Prossess
    ZhangJun ·Shanghai Jiaotong University ·2008 ·Master's thesis
  12. Control Method Research and Controller Development of AGV Based on DSP
    SunXiaoMeng ·Harbin Institute of Technology ·2012 ·Master's thesis
  13. Research on Tension Control System of Fiber Placement Machine
    LiuJiCheng ·Harbin Institute of Technology ·2012 ·Master's thesis
  14. Research on Drive and Control Technology of Electromagnetic Traveling-wave for Automated Conveying System
  15. Research on the Slave Station for AC Servo Driver Based on DeviceNet Fieldbus
  16. Modeling and Implementation of Motor Function Module Based on PLCopen
  17. The Design and Research of Embedded Multi-axis Control System
  18. Design of the Measure and Control Terminal Based on EtherCAT Fieldbus
    YuZhang ·South China University of Technology ·2013 ·Master's thesis
  19. Multifunctional Position Detection and Integration Method Research of Permanent Magnet AC Servo System
    HuDongXuan ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  20. 5D film motion experience platform motion control card design