Implementation and Optimization of H.264 Video Encoder Based on DSP

Author
LiuGang
Advisor
LiGuiJu
School
Graduate Schoo,Chinese Academy of Sciences
Major
Applied Computer Technology
Classification
TN919.81 Image coding
Degree
Master's thesis
Year
2010
Downloads
29
Citations
0

Request the full text

Abstract

With the rapid development of various communication networks, multimedia technologies have been widely used in people’s daily life. Among them, video compression technology is widely applied. As a new video compression standard, H.264/AVC adopts many advanced technologies in the space, time and transform domain to improve coding performance, it can be used for broadcast television, video storage, video monitoring, real-time video conference and so on. However, with the coding performance improved, it also brings increased coding complexity. Thus, in order to use H.264/AVC in some scenes that require real-time encoding, the encoder needs to be optimized.DM642 is one of DSP products developed by Texas Instruments (TI) company. It is mainly used for audio and video applications. There are many kinds of peripheral interfaces integrated in it, such as EMAC port, video ports, audio ports, I2C and so on. DM642 can provide comprehensive video solutions. With it’s high-performance internal hardware structure including two level cache and it’s multimedia instruction set, DM642 is more suitable for executing H.264 encoder.In this paper, we mainly describe how to take advantage of DM642 in transplanting and optimizing the H.264 encoder based on the research of H.264 Standard. The main work of this paper is: firstly, the fast motion estimation algorithm used in H.264 named UMHexagonS is optimized. Experiments show that, the motion estimation time that the optimized algorithm used is reduced by 15% compared to the original algorithm.Then, the paper analyzes the other parts of the encoder in depth. We rewrite the C language in the encoder with optimized linear assembly language and inline functions, in this way, the executing time of original code is reduced. At the same time, the paper also takes into account the working way of two level cache.Some arrangements are used on the encoder’s code and data, and the QDMA are used to move the video data between internal RAM and external RAM.Through the methods used above, we have a tradeoff between the complexity and performance of our H.264 encoder, and we get an efficient H.264 encoder in the end. Test results show that the encoding speed of our encoder can meet the requirements of real-time video monitoring for video sequences with QCIF and CIF size.

Table of contents

Summary 5-7 Abstract 7-11 Chapter 1 Introduction 11-15 1.1 research background and significance 11 1.2 main research topics research status 11-12 1.3 related fields 12-13 1.3.1 Status motion estimation algorithm Research Status 12-13 1.3.2 H.264 encoder optimized structural arrangements 13 1.4 papers 13-15 Chapter 2, H.264 standard key technical analysis 15-38 2.1 H.264 encoder composition and working process 15-16 2.2 H.264 standard grade classification 16-17 2.3 H.264 standard key technology 17-36 2.3.1 intra prediction 17-21 2.3.2 inter prediction 21-26 2.3.3 transform and quantization 26-30 2.3.4 entropy coding 30-34 2.3.5 loop filter 34-36 2.4 Summary 36-38 Chapter 3 H.264 fast motion estimation algorithm improvements 38-50 3.1 motion Estimation introduction 38-39 3.2 H.264 fast motion estimation algorithm UMHexagonS 39-41 3.3 H.264 fast motion estimation algorithm to improve 41-46 <br / > 3.3.1 UMHexagonS optimization algorithm searches the template 42-45 3.3.2 search ends conditions 45-46 3.4 results and analysis 46 - 49 3.5 Summary 49-50 Chapter 4, H.264 encoder on DSP porting and optimization 50-66 4.1 development Environment 50-52 4.1.1 hardware development environment 50-52 4.1.2 software development environment 52 4.2 H.264 encoder transplant 52-54 4.2.1 encoder transplant attention problems experimental results 52-53 4.2.2 after transplantation 53-54 4.3 H .264 encoder optimization methods using 54-64 4.3.1 compiler options 54-55 4.3.2 cache Optimization 55-57 4.3.3 QDMA scheduling method 57-59 4.3.4 code rewrite 59-63 4.3.5 algorithm modifications 63-64 experimental results 4.3.6 optimized 64 4.4 summary 64-66 Chapter 5 summary and Outlook 66-68 <br / > References 68-70 academic achievement during the school situation 70-71 instructor and Author 71-72 Thanks 72

Related dissertations

  1. Vehicle Wireless Video Monitoring System Based on Improved H.264Motion Estimation Algorithm
  2. Research on Key Technology for H.264Video Coding
  3. Research and Optimization on the Motion Estimation Algorithm in H.264
    LiuZhi ·Hunan University ·2013 ·Master's thesis
  4. Research and Implementation on the MFHS Algorithm Based on H.264
    YaoHuaLi ·Henan University of Technology ·2013 ·Master's thesis
  5. The Design and Implementation of the Intelligent Unattended Video Surveillance Platform
    ChenShiZhe ·University of North ·2012 ·Master's thesis
  6. Research and implementation of technology of infrared monitoring based on DSP
  7. Research of Motion Estimation Algorithm for Video Compression Applications
    LiuYan ·Harbin Institute of Technology ·2010 ·Master's thesis
  8. Research and Improvement of Fast Motion Estimation Algorithm in H.264
    XuChen ·Taiyuan University of Technology ·2012 ·Master's thesis
  9. H.264 Encoder Optimization Based on TMS320DM642
  10. Research on the Key Technologies of H.264 Algorithm Based on DM642
    GuoQinDi ·Tianjin University of Technology ·2012 ·Master's thesis
  11. Research of Acceleration Algorithms of Motion Estimation Based on H.264
    LiuFeiBo ·Northeastern University ·2010 ·Master's thesis
  12. Research on Fast Motion Estimation and Mode Decision for H.264/Avc Video Coding
    ZhangWei ·Shandong University ·2013 ·Master's thesis
  13. The Research and Improvement of Motion Estimation Based on H.264Video Coding
  14. Research of H.264Motion Estimation Algorithm
    WangZuoZuo ·Jiangnan University ·2013 ·Master's thesis
  15. The Research and Implementation of H.264Crucial Codec Technology Based on Android Platform
    YangQi ·China Jiliang University ·2013 ·Master's thesis
  16. Research on Applications of H.264in Wireless Video Communication
    LiuYi ·Hainan University ·2012 ·Master's thesis
  17. Research on WMSNs Video Image Coding Technology Based on H.264
    XiaoJuFei ·Shenyang Aerospace University ·2013 ·Master's thesis
  18. The H.264Video Decoding Algorithm Based on DaVinci Digital Video Evaluation Module
  19. The Research of Motion Estimation Based on H.264/AVC
  20. H.264Motion Estimation Algorithm Optimization and Realization Based on FPGA