Implementation and Improvement of H.264 Encoder Based on DSP

Author
HuShaoHua
Advisor
YeShuiSheng
School
Nanchang University of Aeronautics and
Major
Computer Software and Theory
Classification
TN919.81 Image coding
Degree
Master's thesis
Year
2010
Downloads
48
Citations
0

Request the full text

Abstract

As a latest international video coding standard, H.264 adopted many new technologies to improve coding efficiency compared with previous standards. Therefore, H.264 has been applied in more fields. However, the high coding efficiency results in high computational complexity, which restricts the application of real-time scene. DSP is famous for its high computing-speed and computing capability. The high-performance digital media programmable processor, TMS320DM642, manufactured by Texas Instrument, has powerful ability to data and much peripheral equipment for digital media, which will develop H.264 encoder well.The work of this paper is focus on H.264 algorithm and the optimization of the H.264 encoder based on DSP.For H.264 algorithm, firstly, we analyze the process of the Intra and inter prediction and some existed solution at present. According to the statistical character of the selected coding modes, we proposed a new mode decision algorithm for coding modes based on the activity of macro-blocks and the priority sequence of modes. In order to eke disadvantage of video quality which is possibly caused in the process of mode decision out, a 1/8 pixel motion estimation algorithm based on mathematical model is proposed.For the optimization based on DSP, 2 levels optimization are performance. Firstly, optimizing the compiler options and the storage system called global optimization. Secondly, namely partial optimization, we optimize C code according to the structure of DM642 and the algorithm of H.264 encoder.After the improvement and optimization on encoder, the performance of encoder is improved obviously. Experiments results show that the coding time reduces about 30% without obvious PSNR change after the improvement of mode decision. Optimization on DSP platform also achieves a lot. Compared with non-optimization, the coding time reduces about 80%.

Table of contents

Abstract 4-5 Abstract 5-8 Chapter 1 Introduction 8-12 1.1 research background and significance 8-9 1.2 research status 9-11 1.2.1 H.264 encoder Research 9-10 1.2.2 DSP chip application status 10-11 1.3 thesis 11 1.4 paper structure 11-12 Chapter 2 H.264 standard analytical 12-23 2.1 Introduction video coding standard developed 12-13 2.2 H.264 standard profiles 13-15 2.3 H.264 key technology 15-22 2.3.1 Intra Prediction 16 2.3.2 interframe prediction 16 2.3.3 transform and quantization 16-19 2.3.4 scan order 19-20 2.3.5 entropy coding 20-21 2.3.6 Other 21-22 2.4 Summary 22-23 Chapter 3 Intra inter algorithm analysis and improvement 23-42 3.1 rate-distortion (RD) 23 3.2 intra prediction algorithm analysis 23-27 3.2.1 Intra4 × 4 prediction mode 24-26 3.2.2 Intra16 × 16 prediction mode 26-27 3.2.3 chroma macroblock prediction mode 27 3.2.4 macroblock intra prediction mode decision process 27 3.3 inter prediction algorithm analysis 27-32 3.3.1 inter mode 28 3.3.2 motion vector determination 28 3.3.3 inter mode decision 28-29 3.3.4 Motion search 29 3.3.5 interpolation algorithm 29-31 3.3.6 P genre coding mode prediction process 31-32 3.4 inter prediction algorithm for intra Research 32-33 3.4.1 Intra Prediction Algorithm Research 32 3.4.2 Research inter prediction algorithm 32-33 3.5 Improved intra inter prediction algorithm 33-40 3.5.1 Improved inter intra prediction algorithm 33-39 3.5.2 intra inter prediction algorithm experimental results 39-40 3.6 Summary 40-42 Chapter 4 DSP-based H.264 encoder implementation 42-58 4.1 DSP Introduction 42-46 4.1.1 DSP chip features 42 4.1.2 DM642 Introduction 42-44 4.1.3 development environment 44-46 4.2 DSP-based H.264 encoder implementation 46-48 4.2.1 code ported 47-48 4.3 DSP-based H.264 optimization 48-55 4.3.1 Global Optimization 49-51 4.3.2 local optimization 51-55 4.4 Analysis of experimental results 55-56 4.5 Chapter Summary 56-58 Chapter 5 Summary and Outlook 58-59 References 59-62 master's degree during the published papers 62-63 Thanks 63-64

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. H.264 Encoder Optimization Based on TMS320DM642
  4. Research on Fast of Algorithm in H.264Video Coding Standard
    SunZheng ·Taiyuan University of Technology ·2013 ·Master's thesis
  5. Research on Key Technology for AVS Video Coding and the Realization on DaVinci Platform
    ChenYunShan ·Graduate Schoo,Chinese Academy of Sciences ·2012 ·Doctoral dissertation
  6. Study on fast coding mode selection algorithm based on H.264/AVC
  7. Video Coding Approach Based on Low-rank Matrix Reconstruction
    LiHe ·Beijing University of Technology ·2012 ·Master's thesis
  8. Research and Realization of H.264Video Compression Coding System Based on FPGA
  9. Study on Algorithms and Implementations Based on H.264 Baseline Profile
    TianYingHong ·Fudan University ·2007 ·Doctoral dissertation
  10. Research on Key Algorithms of Mobile Video Coding Standard AVS-M
    LiuMin ·Ocean University of China ·2007 ·Doctoral dissertation
  11. Research on Key Technology for H.264/AVC Video Coding
    DingZuoZuo ·Jilin University ·2009 ·Doctoral dissertation
  12. Research on Architecture and Key Algorithm of H.264 Decoder
    ZhouZuo ·Huazhong University of Science and Technology ·2011 ·Doctoral dissertation
  13. The ASIC Design of Intra Prediction of H.264 Video Decoder
    LiLei ·Jilin University ·2008 ·Master's thesis
  14. In H.264/AVC intra coding and interframe coding technology research
    WangLiLi ·Shandong University ·2007 ·Master's thesis
  15. Method Research of H.264 FPGA Decoder
  16. Research of H.264 Coding Standard and Optimization Design Based on DM642
  17. Intra Prediction and Transform Algorithms Research Based on H.264 Standard
    OuYangDan ·Wuhan University of Technology ·2007 ·Master's thesis
  18. Intra and Inter Prediction Algorithm Optimization in H.264
  19. Optimization and Implementation of Search Algorithm Based on H.264
    ChenHang ·Sichuan University ·2006 ·Master's thesis
  20. DSP - based video capture and MPEG4-AVC video decoding algorithm