The Transplantation and Optimization of H.264 Intra Prediction Algorithm Based on DM642

Author
KongLei
Advisor
YuFengQin
School
Jiangnan University
Major
Signal and Information Processing
Classification
TN919.81 Image coding
Degree
Master's thesis
Year
2009
Downloads
167
Citations
3

Request the full text

Abstract

H.264 is the next-generation video coding standard jointly developed by ITU-T (International Telecommunication Union) and ISO (International Organization for Standardization). Compared with the previous standards, H.264 can provide better image quality and lower stream while improving network adaptation and error resilience capabilities, H.264 has been widely used in a variety of digital video fields. However, the H.264 encoding performance enhancement in increased coding complexity of the cost, in a real-time environment to achieve the H.264 codec, both theoretically optimized for H.264, and real-time processing chip large requirements of high-performance DSP provides an effective platform for the realization of the H.264 codec. In this paper, based on research H.264 encoding process, structure and key technologies, focusing H.264 intra prediction part correlation of intra prediction-based fast mode selection algorithm is proposed, then the H.264 open source code X264 ported to the DM642 and code various optimization, the final design of a DSP / BIOS-based the H.264 coding systems framework. Throughout the text of the thesis work focused on the following aspects: first, the fast mode selection algorithm proposed an improved intra prediction. Complexity of the selection algorithm for H.264 intra prediction mode, based on the correlation between the correlation between the adjacent blocks and the different prediction mode, a fast mode selection algorithm, shortening the time of mode selection, increased intra Prediction of the coding bit rate. Simulation results show that the improved algorithm in the case of peak signal-to-noise ratio decreased slightly, a slight increase in the bit rate, the encoding time is reduced by 50%. Second, the X264 ported to the DM642 platform. This article to SEED-VPM642 as the hardware platform, software platform DSP integrated development environment CCS, the X264 transplantation in the DM642. According to the characteristics of the hardware storage and CCS, the appropriate allocation of storage space, make the appropriate adjustments to the code structure, so that the code to run in the CCS. Third, the optimization of the various levels of the code after transplantation. Based on the X264 code characteristics and the DM642 unique command structure, the entire code, project-level optimization, C language optimization, and then focus on intra prediction integer DCT, quantization and matching error code compilation linear optimization; In addition, Cache, data movement, and DSP / BIOS optimization. The experiment proved that the X264 encoding speed greatly improved after optimization. Finally, on the basis of previous work, the preliminary design of a framework of H.264 coding system based on the DSP / BIOS, basic video capture, video encoding and video transmission capabilities.

Table of contents

