H.264 Fast Algorithm Research and Implementation on High Speed DSP Platform
- Author
- WeiZhenYu
- Advisor
- ZhangXuDong
- School
- Tsinghua University
- Major
- Information and Communication Engineering
- Classification
- TN919.8 Image communication, multimedia communication
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 455
- Citations
- 3
Abstract
From video telephony, video conferencing to DVD, digital TV, set-top boxes, digital video around us everywhere, deeply enriched our lives. For different applications of digital video, international organizations put forward a series of international video compression standard. It is because of the development of so many video digital video standard is widely used. Similarly, the expansion of the field of digital video applications, but also for video compression technology put forward higher requirements, to promote the development of video compression standards. H.264/AVC is the ISO MPEG and ITU-T VCEG jointly proposed the generation of video compression international standards, and compared to the previous video coding standards, H.264 uses a number of special techniques to reduce bit rate, improve performance, For example: 1/4 sub-pixel precision motion vector search, multi-frame prediction, seven modes of block matching, and intra prediction, integer DCT transform, CABAC or CAVLC entropy coding technologies. The use of these technologies, such H.264 with low bit rate, high-quality performance. However, use of these techniques has greatly increased the complexity of the encoder, so that the large increase in operation, can not meet the requirements of real-time encoding and decoding. How to optimize the H.264 algorithm to meet the actual project needs to become nearly 1 to 2 years to research hotspot. Through the algorithm, the authors found that the motion estimation, sub-pixel search and a mode selection portion of the encoder operation cost of 70% to 80%, it is necessary to optimize the improvement. Making full use of the image between neighboring macroblock has a strong spatial correlation, based on the paper, based on technology forecasting and early stopping fast motion estimation algorithm and sub-pixel search algorithm, as well as model-based prediction and adaptive threshold fast mode selection algorithm, significantly improved the efficiency of the encoder, and preferably to maintain the image quality of the video compression rate is not significantly affected. With the digital signal processor (DSP) The rapid development for the realization of portable digital video communication terminal may be provided. TI (Texas Instruments) has introduced the C64 series DSP with high frequency, high capacity parallel processing features, is currently the highest processing power of a digital signal processor. The H.264 algorithm implementation in order to C64 DSP core processor system, with strong engineering significance and market value. This article will implement the H.264 encoder simulation in Ti C6416DSP development platform NVDK, by system-level optimization, algorithm-level optimization, instruction-level optimization and other means to fully utilize the DSP parallel processing capabilities and rich media processing instructions, and ultimately achieve the effect of the real-time encoding.
Table of contents
Chapter 1 Introduction 8-17
1.1 research background and significance 8-9
1.2 evolution of digital video coding standard 9-10
1.3 Overview of international standards for digital video coding 10-14
1.3.1 International Telecommunication Union (ITU-T) video standard H Series 10-11
1.3.2 MPEG video series standard 11-14
1.4 theses and major work 14-15
1.4.1 H.264 encoder fast algorithm 14-15 <br / > 1.4.2 H.264 encoder on DSP implementation and Optimization 15
1.5 thesis is organized 15-17
Chapter 2 video compression standard H.264 Introduction 17-39
2.1 H.264 Overview 17-18
2.2 H.264 codec 18-20
2.3 H.264 structural framework 20-26
2.3.1 H.264 for profiles and levels 20-23
2.3.2 H.264 video formats supported 23 -24
2.3.3 H.264 bitstream format 24
2.3.4 H.264 frame structure 24-26
2.4 H.264 specific Technical 26-39
2.4.1 intra prediction coding 27-29
2.4.2 motion Estimation 29-35
2.4.3 integer DCT transform 35-36
2.4.4 entropy coding 36-38
2.4.5 Summary 38-39
Chapter 3 NVDK development platform and TMS320C6416DSP introduction 39-53
3.1 NVDK (Network Video Development kit) Introduction 39-40
3.2 NVDK architectural and technical features 40-47
3.2.1 DSP and its associated resources 41-43
3.2.2 video Interface 43-44
3.2.3 audio Interface 44-45 < br /> 3.2.4 PCI Interface 45
3.2.5 FAST-Port Interface 45-46
3.2.6 other interfaces 46-47 <br / > 3.3 generic fixed-point digital signal processor TMS320C6416 47-53
3.3.1 TMS320C6416 Profile 47-49
3.3.2 CPU technical characteristics 49-53
Chapter 4, H.264 fast algorithm 53-86
4.1 motion estimation algorithm outlined 54-64
4.1.1 full search method (Full Search , referred to as FS) 55-56
4.1.2 three-step search (Three Step Search, referred TSS) 56
4.1.3 new three-step search method (New Three step Search, referred NTSS) 56-58
4.1.4 four-step search (Four Step Search, referred 4SS) 58
4.1.5 logarithmic search method (Logarithmic Search) 58
4.1.6 diamond search (Diamond Search) 58-59
4.1.7 HEXBS 59-60
4.1.8 MVFAST 60-61
4.1.9 PMVFAST 61-62
4.1.10 UMHexagonS 62-63
4.1.11 EPZS 63-64
4.2 fast integer pixel motion estimation algorithm - ARPS-4 64-68
4.2.1 early stop technology 65-66
4.2. 2 APRS-3 algorithm outlined 66-67
4.2.3 improved asymmetric cross pattern search algorithm ARPS-4 algorithm is described 67-68
4.3 based on early stop technology sub-pixel motion estimation fast algorithm 68-71
4.3.1 sub-pixel full search algorithm 68-69
4.3.2 sub-pixel fast search algorithm Introduction 69-70
4.3.3 sub-pixel fast search algorithm steps describe 70-71
4.4 fast motion estimation algorithm experimental results and analysis 71-75
4.5 fast mode selection algorithm 75-85
4.5.1 H.264 in the mode selection algorithm 75-76
4.5.2 fast mode selection algorithm 76-80
4.5.3 experimental results 80-85
4.6 Summary 85-86
Chapter 5 on the H.264 implementation in NVDK and optimization 86-100
5.1 algorithm selection 86
5.2 H.264 encoder process analysis 86-90
5.3 encoder code porting 90-91
5.4 code optimization 91-98
5.4.1 project -level optimization 92
5.4.2 algorithm level optimization 92
5.4.3 instruction-level optimization 92-98
5.5 optimization results 98-100
Chapter 6 conclusions 100-101
References 101-106
Thanks 106
statement 106-107
resume, papers published during the study period and research 107-108
Related dissertations
- Vehicle Wireless Video Monitoring System Based on Improved H.264Motion Estimation Algorithm
- To achieve subpixel algorithm for tracking and DSP
- 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
- A Video System Design Based on DSP
- The Design and Implementation of the Intelligent Unattended Video Surveillance Platform
- Research of Motion Estimation Algorithm for Video Compression Applications
- Research and Improvement of Fast Motion Estimation Algorithm in H.264
- 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
- Research of H.264Motion Estimation Algorithm
- The Research and Implementation of H.264Crucial Codec Technology Based on Android Platform
- Research on Applications of H.264in Wireless Video Communication
- Research on WMSNs Video Image Coding Technology Based on H.264
- The H.264Video Decoding Algorithm Based on DaVinci Digital Video Evaluation Module
- The Research of Motion Estimation Based on H.264/AVC
- H.264Motion Estimation Algorithm Optimization and Realization Based on FPGA