Research on Fast Technique of Video Compression Based on H.264

Author
HanCongDao
Advisor
LiuJiLin
School
Zhejiang University
Major
Communication and Information System
Classification
TP391.41 Image recognition device
Degree
Doctoral dissertation
Year
2011
Downloads
189
Citations
0

Request the full text

Abstract

With the upgradation of information technology, video compression and transmission has become an important research subject in modern multimedia communication area. H.264 video encoding technology, as an efficient video compression scheme, palys an important role in digital product area. Meanwhile, problems like complicated realization process and low encoding speed still exist. The time-consuming models in H.264 encoder and decoder are investigated in this paper. The research goals include enhancing the speed of encoding and decoding, and reducing the complexity of algorithm realization. The research work of this dissertation contains five parts.Transformation and quantization are important steps for converting spatial residual signals into frequency signals, all-zero block detection is an efficient means to reduce the calculation times of transformation and quantization. In order ro raise the efficiency of all-zero-block detection and avoid the effect of the reconstructed encoding frames caused by error judgement, we analyzed the base matrices of integer transformation coefficients and found that all elements in the same sub-area of the base matrices were equal or inverse to each other in this paper,. Utilizing this distribution property, we can deal with the elements within the same sub-area together, and deduce a looser judgement criterion for all-zero block. It can detect a larger proportion of all-zero blocks in advance.The time proportion of motion estimation among the total encoding process is greater than 60%. In order to reduce the search points in the block matching process and relieve the calculation burden of motion estimation, we presented an adaptive fast search algorithm in this paper. The motion strength of current block is determined according to the MAD value at the start search point. For blocks with lower strength, we choose small diamond as search pattern, otherwise, hexagon is chosen as search pattern. In order to improve the accuracy of block matching, we search new three points within the hexagon according to the site of sub-optimal point on the edge of hexagon after the final hexagon search finished for long distance searches. Our method is more efficient compared with common fast search algorithms such as EPMVFAST, and at the same time the quality of the reconstructed encoding frames usually drops 0.02-0.04dB.In intra prediction, the prediction of current block is usually conducted according to the pixels from the neighbouring blocks in many different directions, and the direction with smallest prediction error is chosen finally. In order to reduce the number of searching intra modes, we advanced a fast mode selection algorithm combining the edge direction classification and edge vector projection together. For 4x4 luma blocks, the candidate prediction modes are determined by calculating the accumulated edge strength on many intra prediction directions for each pixel, and the mode with the smallest RD cost is chosen as the optimal mode. For 16x16 luma blocks, the prediction results of 4x4 blocks are utilized directly, and avoid the repeat statistics on edage vectors. Project the mode of each 4x4 block on the relevant direction of mode in Intral6x16. Then, calculate the accumulated edge strength in each direction and sort them with their value. In Intra4x4 prediction, our method only searches one mode in the least case, and searches three modes at most.In order to improve the efficiency of inter mode selection and reduce the search process of unnecessary modes, we proposed a fast mode selection algorithm based on the analysis of image texture and the classification of luma mean value. For current macroblock, we firstly determine the search range of modes according to the average abosolute luma difference between the current macroblock and the corresponding macroblock in the previous frame. Then, check the homogeneity of luma 16x16 block by calculating the average texture strength. If it is homogeneous, then search Inter16x16, Inter16x8 or Inter8x16 modes. Othrwise, judge the homogeneity between several blocks according to the luma mean value of each 8x8 block, and determine the candidate modes. For Inter8x8 mode, similar homogeneity examination should be conducted to decide if the smaller partition will be applied to prediction. Our approach could decide the optimal partition mode accurately, and the times of mode selection could be reduced effectively. In CAVLC decoding, in order to solve the problem of multiple matching in the decoding process of coeff_token codeword, we advanced a fast grouping algorithm based on the prefix features of codewords in this paper. We group the codewords from variable length code tables according to the number of ’0’ bits ahead of the first ’1’ bit. In the decoding process, we initially read a bitstream according to the maximum code length, and decide which group to search according to the number of ’0’ bits ahead of the first ’1’ bit. The mapping relationship between the number of consective ’0’ in codeword prefix and the number of information bits needed to match is established to solve the proplem of multiple matching. In the meantime, in order to realize fast matching of codeword within the group, we append all codewords and ensure that they have unified maximum length of information bits for each group. Moreover, the codewords within each group are sorted in asending order of information bits. In the decoding process, the position of the matching codeword in the group can be determined immediately according to the decimal number corresponding to the information bits read from the input bitstream. Only one match within the group is needed for our approach, and it enhances the decoding efficiency of codewords greatly.

