The Implementation and Optimization of H.264 Decoder for Video of D1
- Author
- YaoYingLin
- Advisor
- ZhouJiZuo
- School
- Beijing University of Posts and Telecommunications
- Major
- Communication and Information System
- Classification
- TN763 Demodulation technique and demodulator
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 164
- Citations
- 0
Abstract
The H.264 video compression standard has achieved a significant improvement over all previous video compression standards. In terms of coding efficiency, the new standard can provide at least 2x compression improvement over the best previous standards and substantial perceptual quality improvements over both MPEG-2 and MPEG-4. At the same time, the H.264 standard is significantly more complex than any of the previous standards. Consequently, the H.264 decoder is expected to be significantly more demanding in terms of computations and memory requirements. Since any decoder should be able to handle all "legal" bit streams (i.e. worst-case scenario), the implementation of the decoder is even more complicated. Moreover, the development of an embedded decoder implementation where the internal memory size is limited is a challenge.The TMS320 DM642 Digital Media Processor (DM642) is the highest-performance fixed-point DSP from Texas Instruments. The DSP core processor has 64 general purpose 32-bit registers and eight highly independent functional units - two multipliers and six arithmetic logic units with VelociTI.2 extensions. The VelociTI.2 extensions in the eight functional units include new instructions to accelerate the performance in video and imaging applications and extend the parallelism of the VelociTI architecture. The DM642 uses a two-level cache-based architecture and has a powerful and diverse set of peripherals. In a word, With the processor’s 600MHz processing power in production today and an aggressive process technology roadmap for continued higher clock rates, this DSP is most suited to overcome the complexity and computational requirements of H.264. To develop and optimize H.264 decoder software on the Texas Instruments’ TMS320DM642 Digital Media Processor is the main task of this thesis.In the first part of this thesis, the H.264 video compression standard is introduced, following with its extension - FRExt. Besides, the application of H.264 video compression standard is also discussed.In the second part of this thesis, the architecture and complexity of H.264 software decoder are analyzed, and the emphasis and difficulties of optimization are figured out. The efficiency of the decoder based on PC is listed out afterwards.In the third part of this thesis, the system of H.264 decoder on TMS320 DM642 Digital Media Processor is introduced. This system contains three parts: the decoder software which is migrated from PC software with several changes; the network part and video out part which are developed to ensure the integrity of the system. The DSP/BIOS is the base of the whole system, and its principle is introduced along with the implementation of the system. Combing with the characteristics of TMS320 DM642, the method used to optimize H.264 decoder is figured out. At last, the efficiency of the decoder based on DSP is list out.The experiments results prove that the H.264 decoder based on DSP in this thesis is integral and effective.
Table of contents
Abstract 4-6
ABSTRACT 6-10
Chapter topics background 10-14
1.1 video compression coding standard introduces 10-12
1.1.1 Overview 10-11
1.1.2 application prospects 11-12
1.2 video terminals and hardware platforms introduced 12-13
1.3 papers 13-14
H.264 system introduced 14-31
2.1 H.264 system hierarchy 14-16
the 2.1.1 video coding layer VCL 15
2.1.2 Network Abstraction Layer NAL 15-16
2.2 H.264 codec principle 16-18
2.2.1 coding theory 16-17
2.2.2 decoding principle 17-18
2.3 H.264 key technology 18-26
2.3.1 intra prediction 18-19
2.3.2 inter prediction 19-21
2.3.3 transform and quantization 21-22
2.3.4 Entropy coding 22-24
2.3.5 deblocking filter 24-26
2.4 H.264 FRExt technology and applications 26-31
2.4.1 four new classes 27-28
2.4.2 Technical characteristics 28-29
2.4.3 Performance and Application 29-31
PC-based decoder system design 31-49
3.1 base model selection 31-32
3.2 decoder actual architecture 32-33
the
3.3 decoders structure is optimization 33-37
3.3.1 access code module optimization 33
3.3.2 decoding module optimization 33-34
3.3.3 CAVLC module optimized 34-36
3.3.4 deblocking filter optimization 36-37
the
optimized 3.4 decoder software process 37-44
3.4.1 image-level decoding process 38-39
3.4.2 chip level (slice) decoding process 39-41
3.4.3 macroblock (MB) decoding process 41-44
3.4.4 decoding process Summary 44
3.5 decoder code optimization 44-46
3.6 optimized decoder code analysis 46-48
3.7 PC-based decoder overall performance analysis 48-49
Chapter decoder DSP-based system design 49-70
4.1 system hardware design 49-54
4.1.1 system framework 49-50
4.1.2 DM642 development board configuration and interface 50-52
4.1.3 TMS320 DM642 structure and performance 52-54
4.2 CCS environment decoder design 54-62
4.2.1 TI integrated development environment CCS introduced 54-55
4.2.2 decoder system processes 55
4.2.3 decoder code porting 55-58
4.2.4 network module with output module 58-60
4.2.5 decoder system multitasking implementation 60-62
4.3 decoder DSP-based optimization 62-66
4.3.1 eliminate redundant code 62-64
4.3.2 keyword use 64
4.3.3 CCS optimization options 64-66
4.4 system running results Description 66-68
4.4.1 operational readiness and process 66
4.4.2 running show results 66-68
4.5 decoder DSP-based performance analysis 68-70
Chapter Summary 70-71
the
References 71-72
Acknowledgements 72
Related dissertations
- Research of Video Compression on Micro-UAV
- Optimization and Implementation of H.264Decoder on ARM Platform
- Optimization and Implementation of H.264Decoder
- Research and design of streaming media H.264 decoder based on Android platform
- Optimization research in intelligent mobile phone on the H.264 real time video decoder
- The Research and Implementation of H.264Video Decoder Based on Android
- Research on the Optimization of the System of Urban-rural Integrated Residents Social Pension Insurance of Laiwu City
- Optimization Study of a Insurance Company Ningxia Branch’s Business Structure
- The Optimization of Fund Contract in the Perspective of Governance Structure
- The Personal Loans Centre Process Optimization Study of Ccb Shaanxi Branch
- Research on Optimization of commercial bank loans business processes Chinese micro enterprise
- Optimization of Commercial Bank Credit Rating Index System for SMEs
- An Optimization Study on Proscenium Support Facilities of Commercial Banks on Queuing Theory
- The Credit Process Optimization of A Bank
- The branches of commercial banks, credit risk management process - a case study of A bank D branch cases
- The Research of Mode of Corporate Governance of China’s Trust Industry Defect and Optimization
- Under the New Situation of the International Monetary System Unbalance Influence on China’s Foreign Exchange Reserves and Its Optimization
- The Study on Constructing Harmony in Urban Communities
- An Investigation of the Management System of Yancheng Local Tax Inspection
- Based on the Subjective Well-being to Optimize the China’s Rural Public Expenditure