Optimization Design of H.264 Encoder Based on PC

Author
DuYong
Advisor
TangHuiMing
School
Zhejiang University
Major
Signal and Information Processing
Classification
TN76 Modulation technique and the modulator,demodulator and the demodulator
Degree
Master's thesis
Year
2004
Downloads
379
Citations
11

Request the full text

Abstract

With the coming of IT era, people put forward higher demand on the multimedia service under present condition of communication network. For example, the,higher qulity video phone and video conference; video store and display with higher resolution; video communication in wireless network; etc. But a key technology in all these application is video encode and decode.Multimedia video coding techonogy and corresponding coding standard are developing rapidly these years. The H.264 is outstanding of them. As the latest standard in video codec field, H.264 has such advantage as high compression rate, strong erroe resilience capacity, highly adaptability and so on. In order to gain good coding result, H.264 adopts so many new algorithms that the amount of calculation increase drastically. As a result, its applications in PC environment are restricted. In order to realize H.264 real-time codec, many optimization works have to be done. But these optimization gains should not at the cost of obviously coding performence drop.Basded on the reference software--JM61e of H.264 and through a detailed analysis and capability test of the encoder, we find out the major parts that lead to the high computation. After optimized by corresponding method described in this thesis, the efficiency of the encoder is remarkably improved with little performance loss.The main contents of the thesis are as follow:1. A brief introduction to the technical highlight of the H.264 standard and its development actuality, especially focus on the main technology in video coding layer which the high compression rate of H.264 is achieved based on.2. Sammarized the network adaption of H.264 and its error resilience technology which have greatly improved compared to other compression standard such as H.263.3. Detailedly analyzed the performance and computational complexity of H.264 encoder. Point out the major parts that lead to the high computation. We anvanced a fast block match algorithm based on Rate-Distortion Optimization and a fast intra prediction mode selection strategy based on edge detection. After programming, the result shows greatly improvement of coding efficiency compare to the original algorithm.4. Find the part that fit to optimization by MMX instruction set and realization them (including the SAD calculation and 1/2 pixel interpolation).

Table of contents

Abstract 3-4 Abstract 4-5 directory 5-7 outlined in Chapter 1 7-15 <br / > 1.1 the JVT's H.264 8-9 1.2 H.264 technical highlights 9-11 1.3 H.264 to achieve 11-13 < br /> 1.4 in this article tasks and goals 13-15 Chapter 2 in H.264 VCL layer 15-37 2.1 H.264 codec device structure 15-17 ● encoder (forward path) 15-16 ● encoder (reconstruction path) 16 ● decoder 16-17 2.2 intra-coded macroblock prediction 17-19 ● 4 × 4 luma prediction mode 17-18 ● 16 × 16 brightness forecasting models 18 ● 8 × 8 chroma prediction mode 18-19 ● intra prediction mode encoding 19 2.3 content-based adaptive arithmetic coding (CABAC) 19-20 ● encoding steps 20 ● content model 20 2.4 Variable Length Coding (VLC ) 20-25 ● ExpGolomb entropy coding 21-22 ● based on content adaptive variable length coding 22-25 2.5 frames prediction of inter-coded macroblocks 25-29 ● tree movement movement compensation 25-26 ● sub-pixel motion vector 26-29 2.6 transform and quantization 29-33 ● 4 × 4 residual transform and quantization (for block number 015, and 18-25) 29-32 ● 4 × 4 luminance DC coefficient transform and quantization 32 ● 2 × 2 chroma DC coefficient transform and quantization 32-33 2.7 deblocking filter system 33-37 ● content-based filtering strength settings 33-35 ● block-edge threshold 35 ● interframe coding, deblocking filter 35 ● nbsp strong filtering of the intra-coded blocks 35-37 Chapter 3 of H.264 NAL layer and its error recovery method in the IP network ; 37-50 3.1 of H.264 code stream transmission 38-44 3.1.1 Overview 38-39 3.1.2 NAL concept 39-40 3.1.3 of H.264 RTP payload specification 40-42 3.1.4 the concept of parameter sets 42-44 3.2 error recovery method 44-50 reduce the complexity of video encoding and decoding algorithms in Chapter 4, 50-67 4.1 Performance Analysis and Comparison of 50-51 < br /> 4.2 algorithm complexity analysis 51-52 4.3 video encoding in rate distortion optimization 52-55 4.3.1 Principles of 52 4.3.2 H.264 rate-distortion optimization of motion estimation and mode selection 52-55 the 4.3.2.1 bitrate is limited is the motion estimation 53 4.3 2.2 bit rate-constrained mode selection 53-54 4.3.2.3 based on rate-distortion optimized encoder control and Lagrangian parameter selection 54-55 4.4 one kind of rate-distortion optimization of fast motion estimation algorithm 55-60 4.4.1 tradition of fast motion estimation algorithm and its advantages and disadvantages is 55-56 4.4.2 one kind of rate distortion under optimal criteria for fast block matching algorithm 56-60 4.4.2.1 principle and the algorithm is 56-59 4.4.2.2 experiments and conclusions 59-60 4.5 edge detection-based fast intra mode choice 60-67 4.5.1 edge vector as the generation of 60-61 4.5.2 Mode Selection strategy 61-63 63-67 Chapter 5 4.5.3 Experimental results based on the MMX instruction set, code optimization 67-79 Introduction of 5.1 MMX technology 67-69 5.2 MMX achieve seek the SAD value of the core program and the block diagram as 69-76 5.2.1 C language implementation of the 16 × 16 block the entire pixel accuracy of calculation of the absolute difference procedures 69-70 5.2.2 the MMX calculation of the absolute difference between the process 70-71 5.2.3 MMX circulation kernel program is 71 - 73 5.2.4 integer pixel search request SAD value optimization 73-75 5.2.5 optimize efficiency 75-76 5.3 interpolation optimization thank 76-79 Conclusion 79-80 80