Table of contents

Acknowledgements 6-7 Summary 7-9 Abstract 9-12 Contents 12-16 1 Introduction 16-46 1.1 thesis background 16-17 1.2 video encoding object of study 17 1.3 QuickCodes research Status 17-39 1.4 thesis ideas dialysis 39-43 1.5 article on the research question and thesis organization 43-46 2 transform and quantify 46-68 2.1 integer cosine transform 46-48 2.2 quantify 48-49 2.3 all-zero block detection algorithm 49-65 2.3.1 all-zero block detection research background 49-51 2.3.2 all-zero block detection is achieved in 51-54 < br /> 2.3.3 usual all-zero block detection algorithm 54-56 2.3.4 basal matrix analysis based on all-zero block detection algorithm 56-63 2.3. 4.1 base matrix partitioning 57-58 2.3.4.2 zero block the formation of the judgment conditions 58-61 2.3.4.3 substrate-based matrix analysis algorithm implementation process 61-63 2.3.5 analysis of experimental results 63-65 2.4 Summary 65-68 3 motion Estimation 68 - 90 3.1 Introduction 68-69 3.2 the concept of motion estimation 69-70 3.3 commonly used fast search algorithm 70-75 <br / > 3.3.1 UMHexagonS algorithm 70-71 3.3.2 four -step FSS 71-72 3.3.3 diamonds Act 72-73 <br / > 3.3.4 PMVFAST method 73-74 3.3.5 EPMVFAST 74-75 3.4 adaptive hexagon small diamond search algorithm AHSDS 75 - 87 3.4.1 early termination strategy 75-76 3.4.2 Search mode selection 76-77 3.4.3 algorithm AHSDS design process 77-80 3.4.4 AHSDS search methods and performance comparison diamonds Act 80-84 3.4.4.1 short distance to search 80-81 3.4. 4.2 The long search 81-84 3.4.5 experimental results 84-87 3.4.5.1 threshold setting 84-85 3.4. 5.2 analysis 85-87 3.5 Summary 87-90 4 intra mode prediction 90-106 4.1 Introduction 90-91 4.2 intra mode predictable framework 91-93 4.2.1 intra mode selection criteria 91 4.2.2 4x4 luminance blocks prediction mode 91-93 4.3 distribution patterns of different sequences 93-94 4.4 the proposed optimization algorithm 94-105 4.4. a 4x4 luminance block optimization 94-98 4.4.1.1 edge detection 94-96 4.4.1.2 mode Selection 96-98 4.4 .2 16x16 luminance block optimization 98-101 4.4.2.1 brightness 4x4 block prediction mode statistics 98-99 4.4.2.2 mode Selection 99 - 101 4.4.3 analysis of experimental results 101-105 4.4.3.1 prediction mode number search 102 4.4.3.2 reconstructed frame quality 102-105 4.5 chapter Summary 105-106 5 inter mode prediction 106-122 5.1 Introduction 106-107 5.2 H.264 inter mode prediction method 107-109 5.2.1 inter prediction mode types 107-108 5.2.2 nbsp inter mode selection criteria ; 108 5.2.3 statistical distribution of inter prediction mode 108-109 5.3 video sequences texture analysis 109-111 5.4 based on texture analysis and classification of the mean brightness inter mode selection algorithm 111-115 5.4.1 Search mode formation 111-112 5.4.2 homogeneity check 112-113 5.4.3 homogeneity check 113-114 5.4.4 ATAC inter prediction algorithm implementation steps 114-115 5.5 analysis of experimental results 115-119 5.5.1 movement number of searches 115-117 5.5.2 quality and reconstructed frame rate 117-119 < br /> 5.6 chapter Summary 119-122 6 CAVLC decoder optimization 122-134 6.1 Introduction 122-123 6.2 CAVLC coding principle 123-124 6.3 CAVLC decoding achieve 124-126 6.4 coefficient flag coeff_token decoding achieve 126-127 6.5 based codeword fast prefix feature grouping algorithm 127-132 6.5.1 codeword feature profiling 128 6.5.2 the basic idea of ??grouping algorithm 128-130 <br / > 6.5.3 grouping algorithm implementation process 130-132 6.6 analysis of experimental results 132-133 6.7 chapter Summary 133-134 7 Summary and Outlook 134-138 7.1 Full Conclusion 134-135 7.2 future Work 135-138 References 138-162 completed during the author 's doctoral thesis 162

