H.264 codec software simulation and optimization
- Author
- ZhuLin
- Advisor
- FengYan
- School
- Northwestern Polytechnical University
- Major
- Signal and Information Processing
- Classification
- TP391.9 Computer simulation
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 277
- Citations
- 3
Abstract
Entering 21 Century, the adoption of digital video has been fuelled by the development of many video coding standards in many applications. There are many video protocols such as JPEG, H.263, MPEG-1 and MPEG-2. which are targeted in different application areas. However the requirements for video transmission are increasing with the prevalence of Internet, so the video protocols have some limitation and localization nowadays. The H.264 is researched to be seasoned with low bitrate by VCEG and MPEG. As the latest standard in video codec field, H.264 has such advantage as high compression rate, strong error 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 performance drop.This thesis first summarizes the international standards of video compression and codec’structure flow of H.264 and some new characters. It introduces intra prediction, inter prediction, transform, quantity, and code these modules’ theory and character from H.264.And the codec process is realized on VC++6.0 environment. The paper Analyzes the relativity of motion estimation with emphasis in this foundation under the different stages between optimal modes relevance, and proposes improvement method of the block pattern choice on the foundation Baseline Profile of H.264, after improving it enable the speed of coding to have 10 ~ 20% enhancement. In order to further enhance the speed of codec for achieving real-time coding, this thesis introduces multimedia instruction collection such as MMX, SSE, SSE2 as well as SSE3 based on SIMD (Single Instruction Multi Data). And it further optimizes some time-consuming modules in the H.264 like SAD computation, the transformation, quantification and interpolation using these instruction collections. On the condition that quality of image is guaranteed it enhances the speed of encoder, the speed of encoder is enhanced 5-7 times comparing encoder that is not optimized , to the qcif sequence it may achieve real-time encoding an decoding.
Table of contents
Chapter I outlines 7-11
1.1 Introduction 7
1.2 video compression necessity and feasibility 7-8
1.3 Video Coding International Standard Profile 8-9
1.3.1 H.26X standard series 8-9
1.3.2 MPEG standard series 9
1.4 papers the main work and the arrangement of contents 9-11
Chapter H.264 video coding standard 11-29
2.1 H.264 codec and structural 11-13
2.1.1 H.264 codec features 11-12
2.1.2 H.264 encoder 12-13
2.1. 3 H.264 decoder 13
2.2 video format and macro-block coding type 13-14
2.2.1 video format 13-14
2.2 .2 macroblock coding type 14
2.3 intra prediction 14-17
2.3.1 4 × 4 luma prediction mode 15-16
2.3.2 16 × 16 luminance prediction mode 16
2.3.3 8 × 8 chrominance block prediction mode 16-17
2.4 interframe prediction 17 - 20
2.4.1 tree motion compensation 17-18
2.4.2 motion vector 18-19
2.4.3 MV prediction 19
2.4.4 B Slice forecast 19-20
2.5 H.264 's SP / SI frame technology 20-21
2.6 integer transform and quantization 21-25
2.6.1 integer Transform 22-23
2.6.2 quantitative 23-24
2.6.3 DCT transform DC coefficients quantization 24-25
2.7 coding 25-26
2.7.1 the basic principle of entropy coding 25-26
2.7.2 CAVLC coding 26
2.8 deblocking filter 26-27
2.9 H.264 codec simulation 27-29
Chapter motion estimation improved design 29-35
3.1 conventional motion estimation 29-30
3.2片(SLICE) type improve 30-31
3.3 interframe block segmentation mode Selection 31-33
3.4 experimental results 33-35
Chapter instruction optimization design 35-50
4.1 multimedia instruction sets Introduction 35-39
4.1.1 MMX instruction set 35-37
4.1.2 SSE instruction set 37-38
4.1.3 SSE2 instruction set 38-39
4.1.4 SSE3 instruction set 39
4.2 based on single instruction multiple data technology instruction optimization 39-47
4.2.1 integer DCT and quantify 41-44
4.2.2 interpolation 44-45
4.2.3 SAD calculation 45-47
4.3 experimental results 47-50
chapter conclusions 50-51
References 51-53
of papers published during the master 53-54
Thanks 54-55
Northwestern Polytechnical University intellectual Property Statement dissertation industry 55
Northwestern Polytechnical University, dissertation original statement 55
Related dissertations
- Video Surveillance System Based on Embedded Technology Research
- Vehicle Wireless Video Monitoring System Based on Improved H.264Motion Estimation Algorithm
- The software design of intelligent control Home Furnishing gateway based on ARM11
- Research on Moving Object Segmentation and Extraction in the H.264Compressed Domain
- The Design of Vehicle Detection System
- 2D to3D Conversion Method for3DTV Application
- The Design and Implementation of Vector Memory Unit of Multi-Width SIMD DSP
- The Design and Implementation of High-performance fixed-point Arithmetic Unit for SIMD DSP
- Design and Implemtation of BP Component and Shuffle Unit in YHFT-Matrix Processor
- Design of Embedded Video Surveillance System Based on DaVinci Technology
- Design and Implementation of Mobile Video Surveillance System Based on Intelligent Terminal
- Design of IP Camera Based on DM365DSP Platform
- Design of Remote Mobile Video Monitoring System
- Research and Implementation of Intelligent Video Surveillance System Based on RTSP
- Design of Wireless Video Monitoring System of Water Supply Well Based on FPGA
- Remote Video Monitoring System Based on RTP and H.264Technology
- The Data Flow Transmission Research of Real-time H.264Video Monitoring System Based on RTP
- Research on Embedded Network Video Monitoring System Based on the ARM
- The Research of Intelligent Mobile Phone Video Surveillance System Based on3G Network
- Video Compression Techniques Based on H.264and Its Application in the Video Monitoring System