The Realization and Optimization of AVS Video Encoder on the DSP

Author
HongJinPing
Advisor
LiuKaiHua
School
Tianjin University
Major
Communication and Information System
Classification
TN919.81 Image coding
Degree
Master's thesis
Year
2009
Downloads
33
Citations
1

Request the full text

Abstract

AVS(Audio Video Coding Standard)is the second-generation of audio and video coding-decoding standard ,which is owned by China ,it has three major characteristics of advanced, independent and opening. The AVS video encoder based on DSP can be widely used in mobile multimedia communications, video conferencing, video surveillance andso on. And of course it has broad prospects.This topic proposed a kind of AVS video coding system design proposal, based on the DM642 chip, that is transplanting the encoder code which can play on PC to the DSP platform, and using the DSP characteristic to carry on the optimization to the code, and at last realize the high performance coding system.In the article, first, some kinds of international standard were introduced, then, the AVS standard’s gound and significance, and next, the key technologies were discussed in detail which the AVS video standard uses.Based on this, the referenced code was analyzed ,using VTune software ,to seek for the pivotal functions with a good value to be optimized. Through the improvement of the algorithms of luminance interpolation ,motion estimation and the intra prediction, the coding speed of the encoder increased to a large extend with only little decline of performance.In the paper, the realization and optimization of the video encoder on the DSP platform were mainly discussed. First the hardware architecture and software development environment of the DM642 platform were introduced, and the process of transplantation and optimization of AVS encoder from the PC platform to the DM642 platform were discussed. And there are some methods to use for optimizing, for example: removing the redundant code, modifying the data structure, optimizing the loops by using software pipeline technology, using compiler options, rewriting some part of the code using intrinsics and linear assembly, etc. Through these optimized method, the AVS video encoder based on DM642 speed had been greatly increased, and satisfactory progress were made in achieving the goal of real-time coding.

Table of contents

Chinese Abstract 3-4 ABSTRACT 4-7 first chapter 7-11 1.1 Introduction 7-8 < br /> 1.2 digital video technology development and current situation 8-9 1.2.1 MPEG-2 standard 8 1.2.2 H.264 standard 8 -9 1.2.3 AVS standard 9 1.3 topics put forward the background and significance 9-10 1.4 thesis work and content arrangement 10-11 Chapter AVS video standard key technical analysis 11-20 2.1 AVS standard profiles 11-12 2.2 AVS video standard key technology 12-18 2.2.1 8 × 8 integer DCT transform and quantization 12 2.2.2 intra Prediction 12-13 2.2.3 inter prediction 13-16 2.2.4 entropy coding 16-17 2.2.5 loop filter 17-18 2.3 AVS standard comparison with the H.264 standard 18-20 Chapter AVS Video encoder algorithm 20-32 3.1 AVS encoder process analysis 20 - 23 3.2 encoder profile 23-24 3.3 encoder code performance analysis 24-25 3.4 encoder key algorithm 25 -31 3.4.1 intra Prediction algorithm 25-27 3.4.2 luminance interpolation algorithm to improve 27-28 3.4.3 motion Estimation algorithm 28-31 3.5 Summary 31-32 Chapter AVS encoder on DM642 implementation and Optimization 32-54 4.1 TMS320DM642 Profile 32-36 4.1.1 DM642 hardware structure 32-33 4.1.2 DM642 CPU unit 33-34 4.1. 3 EDMA controller 34 4.1.4 memory Map 34-36 4.1.5 DM642 software development environment CCS 36 4.2 encoder code from the PC to the DSP platform porting 36-41 4.2.1 CCS environment setting 36-37 4.2.2 header files modified 37 < br /> 4.2.3 duplicate definition of variables and initialization 37-38 4.2.4 warnings removed 38 4.2.5 cache memory space allocation and use of 38-40 4.2.6 encoder on DM642 coding performance analysis 40-41 4.3 AVS encoder DSP platform optimized 41-52 4.3.1 DSP code optimization process 41-42 4.3.2 C language level optimization 42-45 4.3.3 compiler optimization options 45-47 4.3.4 inline function optimization 47-49 4.3.5 linear assembly optimization 49-52 4.4 optimization results and Analysis 52-53 4.5 Chapter Summary 53-54 Chapter Summary and Outlook 54-57 5.1 work Summary 54 5.2 Next job Outlook 54-57 References 57-59 Thanks 59

Related dissertations

  1. Research of Video Compression on Micro-UAV
    GuoZuo ·Tianjin University ·2012 ·Master's thesis
  2. The Research and Realization of AVS Video Encoder Based on TMS320C6474
    WangQun ·Tianjin University ·2012 ·Master's thesis
  3. Design and Implementation of AVS Video Monitoring System
    WangLei ·Taiyuan University of Technology ·2012 ·Master's thesis
  4. Transplantation and Optimization of Independent Video AVS Algorithm on DSP
    LiuLingZhi ·Taiyuan University of Technology ·2012 ·Master's thesis
  5. Research of AVS’s INTRA Technology and Implementation on DSP
    ZhangXinYou ·Beijing Jiaotong University ·2007 ·Master's thesis
  6. DM642-based MPEG-2 video encoding software design
    GengChen ·Zhejiang University ·2006 ·Master's thesis
  7. Video Coding and Motion Detection Algorithm and Its Implementation on Intelligent Network-camera
    ZhouBo ·Xiangtan University ·2008 ·Master's thesis
  8. Implementation and Optimization of AVS real-time encoding based on the DM642
  9. AVS video encoder module optimization algorithm and its implementation on DSP
    WeiJianYun ·Shandong University ·2010 ·Master's thesis
  10. Codecs for MPEG-4 -based PC and DSP design and
    LiangWeiWei ·Xi'an Optics and Fine Mechanics ·2009 ·Master's thesis
  11. Research and Application of Video Image Compression Algorithm Based on DM642
    XieFang ·Daqing Petroleum Institute ·2008 ·Master's thesis
  12. The Research and Design of Embedded Video Surveillance Server Based on AVS Video Standard
    LuoSongFeng ·Jinan University ·2009 ·Master's thesis
  13. The Research and Implemetation of AVS Video Encoding on DM6446
    YangDongMing ·Tianjin University ·2009 ·Master's thesis
  14. Design and FPGA Implementation of Entropy Coding and Interpolation Part Based on AVS Standard
    WangXiaoDong ·Shandong University ·2011 ·Master's thesis
  15. Research on the Optimization of the System of Urban-rural Integrated Residents Social Pension Insurance of Laiwu City
    HaoXiaoJuan ·Shandong Agricultural University ·2013 ·Master's thesis
  16. Optimization Study of a Insurance Company Ningxia Branch’s Business Structure
    SunZuo ·Ningxia University ·2014 ·Master's thesis
  17. The Optimization of Fund Contract in the Perspective of Governance Structure
    YaoZhuangLong ·Central South University ·2013 ·Master's thesis
  18. The Personal Loans Centre Process Optimization Study of Ccb Shaanxi Branch
    LiuMing ·Northwestern University ·2012 ·Master's thesis
  19. Research on Optimization of commercial bank loans business processes Chinese micro enterprise
    ZhouXiaoDan ·Inner Mongolia University ·2013 ·Master's thesis
  20. Optimization of Commercial Bank Credit Rating Index System for SMEs