H.264 video coding technology and DSP implementation
- Author
- DingYang
- Advisor
- ShiYu
- School
- University of Electronic Science and Technology
- Major
- Electronic information materials and components
- Classification
- TN919.81 Image coding
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 209
- Citations
- 1
Abstract
H.264 video coding standard is the new international video coding standard approved on May, 2003. By adopting a number of new coding technologies, it has achieved a significant improvement in compression performance and a "network-friendly" video representation relative to existing standards. While all these technologies increase the complexity of H.264 encoder thus restrict its real time application. So, research on the implement and optimization of H.264 based on DSP TMS320DM642 is significant to application of video technology on embeded system.This thesis mainly researches on H.264 key technology of video coding and its implement on TMS320DM642. First, some background knowledge on video compression technoglogy is presented. The development of international video compression standards is briefly introduced. Then the key techniques in H.264 is discussed. Furthermore, the three famous H.264 test models are introduced and tested, then X264 reference software is adopted as H.264 coder model. Further the discussion is focused on its encoding parameters and how they effect the coding speed and the image quality. Then, prediction module with high computational complexity is perfered to be optimized: an algorithm of fast INTRA mode decision is proposed, and its availability is demonstrated by means of table; an improved algorithm for INTER mode decision is presented, tested results show that it enhances the encoding speed effectively with slight PSNR drops. Finally, we choose DM642 video embeded system which is designed ourself as hardware platform, transplant H.264 basline profile encoder into TI DM642 and optimize it . Experimental results are presented to verify the effectiveness of the optimization. It can encode 15-29 yuv4:2:0 cif format viedo frame per second with high visual quality (qp=26).
Table of contents
Abstract 4-5
ABSTRACT 5-9
first chapter 9-20
the background and significance of the
1.1 topics 9-11
the development and introduction of the the 1.1.1 video compression coding standard 9-11
1.1.1.1 H.261 10
1.1.1.2 MPEG1 10
1.1.1.3 MPEG2 (H.262) 10
1.1.1.4 H.263 10-11
1.1.1.5 MPEG4 11
1.2 video compression encoding basic principle 11-14
1.2.1 Predictive Coding 12-13
1.2.2 transform coding 13
1.2.3 statistical coding 13-14
1.3 video quality evaluation criteria 14-16
1.3.1 image quality of subjective evaluation 14-15
1.3.2 image quality objective measurement 15-16
1.4 used standardized image format 16-18
1.4.1 Resolution 16-17
1.4.2 YUV sampling format 17-18
1.5 H.264 applied research status quo 18-19
1.6 In this thesis, the main research content and structure arrangements 19-20
the second chapter H.264 video coding standard 20-43
2.1 H.264 Features and Benefits 20-23
2.1.1 network friendliness 20-21
2.1.2 compression ratio significantly improve 21
2.1.3 new frame type 21
2.1.4 error recovery 21-22
2.1.5 field coding mode 22
2.1.6 application diversity 22-23
2.2 H.264 code stream structure 23-27
2.2.1 NAL unit syntax structure 24-25
2.2.2 Slice grammatical structure 25-26
2.2.3 macroblock layer syntax structure 26-27
2.3 H.264 key technology 27-43
2.3.1 intra prediction 28-30
2.3.1.1 4x4 luminance prediction mode 28-29
2.3.1.2 16x16 luminance prediction mode 29-30
2.3.1.3 8x8 chrominance block prediction mode 30
2.3.2 inter prediction 30-33
2.3.2.1 tree structured motion compensation 30-31
2.3.2.2 sub-pixel motion vector 31-32
2.3.2.3 MV prediction 32-33
2.3.2.4 multi-reference frame 33
2.3.3 integer transform and quantization 33-38
2.3.3.1 4x4 residual transform and quantization (0-15 and 18-25) 34-36
2.3.3.2 4x4 luminance DC coefficient of variation and quantization (for 16x16 intra prediction mode) 36-37
2.3.3.3 2x2 chroma DC coefficient transform and quantization 37-38
2.3.4 Entropy coding 38-41
2.3.4.1 Exp-Golomb entropy coding 38-39
2.3.4.2 CAVLC 39-40
2.3.4.3 CABAC 40-41
2.3.5 deblocking filter 41-43
the
H.264 based PC algorithm analysis and optimization 43-63
3.1 H.264 three open source encoder to select 43-44
3.1.1 three open source introduced 43
3.1.1.1 JM 43
3.1.1.2 X264 43
3.1.1.3 T264 43
3.1.2 three major open-source encoder performance evaluation 43-44
3.2 X264 encoder key parameters analysis 44-50
3.2.1 quantization parameter QP 45-46
3.2.2 the number of reference frames 46-47
3.2.3 motion estimation algorithm 47-49
3.2.3.1 Movement estimated algorithmic Research 47-48
3.2.3.2 X264 motion estimation algorithm testing 48-49
3.2.4 search accuracy and mode 49-50
3.3 prediction mode selection algorithm optimization 50-63
3.3.1 rate distortion optimization techniques 51-52
3.3.2 intra prediction mode selection algorithm optimization 52-56
3.3.2.1 X264 intra prediction mode selection process open source 52-53
3.3.2.2 X264 open source intra prediction mode selection optimization 53-56
3.3.3 inter prediction mode selection algorithm optimization 56-63
3.3.3.1 Interframe best mode distribution characteristic Statistics and Analysis 56-60
3.3.3.2 X264 interframe prediction algorithm improvements 60-63
Chapter X264 DSP transplantation and optimization 63-83
4.1 system performance requirements 63
4.2 Introduction to DSP hardware platform and development tools 63-68
4.2.1 TMS320DM642 DSP structure 63-66
4.2.2 DM642 hardware platforms 66-67
4.2.3 integrated development environment CCS 2.0 67-68
4.3 X264 based on the DM642 platform transplants 68-71
4.3.1 remove redundant code 68
4.3.2 modify the functions and variables are not suitable for the CCS environment 68-69
4.3.3 compiler options and linker command file 69-71
4.4 X264 DSP-based optimization 71-80
4.4.1 C6000 program development process 71
4.4.2 Project-level optimization 71-74
4.4.2.1 CCS compiler option to optimize 71-73
4.4.2.2 storage space optimization 73-74
4.4.3 C language level optimization 74-76
4.4.4 assembler level optimization 76-80
4.5 system to optimize the performance test results before and after 80-83
Chapter Summary and Outlook 83-84
Acknowledgements 84-85
the
References 85-88
the
attack Shuo achieved during the research 88-89
Related dissertations
- Video Compression Techniques Based on H.264and Its Application in the Video Monitoring System
- Research of Video Compression on Micro-UAV
- Research and Implementation on the MFHS Algorithm Based on H.264
- Research and implementation of technology of infrared monitoring based on DSP
- H.264 Encoder Optimization Based on TMS320DM642
- Research of Acceleration Algorithms of Motion Estimation Based on H.264
- Design and Realization of Video Monitoring System Based on H.264
- Research on H.264Video Coding Standard and Application in Embedded Video Surveillance System
- The Research of Motion Estimation Based on H.264/AVC
- Research of H.264Prediction Algorithm
- Research of Motion Estimation Algorithm in Video Compression
- Design and Implement of Vido Capture,display and Storage System Based on Android Operating System
- Research of Image Transmission System in Micro-UAV
- Realization and Optimization of a H.264 Encoder on DM642
- Investigation and Implementation of H.264/AVC Video Encoder Base on DM642 DSP Platform
- DSP based H.264 video compression to achieve
- Research on Algorithm of H.263 Video Encode and Implementation of Video Encoder Based on DSP
- TMS320DM642-based MPEG-4 video codec Research and Implementation
- The Design and Implement of Video Compression System Based on DM642
- DM642-based H.264 video encoder and Design Optimization