Research on Implementation and Optimization of Key Algorithms in H.264/AVC Encoding Based on Media DSP

Author
SunZuoXia
Advisor
LiuPeng
School
Zhejiang University
Major
Information and Communication Engineering
Classification
TN919.81 Image coding
Degree
Master's thesis
Year
2008
Downloads
168
Citations
0

Request the full text

Abstract

The new generation of video coding international standard H.264/AVC uses a lot of new technology, makes its video compression efficiency compared to conventional video coding standard has improved greatly, but also greatly increases the codec algorithm computational complexity. Thus, in the H.264 video coding standard is put to practical use before its codec calculation process must be optimized. MD32 is the Information and Electronic Engineering of Zhejiang University, SoC R \u0026 D team to design their own intellectual property, media, digital signal processor, ideally suited for video codec algorithm. This paper focuses on the various methods of implementation and optimization of key algorithm of H.264 encoding in MD32. This paper studies the transformation and quantization algorithm. Can be effectively accelerated by using MD32 SIMD instruction of the transform and quantization algorithm. After using 128-bit SIMD instruction instead of 64-bit SIMD instructions, the execution time of the algorithm is further shortened. After transform and quantization coefficient zeroed blocks called zero block transform and quantization detect these all-zero block, can effectively reduce the computational complexity. Analyze and compare a variety of all-zero block detection algorithm based on a new all-zero block detection algorithm can reduce the calculated amount. Secondly, we study the loop filter algorithm. Loop filter algorithm used to mitigate the effect of the block in the reconstructed image, have a significant role to improve the subjective quality of low bit rate video. The two main steps of the loop filter algorithm, i.e. the edge intensity is calculated and the pixel level of the filter calculation, have a considerable degree of computational complexity. Reasonable adjustment formula above two steps, especially with the logical operators instead of the conditional jump, you can optimize the efficient use of SIMD instructions. In addition, the use of statistical regularity the adjustment algorithm processes and reuse data hierarchically, further accelerated the loop filter algorithm. Finally, we study the CABAC entropy coding algorithm. Compared to the H.264 video coding standard in another entropy coding algorithm CAVLC algorithm, CABAC algorithm having a higher compression efficiency, while having a greater computational complexity. In this paper, the method of instruction extensions to effectively accelerate CABAC algorithm implementation on the MD32, which designed a series of new instructions for CABAC coding. And dedicated hardware to achieve the different methods, the method of instruction extensions take full advantage of the original MD32 resources including registers, on-chip memory and pipelining.

Table of contents

Abstract 3-4 Abstract 4-5 directory 5-7 first chapter 7-12 1.1 video coding standard development process 7-8 1.2 H.264 video coding standard new technology 8-10 1.3 In this paper, the main research work and content arrangements 10-12 transform and quantization 12-48 2.1 H.264 transform and quantization 12-18 2.1.1 transform quantitative overview 12-17 2.1.2 H.264 transform and quantization optimization 17-18 2.2 on the MD32 SIMD optimization 18-27 the SIMD instruction 2.2.1 MD32, 18-21 2.2.2 research 21-23 2.2.3 on the MD32 64 SIMD optimization 23-25 2.2.4 on the MD32 128 SIMD optimization 25-27 2.3 all-zero block detection optimization 27-47 2.3.1 research 28-35 2.3.2 all-zero block detection algorithm in MD32 35-38 2.3.3 best all-zero block detection algorithm 38-43 2.3.4 all-zero block detection algorithm improvements 43-47 2.4 This chapter Summary 47-48 Chapter loop filter 48-75 3.1 H.264 video coding standard loop filter algorithm 48-56 3.1.1 loop filter causes 48-51 3.1.2 loop filter algorithm processes 51-55 the 3.1.3 loop filter the computational complexity of the algorithm 55-56 3.2 loop filtering algorithm optimization in research 56-61 3.2.1 edge intensity calculated optimization 56-58 3.2.2 filter order optimization 58-60 3.2.3 pixel-level filtering calculated optimization 60-61 3.3 MD32 on optimization loop filtering algorithm 61-74 3.3.1 edge intensity calculated optimization 62-68 3.3.2 pixel-level filtering calculated optimization 68-74 3.4 This chapter Summary 74-75 Chapter context-based adaptive binary arithmetic coding 75-115 the CABAC algorithm Introduction to 4.1 75-82 4.1.1 binarized 76-77 4.1.2 Context Model 77-79 4.1.3 binary arithmetic coding 79-81 the the the 4.1.4 syntax elements class encoding process 81-82 4.2 CABAC optimization studies 82-94 4.2.1 algorithm optimization 83-88 4.2.2 dedicated hardware research 88-92 4.2.3 Instruction Extension research 92-94 the the CABAC instruction 4.3 MD32 upper extension 94-114 4.3.1 MD32 structure 95-97 4.3.2 CABAC coding instruction extensions 97-114 4.4 This chapter Summary 114-115 Summary and Outlook The 115-117 the References 117-121 Acknowledgements 121