Related dissertations

  1. Research and Implementation on the MFHS Algorithm Based on H.264
    YaoHuaLi ·Henan University of Technology ·2013 ·Master's thesis
  2. The Design and Implementation of the Intelligent Unattended Video Surveillance Platform
    ChenShiZhe ·University of North ·2012 ·Master's thesis
  3. Research of Acceleration Algorithms of Motion Estimation Based on H.264
    LiuFeiBo ·Northeastern University ·2010 ·Master's thesis
  4. The Research of Motion Estimation Based on H.264/AVC
  5. Research of H.264Prediction Algorithm
    ChengPeng ·South China University of Technology ·2012 ·Master's thesis
  6. Research of Motion Estimation Algorithm in Video Compression
  7. Research on the Intra and Inter Prediction in H.264
    WangDeBao ·Hefei University of Technology ·2007 ·Master's thesis
  8. Vehicle Wireless Video Monitoring System Based on Improved H.264Motion Estimation Algorithm
  9. Video Compression Techniques Based on H.264and Its Application in the Video Monitoring System
    XuYao ·Anhui University ·2014 ·Master's thesis
  10. Research on Key Technology for H.264Video Coding
  11. Research and Optimization on the Motion Estimation Algorithm in H.264
    LiuZhi ·Hunan University ·2013 ·Master's thesis
  12. Research on H.264Video Encryption Algorithm
    ZhangJiaZuo ·Northeastern University ·2013 ·Master's thesis
  13. Study on Video Compression Based on Elastic Motion Model
    DengBinZuo ·Xiamen University ·2014 ·Master's thesis
  14. Research of Motion Estimation Algorithm for Video Compression Applications
    LiuYan ·Harbin Institute of Technology ·2010 ·Master's thesis
  15. Research and Improvement of Fast Motion Estimation Algorithm in H.264
    XuChen ·Taiyuan University of Technology ·2012 ·Master's thesis
  16. H.264 Video Encoder Based on FPGA
  17. H.264 Encoder Optimization Based on TMS320DM642
  18. Research on the Key Technologies of H.264 Algorithm Based on DM642
    GuoQinDi ·Tianjin University of Technology ·2012 ·Master's thesis
  19. Research and Implementation of Intra Prediction in H.264/AVC Standard
    PanBin ·Shanghai Jiaotong University ·2010 ·Master's thesis
  20. Research and Detailed Design on Inter-frame Prediction Module in Real-time H.264HD CODEC
    HanQiang ·Shanghai Jiaotong University ·2010 ·Master's thesis