The Optimization and Implementation of Motion Estimation and Motion Compensation in H.264 Video Compression Standard
- Author
- LiHui
- Advisor
- QuanZiYi
- School
- Beijing University of Posts and Telecommunications
- Major
- Communication and Information System
- Classification
- TN919.81 Image coding
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 501
- Citations
- 5
Abstract
ITU-T Video Coding Experts Group and the ISO/IEC Moving Picture Experts Group work together to work out a new video coding standard-H.264/AVC. This new standard can save approximately a 50% bit rate for equivalent perceptual quality relative to the existing standards. Due to the advanced compression performance and the "network-friendly" nature, H.264 will be adopted over a broad variety of applications such as video telephone, broadcast, streaming services, storage and so on.H.264 encoder achieves better performances at the cost of a larger computing consumption. The paper will emphasis on research of Motion Estimation and Motion Compensation algorithm and the implementation of H.264 video encoder based on DM642 platform.In this paper, first introduces the technology of H.264 video CODEC, including intra prediction, inter prediction, integer DCT transform, entropy encoding and so on.Secondly, the paper analyses the technology of ME and MC, introduces the especial algorithm in H.264 encoder: tree structured motion compensation, sub-pixel motion vector and multiple reference frames.Thirdly, optimizes the MC and ME algorithm in H.264 based on PC platform from three ways: variable block size motion compensation, integer pixel motion estimation and sub-pixel motion estimation.Finally, the paper focuses on optimization and implementation of H.264 encoder based on DM642 platform. DM642 is a kind of DSP chip produced by TI which is especially used in image process. DM642 is based on C64x chips but appends many peripheral equipments and interface. Combining DM642 embedded system hardware characteristics, the paper optimizes the H.264 encoder and decreases the encoding time efficiently. In this process, many skills of software development based on DM642 are summarized.
Table of contents
Abstract 4-5
ABSTRACT 5-9
The first chapter 9-13
1.1 Multimedia Technology Overview 9-10
1.2 video compression coding standards development 10-12
1.3 The main contents 12-13
Chapter H.264 video coding technology 13-26
2.1 H.264 coding structure introduced 13-14
2.2 H.264 video coding key technology 14-22
2.2.1 Intra Prediction 14-16
2.2.2 interframe prediction 16-17
2.2.3 Integer Transform 17-19
2.2.4 Quantitative 19-21
2.2.5 entropy coding 21-22
2.3 H.264 layered design 22-26
Chapter motion estimation and motion compensation technology 26-35
3.1 motion estimation and motion compensation for the basic principles of 26-28
3.2 Based Block Matching Motion Estimation 28-31
3.2.1 matching block size selection 28-29
3.2.2 Search mode 29
3.2.3 block-matching criteria 29-31
3.3 H.264 in the motion estimation and motion compensation technology 31-35
3.3.1 tree-structured motion compensation 31-32
3.3.2 sub-pixel motion vector 32-33
3.3.3 Multiple Reference Frame 33-35
Chapter H.264 PC-based motion estimation and motion compensation algorithm optimization 35-52
4.1 open source encoder profile 35
4.2 block matching mode selection algorithm optimization 35-39
4.2.1 P-frame coding mode 35-36
4.2.2 Mode Selection Algorithm Optimization 36-37
4.2.3 Simulation and results analysis 37-39
4.3 integer pixel motion search optimization 39-47
4.3.1 integer pixel fast search algorithm 39-42
4.3.2 Algorithm comparison and simulation results 42-47
4.4 subpixel motion search optimization 47-52
4.4.1 half-pixel motion search algorithm optimization 47-48
4.4.2 1/4 pixel motion search algorithm optimization 48
4.4.3 optimized implementation and simulation results 48-52
Chapter DM642-based H.264 encoder implementation and optimization 52-72
5.1 DM642 hardware platforms 52-56
5.1.1 DM642 multimedia processor introduced 53-55
5.1.2 Integrated Development Environment 55
5.1.3 DM642 evaluation board hardware platform 55-56
5.2 memory optimization 56-60
5.2.1 three memory system 56-57
5.2.2 Cache Optimization 57-58
5.2.3 memory space allocation 58-60
5.2.4 EDMA optimization 60
5.3 encoder code-level optimization 60-70
5.3.1 CCS compiler option optimization 61-62
5.3.2 Inline functions 62-63
5.3.3 using TI image library 63-64
5.3.4 software pipelining 64-67
5.3.5 Linear Assembly 67-69
5.3.6 other optimization methods 69-70
5.4 Conclusion and summary 70-72
References 72-74
Thanks 74
Related dissertations
- Vehicle Wireless Video Monitoring System Based on Improved H.264Motion Estimation Algorithm
- Research on Electronic Image Stabilization Algorithm Based on Gray-scale Projection
- Crucial Algorithm Research on Traffic Incident Detection System Base on Video Image
- Research on Key Technology for H.264Video Coding
- Research and Optimization on the Motion Estimation Algorithm in H.264
- Research and Implementation on the MFHS Algorithm Based on H.264
- VLSI Design of H.264/AVC Motion Compensation Arithmetic
- The Study of Fast Dynamic Magnetic Resonance Imaging Based on Compressed Sensing Technique
- The Design and Implementation of the Intelligent Unattended Video Surveillance Platform
- The Research of Electronic Image Stabilization Technology Based on FPGA
- Research on Video Moving Object Segmentation Technology in the H.264Compressed Domain
- Context-based Still and Aurora Image Compression
- Research and implementation of technology of infrared monitoring based on DSP
- Research of Motion Estimation Algorithm for Video Compression Applications
- Research and Improvement of Fast Motion Estimation Algorithm in H.264
- H.264 Encoder Optimization Based on TMS320DM642
- Research on the Key Technologies of H.264 Algorithm Based on DM642
- Research of Acceleration Algorithms of Motion Estimation Based on H.264
- Research on Fast Motion Estimation and Mode Decision for H.264/Avc Video Coding
- The Research and Improvement of Motion Estimation Based on H.264Video Coding