Research on Fast Motion Estimation Algorithm and DSP Realization of Encoder for H.264
- Author
- WangHongJun
- Advisor
- LiHua
- School
- Tianjin University
- Major
- Signal and Information Processing
- Classification
- TN919.81 Image coding
- Degree
- Doctoral dissertation
- Year
- 2009
- Downloads
- 444
- Citations
- 0
Abstract
Due to the weight of encoding time for motion search in H.264 video coding standards is great, the efficiency of whole video encoding is directly determined by the motion search algorithm. So, the study and improvement on these search algorithms are quite necessary. Further, the calculated load of coding program for H.264 standard is also very great. It causes the normal microcomputer can not satisfy the huge calculation. Therefore, the research on realization of real time H.264 video encoding by DSP has important practical meaning.Base on the deeply study of key techniques in H.264, this paper mainly discusses the improvement of motion estimation, fast multi-reference frames selection and the realization and optimization of H.264 encoder by DSP.In EPZS algorithm for video motion search, it has a lot of initial predictive vectors which causes the lowly search efficiency. We make use of the features and relationships for the vectors of space domain and time domain, to determine the initial predictive vector, and improve the search speed. In order to avoid the problem of local optimization for residual error when motion estimate in H.264 encoding, we present two fast algorithms, 4-T fast algorithm and a table-search based SAE reuse fast algorithm. On the improvement of algorithm for fast selecting multi-reference frames, a low-complexity and fast multi-frame selection method is proposed in order to avoid searching the redundant reference frames. Finally, this paper introduces the realization of H.264 encoder by DSP. It mainly discusses how to develop and optimize the H.264“baseline”encoder ported from VC platform on the hardware platform based on TMS320DM642. For the implementation of H.264 video encoder based on DSP, we should consider the characters of DSP, except for characters of video encoding algorithm. The paper is to improve the kernel algorithm efficiency of the encoder using linear assembly language and assembly language which can improve the parallelism inherent in the H.264 encoder. Combine with the above table-search based SAE reuse fast algorithm, we also make full use of two levels Cache of DM642 to optimize the encoding program.The experimental results show that the improved EPZS achieves good search performance, maintains the SNR almost the same as the full search; The 4-T fast algorithm and the table-search based SAE reuse fast algorithm also can increase the search speed with no PSNR dropping; Although the proposed low-complexity and fast multi-frame selection method may cause the SNR of peak value to be slight higher, its selection speed is over two times faster than that of the original scheme adopted in JVT reference software.
Table of contents
Chinese Abstract 3-4
ABSTRACT 4-9
first chapter 9-20
1.1 video compression necessity 9-10
1.2 video compression possibilities 10
1.3 how to video compression 10-12
1.3.1 intra- and inter-frame predictive coding 11-12
1.3.2 using discrete cosine fourier transform coding 12
1.4 video coding technology 12-15
1.5 major video compression standard Introduction 15-18
1.5.1 H.261 video compression standard 15-16
1.5.2 H.263 video compression standard 16
1.5.3 H.263 + video compression standard 16-17
1.5.4 H.263 + + video compression standard 17
1.5.5 MPEG standards developed by expert 17-18
1.6 of the DSP H.264 video compression to achieve 18
1.7 this paper work and structural arrangements 18-20
Chapter H. 264 key technology and encoder DSP implementation 20-29
2.1 H.264 video compression standard key technology 20-27
2.1.1 H.264 encoding device structure 20-21
2.1.2 intra Prediction 21-22
2.1.3 interframe prediction 22
2.1.4 integer Transform 22-23
2.1.5 transform coefficient quantization 23
2.1.6 scan order 23-24
2.1.7 anti -blocking filter 24
2.1.8 entropy coding 24-25
2.1.9 new images Genre 25-26
2.1.10 algorithms points layer structure 26-27
2.1.11 for IP and wireless environments 27
2.2 H.264 encoding DSP implementation 27-29
first chapters fast motion estimation algorithm research 29-61
3.1 background 29-34
3.2 EPZS algorithm ideas and Algorithm Improvement 34-43 <br / > 3.2.1 predictive vector selection 35-39
3.2.2 stops adaptive strategies 39-40
3.2.3 using search template on the final motion vector for precise positioning 40-41
3.2.4 algorithm based on the initial motion vector EPZS improvement 41-42
3.2.5 experimental results and analysis 42-43
3.3 4T algorithm ideas and algorithms 43-52
3.3.1 4T algorithm thought 43-44
3.3.2 algorithm 44 - 51
3.3.3 experimental results 51-52
3.4 based on a simple table lookup SAE reuse quick count 52-54
3.4.1 SAE multiplexing algorithm thought 52-54
3.4.2 experimental results 54
3.5 H.264/AVC based fast multiple reference frame selection algorithm to improve 54-60
3.5.1 H.264/AVC inter prediction Overview 54-56
3.5.2 search multiple reference frame in motion the process of probability and statistics 56-57
3.5.3 reference frame prediction mode 57-58
3.5.4 improved fast multiple reference frame determination algorithm 58-59
3.5.5 experimental results and analysis 59-60
3.6 Summary 60-61
Chapter H.264 standard encoder DSP implementation and optimization 61-98
4.1 coding device DSP implementation research background 61
4.2 TMS320DM642 DSP system development platform 61-65
4.2.1 DM642 hardware structure 61-63
4.2.2 DM642 performance characteristics 63-64
4.2.3 DM642 development platform 64-65
4.3 H.264 encoder DSP transplantation and memory space optimization 65-74
4.3.1 H.264 encoder transplant 65-68
4.3.2 CCS compiler options and DSP memory space optimization 68-74
4.4 H.264 encoder and procedures of the DSP core algorithm optimization 74-91
4.4.1 DSP code optimization techniques 75-77
4.4.2 H. 264 encoder algorithm and program optimization 77-90
4.4.3 H.264 encoder optimized performance analysis 90-91
4.5 based on H.264 Cache encoder optimization 91-97
4.5.1 DM642 's two Cache principle 91-92
4.5.2 DM642-based Cache -level optimization 92 - 97
4.6 Chapter Summary 97-98
Chapter Summary and Outlook 98-102
References 102-110
studying during doctoral research papers and participate in the situation described 110-113
Thanks 113
Related dissertations
- Research and Development of Froth Flotation Video Surveillance Hardware Platform Based on DSP
- Video Surveillance System Based on Embedded Technology Research
- Intelligent Video Surveillance System Based on DSP
- Optical Fiber Perimeter Alarm System Based on DSP and FPGA
- The Design of Monitoring System for the Photovoltaic Plant Based on DSP
- Vehicle Wireless Video Monitoring System Based on Improved H.264Motion Estimation Algorithm
- Design and Implementation of Multi-channel Data Acquisition System
- Research on Measuring System of Mid-Infrared Photoelectric Autocollimator
- Wire Rope On-line Detection System Design Based on DSP
- IMU Data Acquisition and Processing System Design and Realization Based on DSP
- Design of Marine Toxin Analvsis System Based on ECIS and Image Detection
- The Design of Multi-channel Optic-electronic Signal Acquisition and Processing System
- The Study Oh Fuzzy Controlin TIG Welding Prossess
- Control Method Research and Controller Development of AGV Based on DSP
- Research on Tension Control System of Fiber Placement Machine
- Research on Drive and Control Technology of Electromagnetic Traveling-wave for Automated Conveying System
- Research on the Slave Station for AC Servo Driver Based on DeviceNet Fieldbus
- Modeling and Implementation of Motor Function Module Based on PLCopen
- The Design and Research of Embedded Multi-axis Control System
- The software design of intelligent control Home Furnishing gateway based on ARM11