Design and Implementation of H.264 Video Encoder on TMS320C6711

Author
LiuYang
Advisor
HeZuoZuo
School
Chang'an University
Major
Traffic Information Engineering \u0026 Control
Classification
TN919.81 Image coding
Degree
Master's thesis
Year
2008
Downloads
60
Citations
0

Request the full text

Abstract

With the improvement of network and communications, the compression of multimedia video has been becoming more and more popular in a variety of fields, such as video conference, video phone and so on. The latest video coding standard H.264/AVC is used widely because of the good coding capability. But its algorithm is so complex that its coding speed is slow. Then, the application of H.264 is limited in the real time system. On the other hand, it is necessary that use the embedded system in place of PC to reduce the cost of the system. Thus, an efficient embedded video compression system of H.264 is not only significant to the academia, but also helpful to the industry.This thesis develops a real-time video compress system based on H.264 standard on DSP platform. But, when the original H.264 codes run on the DSP platform to dispose the video, the system isn’t real-time. Some problems such as the code is too long, the space of the memory is small and so on affect the coding speed. To solve these problems, the thesis finishes the following works:1. When designing the hardware of the system, the DSP which meets the demand of the task is chosen. The platform of the hardware is build. The hardware consists of a video camera, a TMS320C6711 DSP simulation board and a display. The function of the hardware is collecting the video, coding the image and displaying it.2. When designing the software of the system, the algorithm code which wastes the more time of H.264 is redesigned. The codes of the method of selection in intra prediction mode and the searching approach of the motion estimation are rewritten.3. After transplanting the code on the TMS320C6711 hardware platform, the memory is distributed according to the inside structure of C6711 chip reasonably. In this course, the space of L2 and the data of SRAM is configured, Cache is optimized.When the data is moved between the interior RAM and the exterior SDRAM, the bottle-neck problem between the fast CPU and the slow SDRAM is settled by introducing EDMA mechanism.4. According to the analytic result of profile of CCS, the section of the C code which consumes a lot of time is rewritten.The experiment is done, and the video catched by the camera is coded. The interval of the I frame is 10 frames. The coding time of one I frame was 27.3ms, and the coding time of one P frame was 51.0ms. The average frame rate was 20.55 frames per second. This satisfied the demand of a real-time video system liked the video conference, and the quality of the decoded video is good.

Table of contents

Abstract 4-5 Abstract 5-9 first chapter 9-16 1.1 subject background and significance 9 1.2 video compression coding technology development status 9-14 1.2.1 video compression coding technology principle 9-10 1.2.2 video compression coding technology development and research status 10-12 1.2.3 DSP technology development and the advantages of the H.264 algorithm on the DSP 12-14 1.3 thesis research 14-15 1.4 thesis chapters arrangements 15-16 the second chapter of the video coding standard H.264/AVC TMS320C6711 16-30 2.1 video coding standard H.264/AVC 16-18 2.1.1 H.264 standard grade 16-17 2.1.2 H.264 standard codec principle 17-18 the key technologies of the H.264/AVC in 2.2 18-24 2.2.1 Predictive Coding 18-21 2.2.2 H.264/AVC transform coding 21-23 2.2.3 H.264/AVC entropy coding 23-24 2.3 TMS320C6711 24-29 2.3.1 TMS320C6711 chip 25-28 2.3.2 ICETEK-6711-A/USB evaluation board 28-29 2.4 Summary 29-30 video coding system hardware design 30-36 3.1 system works 30 3.2 system hardware 30-33 3.3 Simulation Development Environment 33-35 3.3.1 emulator 33 3.3.2 CCS Integrated Development Environment 33-35 3.4 Summary 35-36 system software design 36-47 4.1 H.264 encoding software process 36-40 4.1.1 determine the encoding scheme 36-37 4.1.2 H.264 encoding software process 37-40 4.2 H.264 key algorithm code design 40-45 4.2.1 frame (Intra) prediction mode selection method 41-42 4.2.2 motion estimation algorithm improvement and code design 42-45 4.2.3 algorithm to improve the results of analysis 45 4.3 Summary 45-47 Chapter coding system based on the TMS320C6711 47-63 5.1 DSP development process 47-48 5.2 port code 48-50 5.3 memory optimization 50-54 5.3.1-chip RAM space configuration within 51-52 5.3.2 SRAM space, data distribution strategy 52 5.3.3 Cache-level optimization 52-54 5.4 data transfer method 54-55 5.5 C program improvement 55-60 5.5.1 Project-level optimization 55-57 5.5.2 C code improvements 57-60 5.6 system experiments and results 60-62 5.7 Summary 62-63 conclusions 63-65 References 65-68 Acknowledgements 68

Related dissertations

  1. Research of Video Compression on Micro-UAV
    GuoZuo ·Tianjin University ·2012 ·Master's thesis
  2. The Optimization and Implementation of H.264Video Encoder Based on DaVinci
  3. Research on Key Technology for H.264Video Coding
  4. A Video System Design Based on DSP
  5. The Research and Realization of AVS Video Encoder Based on TMS320C6474
    WangQun ·Tianjin University ·2012 ·Master's thesis
  6. Research and Improvement of Fast Motion Estimation Algorithm in H.264
    XuChen ·Taiyuan University of Technology ·2012 ·Master's thesis
  7. Research on the Key Technologies of H.264 Algorithm Based on DM642
    GuoQinDi ·Tianjin University of Technology ·2012 ·Master's thesis
  8. Texture-Based Adaptive Video Coding
    WuXiaoYang ·Zhejiang University ·2007 ·Master's thesis
  9. Research of Acceleration Algorithms of Motion Estimation Based on H.264
    LiuFeiBo ·Northeastern University ·2010 ·Master's thesis
  10. Research and Implementation of Motion Estimation Based on H.264
    LuPing ·Zhejiang University of Technology ·2012 ·Master's thesis
  11. Optimization and Implementation of H.264Decoder
  12. Research and Improvement of Intra Prediction Algorithm in H.264
    FengFang ·Taiyuan University of Technology ·2013 ·Master's thesis
  13. The Research and Implementation of H.264Crucial Codec Technology Based on Android Platform
    YangQi ·China Jiliang University ·2013 ·Master's thesis
  14. Improvement and Optimization of H.264Inter Prediction and Estimation Based on DSP
  15. Video Encryption Technology Based on H.264Compression Coding Standard
  16. Research on Key Technology and Optimization in Video Coding
  17. Research on Intra Prediction Algorithm in H.264
    YangYanWei ·Taiyuan University of Technology ·2012 ·Master's thesis
  18. Research on the Optimization of the System of Urban-rural Integrated Residents Social Pension Insurance of Laiwu City
    HaoXiaoJuan ·Shandong Agricultural University ·2013 ·Master's thesis
  19. Optimization Study of a Insurance Company Ningxia Branch’s Business Structure
    SunZuo ·Ningxia University ·2014 ·Master's thesis
  20. The Optimization of Fund Contract in the Perspective of Governance Structure
    YaoZhuangLong ·Central South University ·2013 ·Master's thesis