Abstract 3-4 ABSTRACT 4-8 first chapter 8-14 1.1 research background and significance 8-9 1.2 research status 9-12 1.2.1 video compression standard development status 9-11 1.2.2 video encoding hardware platforms Profile 11-12 1.3 This paper studies the content 12-13 1.4 papers arrangement 13-14 the H.264 video compression standard 14-25 2.1 H.264 standard outlined 14 2.2 H.264 codec 14-16 2.2.1 H.264 encoder 14-15 2.2.2 H.264 decoder 15-16 2.3 H.264 structure 16-17 2.3.1 H.264 grade level 16 2.3.2 H.264 hierarchy 16 2.3.3 macroblock stripe 16-17 2.4 H.264 encoding key technology 17-24 2.4.1 interframe prediction 18-20 2.4.2 transform and quantization 20-22 2.4.3 Entropy coding 22-24 2.4.4 the deblocking filter 24 2.5 This chapter Summary 24-25 Chapter based fast intra prediction mode selection algorithm 25-40 3.1 H.264 intra prediction 25-31 3.1.1 brightness 4x4 intra prediction 25-29 3.1.2 brightness 16x16 intra prediction 29-31 3.1.3 chroma 8x8 intra prediction 31 3.2 H.264 intra prediction steps 31-33 3.2.1 rate distortion optimization techniques 31-32 3.2.2 intra prediction steps 32-33 3.3 based on fast mode selection algorithm 33-39 3.3.1 algorithm is proposed based on 34 3.3.2 prediction mode direction correlation 34-35 3.3.3 adjacent blocks of space correlation 35-36 3.3.4 fast mode selection algorithm 36-37 3.3.5 Simulation Results and Analysis 37-39 3.4 This chapter Summary 39-40 Chapter TMS320DM642 DSP-based H.264 coding algorithm transplantation 40-50 4.1 hardware development platform 40-41 4.2 software development platform 41-45 4.2.1 CCS integrated development environment 41-43 4.2.2 Real-time operating system DSP / BIOS 43-44 4.2.3 H.264 coding algorithm selected 44-45 4.3 X264 on the DM642 transplant 45-49 4.3.1 DSP / BIOS configuration file 45-47 4.3.2 code cropping and adjust 47-48 the 4.3.3 library file and header files 48 4.3.4 data types and syntax 48-49 4.4 This chapter Summary 49-50 Chapter the TMS320DM642 DSP X264 code-based optimization 50-66 5.1 C6000 code development process 50-51 5.2 project-level optimization 51-52 5.3 C language level optimization 52-57 5.3.1 memory correlation 53 5.3.2 inline functions and data packaged 53-55 5.3.3 software pipelining 55-57 5.3.4 C language optimization summary 57 5.4 linear compilation optimization 57-61 5.4.1 prediction mode optimized 58-59 5.4.2 matching error optimization 59 5.4.3 DCT / IDCT optimization 59-60 5.4.4 quantization and inverse quantization optimization 60-61 5.5 optimization strategy 61-64 5.5.1 Cache optimization 61-62 5.5.2 Data move to optimize 62-63 5.5.3 DSP / BIOS optimization 63-64 5.6 Optimization results 64- 5.7 Chapter Summary 64-66 Chapter H.264 real-time encoding framework design 66-70 6.1 DSP / BIOS device driver 66-67 6.2 H.264 real-time encoding frame design 67-69 6.3 This chapter Summary 69-70 Chapter VII Summary and Outlook 70-72 7.1 paper summarizes 70 7.2 follow-up Outlook 70-72 Acknowledgements 72-73 the References 73-77 the Appendix 1: published by the author during the master's degree thesis 77-78 the Appendix 2: Partial source 78-81

Related dissertations

  1. Research on H.264Video Encryption Algorithm
    ZhangJiaZuo ·Northeastern University ·2013 ·Master's thesis
  2. The Research and Application of the H.264Video Coding Algorithm
    ChenQiang ·Zhejiang University of Technology ·2013 ·Master's thesis
  3. The Design and Implementation of the Intelligent Unattended Video Surveillance Platform
    ChenShiZhe ·University of North ·2012 ·Master's thesis
  4. H.264 Video Encoder Based on FPGA
  5. H.264 Encoder Optimization Based on TMS320DM642
  6. Research and Implementation of Intra Prediction in H.264/AVC Standard
    PanBin ·Shanghai Jiaotong University ·2010 ·Master's thesis
  7. The Implement and Optimization for H.264Encoder on the Plantform of DM6446
    ZhuHaiZuo ·Chang'an University ·2012 ·Master's thesis
  8. Research in Fast Mode Decision Algorithm for Intra Prediction in H.264Video Coding
    ChenDeWu ·Lanzhou University ·2013 ·Master's thesis
  9. Hardware Design of Intra Prediction and Deblocking Filter in H.264/AVC Video Decoder
    SongJian ·Shandong University ·2012 ·Master's thesis
  10. Design of Parallel Algorithms for Several H.264Modules and Implementation Based on CUDA
    ZhongHaiLong ·Dalian University of Technology ·2013 ·Master's thesis
  11. Research and Optimizaiton of Algorithm for Intra-prediction in AVS
    WangLi ·Taiyuan University of Technology ·2013 ·Master's thesis
  12. Study on fast coding mode selection algorithm based on H.264/AVC
  13. The Parallel Design and Optimization of H.264Intra Prediction Based on FPGA
  14. Research of H.264Prediction Algorithm
    ChengPeng ·South China University of Technology ·2012 ·Master's thesis
  15. Research on Intra Prediction Algorithm in H.264
    YangYanWei ·Taiyuan University of Technology ·2012 ·Master's thesis
  16. Study on Texture-similarity Judgment Based Fast Intra-prediction Algorithm
  17. Research and Realization of H.264Video Compression Coding System Based on FPGA
  18. Soc Design and Implementation of Key Modules for H.264Video Decoder
    ZhengYong ·Hefei University of Technology ·2012 ·Master's thesis
  19. H.264 Encoder’s Intra Prediction Algorithm Optimization and Achieving Based on the TMS320DM643
  20. H.264 Key Technologies Study