Research and Optimization of Key Algorithm for New Generation Video Coding Standards

Author
WuYun
Advisor
LiJianShi , ZhaoYong
School
Guizhou University
Major
Computer Software and Theory
Classification
TN919.81 Image coding
Degree
Doctoral dissertation
Year
2009
Downloads
228
Citations
0

Request the full text

Abstract

With the development of the multimedia and internet technology, digital video coding is widely used in many applications, such as video phone, video conference, IPTV and digital TV. In order to meet customers’ increasing demands on video applications, many standardization organizations have enacted many new video standards. The standards of H.264 and AVS, which are called the next generation video standards because of the more excellent performance compared with the traditional ones, are widely studied nowadays.The contents of this paper is a new generation video coding standard (H.264, AVS) key algorithm and optimization, mainly from the transform coding, predictive coding, scalable coding algorithms, such as aspects of research and the principle of the optimization, as well as the coding algorithm ported to DSP platform code-level optimization algorithms.In the transform coding aspects: a generic generating algorithm for n-Order (n=2~k,k>0) integer DCT transform radix is presented. The relationship between amounts of coefficients and order in radix is discovered through research of DCT principle and proven in combination with the nature of cosine function. On this basis, a generic generating algorithm for n-Order (n=2~k,k>0) integer DCT transform radix is presented, which we do not need to analyze floating radix corresponding to integer’s. Through rearrange variations of coefficient, the mid-polynomials are extremely regularity. The group of polynomials in arbitrary N-variable is resolved by design a N-digits with M as radix implementing N-loops to exhaust all possible solutions. The experimental results show that the algorithm can find all available radix for arbitrary n×n (n=2~k,k>0) integer DCT as long as the computing capacity is enough.In predictive coding aspects: First of all, an analysis of predictive coding in the intra-prediction and inter-frame prediction process to identify possible improvements which optimize the point. Through a lot of reading and practice, based on inter-frame prediction and intra prediction module are widely applicable to the issue of all zero block threshold is studied in depth. To reduce the computation of H.264 encoding, we proposed some new thresholds which derived from statistics and mathematic methods. When we use these thresholds in motion estimation, simulation results show that the early termination algorithm method achieves approximately a 10%-18% computational saving and about 0.04db PSNR gain, compared to Yang’s method. In intra prediction we proposed a mode matrix to reduce the mode decision. Experimental results demonstrate that when we use full matrix in the proposed methods can achieve around 9%-15% improvement in average speedup with no any video quality degradation. If we use simple matrix in the proposed method, we can reduce the entire I frame coding time up to 48% with no significant loss of video quality.In the scalable coding aspects: a new algorithm of scalable video coding based on frequency spectrum is presented. Data partition in MPEG-2 is an early scalable video coding based on spectrum, but it is rough in scalable granularity and low in practicability, while the algorithm raised in this paper can achieve finer granularity of scalability (9 levels). The algorithm base on frequency spectrum has flexible scalability, low complexity and high efficiency, but it brings a problem of error accumulation through prediction. Because if it only transmits part of DCT coefficients, it makes reference frames of encoder differ from reference frames of decoder which results in error accumulation. This problem is solved by setting references frames in transform region in this paper. AVS-P2 is a new generation of video coding standard with independent intellectual property in China, and it has become a national standard. In this paper, the algorithm of scalable video coding is combined with AVS-P2 and is realized under the framework of AVS-P2. Finally, the algorithm was realized based on the software codec model version rm52j of AVS-P2 and the practical results were given.In the code-level optimization: We successfully transplanted AVS coding algorithm to TMS320DM6446 platform based on DaVinci technology. Coding algorithm and project-level optimization, Cache performance optimization, optimization of data transmission (EDMA), compilation of linear optimization of a series of optimization techniques, the performance-related test are given at every stage. Optimization of the final results of this paper: the performance of algorithms without loss of image quality under the premise of the frame rate from the initial post-transplant to the 3.8fps of 93.6fps, to achieve real-time CIF.

Table of contents

