H.264 Encoder Optimization Based on TMS320DM642

Author
Luo
Advisor
CaiAnNi
School
Beijing University of Posts and Telecommunications
Major
Communication and Information System
Classification
TN919.81 Image coding
Degree
Master's thesis
Year
2012
Downloads
60
Citations
1

Request the full text

Abstract

With the development of computer technology and multimedia technology,the range of video application grows wider and wider.Bacause of the high compression ratio and Good ability of network error correction,H.264 coding standard released by JVT(Joint Video Team) becomes the major video coding standard of real-time video communicationS,video on demand,digital television broadcasting,digital video Ssurveillance and other fields.On the other hand, with the rapid development of DSP technology, embedded video equipments have been widely used because of their flexible, convenient, mobile and other features.The development of video encoder and related product based on embedded platform is an important work in the areas of video application.The main achievements of this paper are focused on the optimization of H.264 encoder based on DM642 platform.This paper analyzes the inter prediction algorithm and intra prediction algorithm which have the highest degree of computational complexity in H.264 encoder,and improve this two algorithms based on existing algorithms.The new algorithms add an pre-judgment method in mode selection part of prediction algorithms.In this way,the encoder can reduce the number of prediction mode identification and motion estimation,improving encoding speed with a very small loss in image quality.This paper has done the C code optimization and assembly optimization base on the structural characteristics of DM642. C code optimization means combined compilation options,inline functions, data packaging, software pipelining and other methods to optimize the encoder.Assembly optimization means using assembly language rewritting the small modules that have characteristics of high computational complexity, frequently called and independent in the whole framework of the encoder system,in this way,these modules have achieved greatly enhancement of the running efficiency.

Table of contents

Summary 4-5 ABSTRACT 5-7 directory 7-10 first chapter 10-16 <br / > 1.1 research background domestic and foreign research status quo 1.2 10-11 11-15 1.2.1 video codec technology history and present development 11-13 Status 1.2.2 DSP chip development Status 1.2.3 H.264 DSP chip to achieve development in the 13-14 14-15 1.3 This work and objectives 15 1.4 The paper is organized 15-16 The second chapter describes the background knowledge 16-34 2.1 video codec technology introduced 16-17 2.2 H.264 coding standard introduces 17-29 2.2.1 H.264 video coding standard outlined 17-19 2.2 .2 H.264 encoder function structure 19-29 2.3 TMS320DM642 processor and its development platform 29-32 2.3.1 DM642 multimedia processor 29-32 2.3.2 code integrated development environment CCS 32 2.4 Summary 32-34 Chapter III algorithm optimization and restructuring 34-50 3.1 inter prediction algorithm optimization quick judgment 34-41 3.1.1 16 × 16 mode 35-38 3.1.2 loss expansion algorithm 38-39 3.1.3 algorithm overall description 39-41 3.2 intra prediction algorithm optimization 41-47 3.2.1 smoothness judgment macroblock 43 3.2.2 4 × 4 split mode prediction directions judgment 43-45 3.2.3 algorithm overall description 45-47 3.3 loop filter structure with half-pixel interpolation precision adjustment 47-48 3.4 Summary 48-50 Chapter IV DSP-based platform H. 264 encoder code optimization 50-76 4.1 project -level optimization general method 50-51 4.2 C code optimization 51-54 4.2.1 adjustment of data types 51-52 4.2.2 reduce cycle function calls 52 4.2.3 using inline function 52 4.2.4 remove memory correlation 52-53 4.2.5 data Packing 53 4.2.6 using two data channels to balance resources 53-54 <br / > 4.2.7 remove the body of the loop conditional branch 54 4.2.8 removal of complex multiplication and division 54 C code optimization article 4.3 54 - 61 4.3.1 using inline function 54-56 4.3.2 remove the memory correlation 56-57 4.3.3 data Packing 57-58 4.3.4 using two data channels to balance resources 58-59 4.3.5 remove the body of the loop conditional branch 59-60 4.3. 6 removal of complex multiplication and division 60-61 4.4 compilation optimization 61-71 4.4.1 DCT function 63-66 4.4.2 SAD function 66-67 4.4.3 quantization function 67-68 six-tap interpolation algorithm 4.4.4 68-70 4.4. 5 other optimization methods 70-71 4.4.6 rewrite assembler function summary 71 4.5 encoder optimization results 71-76 Chapter Conclusion 76-78 5.1 paper summarizes 76 5.2 job Outlook 76-78 References 78-81 <br / > Abbreviations 81-82 Thanks 82-83 papers have been published during the master's degree 83

Related dissertations

  1. Research and Realization of H.264Video Compression Coding System Based on FPGA
  2. Research of H.264 Coding Standard and Optimization Design Based on DM642
  3. Optimization and Implementation of H.264 on DM642
  4. Research of Video Compression on Micro-UAV
    GuoZuo ·Tianjin University ·2012 ·Master's thesis
  5. Research on H.264Video Encryption Algorithm
    ZhangJiaZuo ·Northeastern University ·2013 ·Master's thesis
  6. The Research and Realization of AVS Video Encoder Based on TMS320C6474
    WangQun ·Tianjin University ·2012 ·Master's thesis
  7. The Design and Implementation of the Intelligent Unattended Video Surveillance Platform
    ChenShiZhe ·University of North ·2012 ·Master's thesis
  8. Research and implementation of technology of infrared monitoring based on DSP
  9. Research and Improvement of Fast Motion Estimation Algorithm in H.264
    XuChen ·Taiyuan University of Technology ·2012 ·Master's thesis
  10. H.264 Video Encoder Based on FPGA
  11. Research and Implementation of Intra Prediction in H.264/AVC Standard
    PanBin ·Shanghai Jiaotong University ·2010 ·Master's thesis
  12. Research in Fast Mode Decision Algorithm for Intra Prediction in H.264Video Coding
    ChenDeWu ·Lanzhou University ·2013 ·Master's thesis
  13. Hardware Design of Intra Prediction and Deblocking Filter in H.264/AVC Video Decoder
    SongJian ·Shandong University ·2012 ·Master's thesis
  14. Design of Parallel Algorithms for Several H.264Modules and Implementation Based on CUDA
    ZhongHaiLong ·Dalian University of Technology ·2013 ·Master's thesis
  15. Research on Fast of Algorithm in H.264Video Coding Standard
    SunZheng ·Taiyuan University of Technology ·2013 ·Master's thesis
  16. Research on Key Technology for AVS Video Coding and the Realization on DaVinci Platform
    ChenYunShan ·Graduate Schoo,Chinese Academy of Sciences ·2012 ·Doctoral dissertation
  17. Study on fast coding mode selection algorithm based on H.264/AVC
  18. The Parallel Design and Optimization of H.264Intra Prediction Based on FPGA
  19. Research of H.264Prediction Algorithm
    ChengPeng ·South China University of Technology ·2012 ·Master's thesis
  20. Design and Implementation of Parallel Algorithms for Some H.264Encoding Modules Based on OpenCL
    GongWenNing ·Dalian University of Technology ·2013 ·Master's thesis