Transplantation and Optimization of H.264 Encoder on the DSP Platform

Author
WangPeng
Advisor
WuZhenYang
School
Southeast University
Major
Signal and Information Processing
Classification
TN762 Encoder
Degree
Master's thesis
Year
2006
Downloads
485
Citations
1

Request the full text

Abstract

H.264 is the latest video coding standard developed by the cooperation of ITU and MPEG. Based on H.263, it makes use of several critical technique, such as advanced intra/inter prediction modes, 4 by 4 integer DCT transfer, motion estimation at 1/4 pixel level, and content-adaptive binary arithmetic coding. As a result, H.264 has a better performance than any other video coding standards, and will have ultimate applications in many fields. However, the cost of the excellent performance is the great increase of computation complexity.Nowadays, along with the development of semiconductor and needs of the market, almost every manufactor has produced high-performance digital signal processors that aim at video appilication, and the C64 series of TI are leaders of these products. The main point of this paper is to transplant and optimize the H.264 encoder described by C language from PC to the DSP platform whose core part is the TMS320C6416 DSP of TI.First, we reviewed the history of video coding standards, including H.26x, MPEG and Windows Media series; also we reviewed the development of DSPs, and made a comparation of 3 representational DSPs.Moreover, we discussed H.264 and the DAM6416 video processing platform in detail. For H.264, we analyzed its characteristics and performance and its several critical techniques. For DAM6416 platform, we introduced its core——TMS320C6416 DSPs, including its hardware architecture, characteristics and performance and emphasizing its high parallelity. Then, we discussed other resourses on the platform and the software integrate development environment CCS.The second half part of this paper concertrated on the transplantation and optimization of the H.264 encoder from PC to DSP platform. The work of transplantation is conducted mainly by the DSP/BIOS, including thread system, the hardware timer, memory configuration and APIs provided by DSP/BIOS. We also discussed the differences between compilers of PC and DSP platform and their effect during the transplantation. Finally, several tests proved that the work of transplantation is successful.And for the optimization, we first removed the redundence of the code and analyzed the result. Then we discussed the optimizing functions and results of the compiler of CCS in detail. Moreover, we considered the optimizing means for cache and memory, whose purpose is to improve the hit rate of L2 cache and is proved by tests. Finally, we introduced the optimizing ways based on the assembly instructions. In the last chapter, we gave a discussion to the work of future.

Table of contents

Summary 4-5 Abstract 5-8 first chapter 8-16 1.1 video compression technology, the basic principles and applications 8-9 the 1.2 video coding standard development and current status 9-11 1.2.1 MPEG series 9 1.2.2 H.26X series 9-10 1.2.3 Windows Media Series 10-11 1.3 DSP chip development and status quo 11-14 1.3.1 DSP's development 11-12 the 1.3.2 video processing chip status quo and development trend the 12-13 1.3.3 DSP chip 13-14 < br /> 1.4 paper work and outline 14-16 Chapter II H.264 video coding standard 16-24 2.1 H.264 video coding standard outlined 16-18 2.1.1 H.264 characteristics the 16-17 2.1.2 H.264 performance 17-18 2.2 H nbsp .264 coding processes, and grammatical structure; 18-20 2.3 H.264 encoding key technology 20-23 2.3.1 inter prediction mode 20 - 21 2.3.2 intra prediction mode 21 2.3.3 integer 4 × 4 DCT transform 21-22 2.3.4 Entropy coding 22-23 2.4 Chapter Summary 23-24 Chapter DSP platform hardware and software structure and performance analysis the 24-36 3.1 TM5320C6416 chips, structure and Performance Analysis 24-32 3.1.1 full parallel functional units 25-27 3.1.2 parallel operation instruction set 27-30 3.1.4 C6416 rest of the chip features 30-32 3.2 image processing platform onboard resources the 32-34 3.2.1 External Memory 32 3.2.2 video interface the 32-34 3.4 This chapter summary 34-36 Chapter H.264 encoder transplant from the PC to the DSP platform the 36-46 4.1 DSP / BIOS program optimization the 36-42 4.1.1 DSP / BIOS Introduction 36-37 4.1.2 DSP / BIOS multithreading mechanism 37-38 4.1.3 timer use 38-39 4.1.4 using DSP / BIOS memory configuration 39-40 4.1.5 DSP / BIOS API application the 40-42 4.2 compiler differences 42-43 the 4.3 DSP platform on the system constitute 43-45 4.4 Chapter Summary 45-46 Chapter H.264 encoder DSP platform optimized 46-60 <br / > the 5.1 redundant code removal 46-47 the 5.1.1 debug and test statement removal 46 5.1.2 more redundant code nbsp 5.1.3 redundant code removal effect; 46-47 47 5.2 encoder code analysis the 5.3 compiler optimization 47-48 function 48-53 5.3.1 important optimization options-On-pm 49-50 the 5.3.2 compiler Feedback 50-53 5.4 L2 Memory Cache performance optimization to improve 53-56 5.4.1 Cache hit ratio 53-55 5.4.2 L2 RAM use 55-56 5.5 manual optimization 56-58 5.5.1 manually use assembler modules 56-57 5.5.2 inline the use of the function 57-58 5.6 Chapter Summary 58-60 Chapter Next Job Outlook the 60-62 Reference 62-63 Acknowledgements 63

