The Study for H.264 Intra Mode Selection Algorithm and Encoder’s Optimization on DSP

Author
LuWei
Advisor
WeiHongTao
School
Wuhan University of Technology
Major
Communication and Information System
Classification
TN919.81 Image coding
Degree
Master's thesis
Year
2008
Downloads
110
Citations
0

Request the full text

Abstract

A new generation of video compression standard H.264/AVC support from low bandwidth, high bit error rate wireless mobile video communication to a high bit rate, low-latency video conferencing and online streaming media and other applications, received extensive attention in the field of multimedia and recognition. Compared to the previous standard, H.264 encoder can effectively improve the compression performance, but the standard of high complexity video applications is currently a major constraint, so the study criteria in DSP (Digital Singnal Processor) on the realization and optimization it is very meaningful. Firstly, this paper analyzes the core technology of H.264 research, mainly including intra / inter prediction, integer transform, quantization and entropy coding, analysis of their research status and the new standards of innovation, on this basis, H.264/AVC summed up on future trends. Secondly, the study of the two current major fast intra mode decision algorithm, one is based on pixel grouping fast decision algorithm, the method used to represent a grouping pixel block in the decision making process every step of calculating an only cost function of pixel groups, thereby reducing the calculation points, reduced complexity; another algorithm is based on the edge direction histogram fast decision algorithm, the obtained macroblock edge direction information to determine the direction of the prediction mode, thereby obtain optimal or sub-optimal intra prediction mode. In this paper, the cost function prediction mode selection and early termination mode decision on the basis, we propose a new fast intra prediction mode algorithm, experiments show the proposed algorithm with the original algorithm, can save about 50% -75% coding computation time, SNR decreased 0.03dB, bit rate increase. Final analysis of TI's TMS320DM642 chip system architecture, a detailed study on the DSP platform H.264 optimization method, the work include: adjusting the allocation of storage space, change the access mode and the definition of variables, using internal inline functions, internal water circulation, linear assembly methods such as H.264 encoding speed bottleneck affecting the function optimization, combined with the DM642 two Cache structure full of DMA capability. By comparing the experimental results before and after optimization, can be seen that DSP-based encoding speed encoder 1.45 from the previous frames / sec to 8.35 / sec, the speed increased by 6 times, to obtain a better optimization results.

Table of contents

Abstract 4-5 Abstract 5-9 Chapter 1 Introduction 9-16 1.1 Introduction 9-10 1.2 video coding principle 10-12 1.3 video coding standard 12-14 1.4 This paper studies the meaning and content 14-16 Chapter 2, H.264 video encoder Analysis and implementation 16-32 2.1 H.264 basic framework 16-18 2.2 H.264 format type and the input image coding mode 18-20 2.3 H.264 video coding core technology 20-32 2.3.1 intraframe coding 21-23 2.3.2 interframe coding 23-25 2.3.3 Multi-frame reference forecast 25-26 2.3.4 integer transform and quantization 26-29 2.3.5 loop filter 29-30 2.3.6 entropy coding 30-32 Chapter 3 H.264 intra mode selection optimization algorithm 32-43 3.1 full search of the intra prediction mode selection algorithm and its complexity analysis 32-33 3.2 Fast Algorithm Research 33-36 3.3 fast intra mode selection 36-41 3.3.1 Cost Function Select 36-39 3.3.2 prediction mode reduces 39-41 3.4 Test results 41-43 Chapter 4 H.264 encoder optimized to achieve the DM642 43-63 4.1 DM642 media processor hardware features 43-45 4.2 software development environment and DSP / BIOS storage optimization 45-51 4.2.1 using DSP / BIOS for storage configuration 46-48 4.2.2 DSP / BISO the API application 48-51 4.3 Cache operation mechanism and optimization strategies 51-54 4.4 DMA usage 54-55 4.5 assembler level optimization 55-60 4.6 Test procedure and results 60-63 Chapter 5 Conclusion 63-65 5.1 Work Summary 63-64 5.2 can be improved in the direction 64-65 References 65-68 Thanks 68-69 master's papers published during 69

Related dissertations

  1. The Optimization and Implementation of H.264Video Encoder Based on DaVinci
  2. Research on Key Technology for H.264Video Coding
  3. Research and implementation of technology of infrared monitoring based on DSP
  4. Research and Improvement of Fast Motion Estimation Algorithm in H.264
    XuChen ·Taiyuan University of Technology ·2012 ·Master's thesis
  5. H.264 Encoder Optimization Based on TMS320DM642
  6. Research on the Key Technologies of H.264 Algorithm Based on DM642
    GuoQinDi ·Tianjin University of Technology ·2012 ·Master's thesis
  7. Texture-Based Adaptive Video Coding
    WuXiaoYang ·Zhejiang University ·2007 ·Master's thesis
  8. Research of Acceleration Algorithms of Motion Estimation Based on H.264
    LiuFeiBo ·Northeastern University ·2010 ·Master's thesis
  9. Research and Implementation of Motion Estimation Based on H.264
    LuPing ·Zhejiang University of Technology ·2012 ·Master's thesis
  10. Optimization and Implementation of H.264Decoder
  11. Research and Improvement of Intra Prediction Algorithm in H.264
    FengFang ·Taiyuan University of Technology ·2013 ·Master's thesis
  12. The Research and Implementation of H.264Crucial Codec Technology Based on Android Platform
    YangQi ·China Jiliang University ·2013 ·Master's thesis
  13. Improvement and Optimization of H.264Inter Prediction and Estimation Based on DSP
  14. Video Encryption Technology Based on H.264Compression Coding Standard
  15. Research on Key Technology and Optimization in Video Coding
  16. Research on Intra Prediction Algorithm in H.264
    YangYanWei ·Taiyuan University of Technology ·2012 ·Master's thesis
  17. Research of H.264 Coding Standard and Optimization Design Based on DM642
  18. Design and Implementation of IP Camera
  19. Based on TMS320DM642 DSP 's Xvid Video encoder implementation and optimization
  20. TMS320DM642-based MPEG-4 video codec Research and Implementation