Directory 4-6 the diagram directory 6-8 table directory 8-9 summary 9-11 Abstract 11-14 first chapter 14-20 1.1 video encoding technology development and current status 14-17 1.2 video encoding algorithm optimization Profile 17-18 1.3 of this article organizational structure 18-20 second theoretical basis for video encoding 20-25 2.1 Introduction 20-21 2.2 video encoding theoretical basis 21-22 2.3 video encoding process 22-23 2.4 video quality evaluation criteria 23-24 2.5 This chapter Summary 24-25 Chapter integer DCT transform based generic generation algorithm 25-34 3.1 Introduction 25-26 3.2 integer DCT knowledge 26-27 3.2.1 integer DCT transform principle 26 3.2.2 integer transform-based features need to meet 26-27 the coefficient of 3.3 transform base value of the relationship of the number and order number 27 3.4 generation algorithm of the integer transform base 27-31 3.4.1 generates the transform base coefficient variable matrix C_i 28 3.4.2 calculate polynomial matrix P = C_iC_i ~ T 28-30 3.4.3 solution matrix P polynomial group 30-31 3.5 Experimental results 31-33 3.6 This chapter Summary 33-34 Chapter predictive coding algorithm 34-76 4.1 Introduction 34 4.2 intra prediction coding 34-40 4.2.1 Overview 34-35 4.2.2 intra prediction coding mode 35-36 4.2.3 intra prediction coding process 36-40 4.3 interframe predictive coding 40-44 4.3.1 Overview 40 4.3.2 motion compensation process 40-42 4.3.3 sub-pixel motion vector 42-44 4.4 several key issues 44-51 4.4.1 distortion function matching criteria 44-46 4.4.2 rate-distortion function 46-47 4.4.3 Lagrangian cost function 47-51 4.5 all-zero block detection algorithm based on quantitative parameters 51-64 4.5.1 Introduction 51 4.5.2 traditional all-zero block detection algorithm 51-56 4.5.3 all-zero block detection method 56-62 4.5.4 Simulation results 62-63 4.5.5 experimental conclusions 63-64 4.6 probability-based intra prediction mode decision fast algorithm 64-70 4.6.1 Introduction 64 4.6.2 traditional intra prediction fast algorithm 64-65 4.6.3 proposed fast algorithm 65-69 4.6.4 Simulation results 69 4.6.5 experimental conclusions 69-70 4.7 This chapter Summary 70-71 4.8 This chapter Appendix 71-76 Chapter hierarchical coding algorithm research 76-120 5.1 Introduction 76-77 5.2 fine granularity scalable video coding 77-81 5.2.1 fine granularity scalable video coding basic principle 77-79 5.2.2 fine granularity scalable video coding improvements 79-81 5.3 based on wavelet video scalable coding are found; 81-86 5.3.1 wavelet transform 81-82 5.3.2 wavelet decomposition and wavelet reconstruction 82-84 5.3.3 video wavelet coding 84-86 5.4 based on DCT frequency domain hierarchical coding 86-118 5.4.1 traditional hierarchical coding of DCT frequency domain algorithm 86-87 5.4.2 the proposed algorithm 87-91 5.4.3 AVS framework DCT frequency domain hierarchical coding to achieve 91-118 5.5 This chapter Summary 118-120 Chapter encoding algorithm DSP transplantation and optimization 120-136 6.1 encoding algorithm transplantation 120-124 6.1.1 specific DSP transplant 120-122 the transplantation of 6.1.2 DSP verification 122-124 6.2 encoding algorithm optimization 124-135 6.2.1 Optimization Overview 124 6.2.2 encoding algorithm package 124-125 6.2.3 encoding algorithm project level optimization 125-126 6.2.4 Cache performance optimization . 126-127 6.2.5 Data Transfer Optimization (EDMA) 127-130 6.2.6 Linear compilation optimization 130-134 6.2.7 optimization work summarizes 134-135 6.3 This chapter Summary 135-136 Chapter VII summarizes 136-140 7.1 This article made 136-138 7.2 further research 138-140 Acknowledgements 140-141 the References 141-149 Appendix 149-152 1. studying for a doctorate during the thesis 149-151 2. the PhD period to participate in the research projects 151-152

Related dissertations

  1. The Optimization and Implementation of H.264Video Encoder Based on DaVinci
  2. Intra Coding Algorithm for H.264/AVC Based on Image Local Texture Feature and Edge Direction
  3. Research on Video Lossless Compression Algorithm Based on HEVC
    LiuTieHua ·Beijing University of Technology ·2013 ·Master's thesis
  4. Research on Fast Intra Prediction Algorithm for HEVC
    ChenWangHuan ·Sun Yat-sen University ·2012 ·Master's thesis
  5. Research on Intra Prediction Algorithm in H.264
    YangYanWei ·Taiyuan University of Technology ·2012 ·Master's thesis
  6. Video Coding Approach Based on Low-rank Matrix Reconstruction
    LiHe ·Beijing University of Technology ·2012 ·Master's thesis
  7. Research on Fast Encoding Algorithms for H.264/AVC Video Coding Standard
    WangZhengNing ·Southwest Jiaotong University ·2007 ·Doctoral dissertation
  8. Studies on the Postprocessing Algorithm for Coding Effects Reduction in Image and Video Coding
    ZhaoYiHong ·Shanghai Jiaotong University ·2007 ·Doctoral dissertation
  9. Research on Rate Control and Scalable Coding for Video Communication
    FeiWei ·Zhejiang University ·2008 ·Doctoral dissertation
  10. Research on Key Algorithms of Mobile Video Coding Standard AVS-M
    LiuMin ·Ocean University of China ·2007 ·Doctoral dissertation
  11. Research on Key Technology for H.264/AVC Video Coding
    DingZuoZuo ·Jilin University ·2009 ·Doctoral dissertation
  12. The Study of Decorrelation Techniques for Video Coding on Heterogeneous Multi-Core Processor
    GaoYi ·Huazhong University of Science and Technology ·2009 ·Doctoral dissertation
  13. Research on Scalable Video Coding
    WangYiZhuo ·Beijing Institute of Technology ·2005 ·Doctoral dissertation
  14. On H.264/AVC Video Coding and Its Error Control Technology
    HanQing ·Shanghai Normal University ·2008 ·Master's thesis
  15. In H.264/AVC intra coding and interframe coding technology research
    WangLiLi ·Shandong University ·2007 ·Master's thesis
  16. H.264 Video Coding Algorithm Research and DSP Realization
    FengBoTao ·Donghua University ·2008 ·Master's thesis
  17. Study on Enahnced Technology of Video Coding
    XiongCong ·Shanghai Jiaotong University ·2008 ·Master's thesis
  18. Research on Advanced Video Coding Tools of AVS
  19. Scalable Coding Research on Video Image in Wavelet Domain
    LiuDan ·Liaoning Normal University ·2007 ·Master's thesis
  20. Research of H.264 Coding Standard and Optimization Design Based on DM642