Related dissertations

  1. Research of the Key Algorithms of H.264/AVC Encoder and Its VLSI Design
    XiYingLai ·Northwestern Polytechnical University ·2006 ·Doctoral dissertation
  2. Research on the Motion Estimation and Transform Based on the H.264 Framework
    XiangDong ·Huazhong University of Science and Technology ·2006 ·Doctoral dissertation
  3. Motion Estimation, Transform and Decoder Optimization in H.264/AVC
    XueQuan ·Zhejiang University ·2004 ·Doctoral dissertation
  4. The Study of Decorrelation Techniques for Video Coding on Heterogeneous Multi-Core Processor
    GaoYi ·Huazhong University of Science and Technology ·2009 ·Doctoral dissertation
  5. Research on Inter Prediction Engine for Real-Time High-Definition Video Encoders
    ZhuBingQiang ·Tsinghua University ·2010 ·Doctoral dissertation
  6. Research on Fast Technique of Video Compression Based on H.264
    HanCongDao ·Zhejiang University ·2011 ·Doctoral dissertation
  7. Research on AVS Encoder Based on Digital Signal Processor
  8. The Research and Optimization on Video Coding Algorithm of H.264
    LvYuLiang ·Hunan University ·2007 ·Master's thesis
  9. The Research of De-blocking Artifact Method Based on Video Codec Standard
  10. Research and Decoder Implementation and Optimization in H.264/AVC
    HuaFeiJun ·Nanjing University of Technology ·2005 ·Master's thesis
  11. Tensor Decomposition and Its Applications in Dynamic Textures
    ZhouBingYin ·Hebei Normal ·2012 ·Doctoral dissertation
  12. Complex Image Compression and Classification via Reversible Integer Karhunen-loeve Transform and Feature Caling Based KFDA
  13. 3DTV Coding Based on Layered Depth Video
    ZhuTing ·Zhejiang University ·2013 ·Master's thesis
  14. Research and Parallel Implementation of Motion Estimation Used in Video Encoding
    ZhuChao ·Northeastern University ·2011 ·Master's thesis
  15. Research on MERGE Mode and Related Technologies of the Next Generation Video Coding Standard
    ZhangNa ·Harbin Institute of Technology ·2012 ·Master's thesis
  16. Optimization and Implementation of AVS Mode Decision Algorithm
    YangXue ·Tianjin University ·2012 ·Master's thesis
  17. Study on Effective Video Coding Methods Based on Random Noise Processing
    YinZuoJie ·Shanghai University ·2012 ·Master's thesis
  18. Quantization Matrix and Rate Control in the Emerging HEVC Standard
  19. The Optimization and Implementation of H.264Video Encoder Based on DaVinci
  20. Research on Key Technology for H.264Video Coding