Related dissertations

  1. The Implement and Optimization for H.264Encoder on the Plantform of DM6446
    ZhuHaiZuo ·Chang'an University ·2012 ·Master's thesis
  2. Research on Human Shin Measurement System Based on DSP/BIOS Operating System
    CaoChangJiang ·Wuhan University of Technology ·2007 ·Master's thesis
  3. Wavelet-based video encoder
  4. Application of the Embedded Operation System in the Control of Elevator
    WangHongRong ·Wuhan University of Technology ·2004 ·Master's thesis
  5. An Empirical Analysis of the Effect That the Fluctuation of RMB Exchange Rate Has on Chinese Import and Export Trade Structure
    ZhangFaDong ·Ocean University of China ·2013 ·Master's thesis
  6. Research on the Effects of RMB’s Exchange Rate Change to Anhui’s Export Commodity Structure
    ZhuYaChao ·Anhui University ·2014 ·Master's thesis
  7. The Study on Chinese Service Internal Structural Optimization Through Foreign Direct Investment
  8. The Study on Analysis of Rural Tourism Spatial Structure in Jinhua
    ShenJia ·Zhejiang Normal University ·2013 ·Master's thesis
  9. A Study on Optimizing of Coastal Resort Management Model
    JieFangJun ·Xiamen University ·2013 ·Master's thesis
  10. Research on the Responsibility Cost Management Reports Systems
  11. Study on the Relationship between Equity Incentive Plan and Deviationdegree of the Capital Structure
    MaLi ·Anhui University of Finance ·2014 ·Master's thesis
  12. Study on Optimization of employee training scheme of Bank of Shizuishan
    WangJianGuo ·Northwestern University ·2013 ·Master's thesis
  13. The Optimize of Tsingtao Brewery Comprehensive Budget Management System
    LiKaiMing ·Ocean University of China ·2012 ·Master's thesis
  14. A Study on Export Marketing Channel of Agrochemical Manufacturing Company R
  15. Kemp Polytron Technologies Inc customs management optimization in
    YangZuo ·Central South University ·2012 ·Master's thesis
  16. The Design of Distributed R&D Resource Operation Management Mode for SANY Group
    XiaoLi ·Central South University ·2013 ·Master's thesis
  17. Research of Optimizing Internal Control of Z State-owned Grain Enterprise’s Affiliated Depot
  18. A Study on How to Regulate and Control the Land-using Structure of the Satellites of Beijing
    TianCheng ·Chinese Geology University (Beijing) ·2013 ·Master's thesis
  19. Evolution and Regional Defference of Urban Function Structure in China
    LiQiang ·Shandong Normal University ·2014 ·Master's thesis
  20. A pipeline company inventory management optimization
    GanFen ·Southwest Petroleum University ·2013 ·Master's thesis