Related dissertations

  1. Research on Implementation and Optimization of Key Algorithms in H.264/AVC Encoding Based on Media DSP
    SunZuoXia ·Zhejiang University ·2008 ·Master's thesis
  2. Complex Image Compression and Classification via Reversible Integer Karhunen-loeve Transform and Feature Caling Based KFDA
  3. A Study of New Fridges on the Relationship between Consumer’s Adoption and Image Perception Difference
    LiYunNa ·Hunan University ·2011 ·Master's thesis
  4. Research on housing security system of low-income groups in City
  5. Study on the search algorithm of motion estimation in video coding based on H.264
    ZhangDongBo ·Jiangxi University of Technology ·2012 ·Master's thesis
  6. The Research of the FPGA Design of the Key Module in H.264/AVC Standard
  7. Design the Platform of AVS HD STB and Research on AVS Coding Techniques
    XieAnAn ·Hunan University ·2012 ·Master's thesis
  8. Research on Rate Control Techniques for H.264Video Coding
  9. A Research on Paying for Performance for High School Teachers
    HuSuZuo ·Central China Normal University ·2012 ·Master's thesis
  10. The Review of the Activities by International Anti-japanese and Assisting-China Groups in Southwest China
    MaLi ·Guangxi Normal University ·2012 ·Master's thesis
  11. The Study on the Artistic Forms and Group Characteristics of "The New Fresh"
    LiuLongZhen ·Fujian Normal University ·2012 ·Master's thesis
  12. Research on Opinion Leaders of Film Fraction Website Mtime as Research Object
    TanZuo ·Liaoning University ·2012 ·Master's thesis
  13. Using TPR Method in Teaching English Adjective
    YeZuo ·Nanchang University of Aeronautics and ·2012 ·Master's thesis
  14. Synthesis of Mesoporous Silica Nanoparticles and Study Application in Acid-Base Catalysis Reaction
    HouQiongZuo ·East China Normal University ·2012 ·Master's thesis
  15. Preparation and Propetries Study of Novel Micro-Nano-Structured Polyphosphazene-Polyethersulfone Composite Materials
    KeLiEr ·Jilin University ·2012 ·Master's thesis
  16. The Research of Synthesis and Luminescent Properties of Carbazole Functionaiized Calixarene Derivatives
    MaXiaoYu ·Jilin University ·2012 ·Master's thesis
  17. Research on Color Image and Video Coding Based on Multi-dimensional Matrix Theory
    ZhaoZhiJie ·Jilin University ·2008 ·Doctoral dissertation
  18. Research of the Key Algorithms of H.264/AVC Encoder and Its VLSI Design
    XiYingLai ·Northwestern Polytechnical University ·2006 ·Doctoral dissertation
  19. Research on the Motion Estimation and Transform Based on the H.264 Framework
    XiangDong ·Huazhong University of Science and Technology ·2006 ·Doctoral dissertation
  20. Motion Estimation, Transform and Decoder Optimization in H.264/AVC
    XueQuan ·Zhejiang University ·2004 ·Doctoral dissertation