Transplantation and Optimization of H.264 Encoder Based on DM642
- Author
- DongJiaWei
- Advisor
- WangHaiYing
- School
- Beijing University of Posts and Telecommunications
- Major
- Communication and Information Systems Engineering
- Classification
- TN762 Encoder
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 167
- Citations
- 3
Abstract
H.264 is the latest Video Coding Standards published jointly by ITU-T Video Coding Expert Group and ISO/IEC Moving Picture Experts Group (VCEG and MPEG). Compared to earlier standards, H.264 provides better compression performance and network-friendly design , and can be widely applied in "conversational"(video telephony, mobile video) and "non-conversational" (storage, broadcast, or streaming) applications. The research and implementation of H.264 real-time coding technology is one of the hot research topics in the area of Image Communication.Based on high-performance Digital Signal Processor to implement H.264 video Encoder is one of most efficient methods, which also help to propate the application of H.264. TI DM642 is a High-Performance Digital Media Processor with 600MHz Clock Rate, which can process information at a rate up to 4800 million instructions per second (MIPS). The powerful capability of data processing and interface make DM642 very fit for the video and imaging applications, for example, the audio/video transmission and security monitor over IP and wireless networks.The main task of this paper is to introduce how to develop and optimize the H.264 baseline profile encoder on the hardware platform based on TMS320DM642. The source program adopted is the encoder part of the T264 which is one of the open H.264 codec softwar. The efective method to imporve the implementation efficiency of the video coding algorithm on DSPs is to "tap" the parallelism and memory resource of the processor for the requirement of real-time system. The paper is to improve the kernel algorithm efficiency of the encoder using linear assembly language. The optimization of the kernel algorithm included intra-prediction encoding, quantization, deblock and so on.Finally the DSP/BIOS operating system calls T264 code, compressed data will be RTP packeted to output from the Ethernet port, and give test results. The results show that our H.264 encoder can encode real-time for QCIF resolution video,12-15 frames per second for CIF resolution video. The decoded video picture provides high subjective and objective quality.
Table of contents
Abstract 4-5
ABSTRACT 5-9
first chapter 9-18
1.1 video coding standard profiles 9-10
1.2 video coding standard development 10-11
the 1.3 several coding standard introduction 11-14
1.3.1 H.261 standard
1.3.2 H.263 standard 11-12
1.3.3 MPEG-1 standard 12
1.3.4 MPEG-2 (H.262) standard 12-13
1.3.5 MPEG-4 standard 13
1.3.6 H.264 standard 13-14
1.4 Background knowledge: the DSP Technical 14-16
1.4.1 DSP chip Introduction 14-15
1.4.2 DSP System Features 15-16
1.4.3 DSP applications 16
1.5 research content 16-17
1.6 papers arrangement 17-18
the
agreement and code of the second chapter H.264 video codec transplantation 18-26
2.1 H.264 video encoding and decoding standard 18-22
2.2 H.264 source code select 22
2.3 DSP-based H.264 encoder transplant 22-25
2.3.1 source code under CCS simulation environment compile 22-24
2.3.2 of CCS Simulator achieve the simulation coding and running 24-25
2.4 This chapter Summary 25-26
Chapter H.264 encoder analysis and algorithm optimization 26-44
3.1 H.264 encoder complexity 26-28
3.2 Intra prediction luma block algorithm optimization 28-34
3.2.1 H.264 luminance block intra prediction 28-29
3.2.2 RDO under full search intra prediction mode selection algorithm 29-30
3.2.3 intra brightness 4x4 sub-block RD_Cost calculated 30-31
3.2.4 intra brightness fast 4x4 sub-block prediction mode selection algorithm 31
3.2.5 Probability optimal intra brightness 4x4 sub-block prediction mode algorithm improvements 31-32
two different algorithm execution results and analysis 3.2.6 32-34
3.3 intra prediction the chrominance block algorithm optimization 34-38
3.3.1 H.264 chrominance blocks intra prediction 34
3.3.2 Improved chroma block prediction mode selection algorithm 34-35
3.3.3 algorithm to improve the results of the implementation and analysis 35-38
3.4 loop filtering algorithm optimization 38-42
3.4.1 H.264 Deblocking filtering 38
3.4.2 true and false boundary judgment 38-39
3.4.3 filtering process 39
3.4.4 improved algorithm 39-40
3.4.5 optimization results and analysis 40-42
3.5 quantified in addition to 6 algorithm improvements 42-43
3.6 This chapter Summary 43-44
Chapter optimized based on the code of the C6000 series DSPs 44-55
4.1 TMS320C6000 family of DSPs chip 44-46
4.1.1 TMS320C6000 Introduction 44
4.1.2 TMS320C6000 constitute 44-45
4.1.3 TMS320C6000 parallel processing features 45
4.1.4 VLIW architecture characteristics analysis 45-46
4.2 C6000 series DSPs based code optimization 46-50
4.2.1 C6000 series DSPs software programming 46-47
4.2.2 C language level optimization 47-49
4.2.3 through linear assembly optimized assembly code 49-50
4.3 C6000 series DSPs prediction mode code optimization 50-52
4.4 Simulaor under encoding test results and analysis 52-54
4.5 of this chapter Summary 54-55
-
CHAPTER the DM642 platform based on the H.264 code transplant 55-70
5.1 DM642 chip introduced 55-57
5.2 DSP / BIOS introduction and features 57-58
5.3 DSP / BIOS thread type and call 58-60
5.3.1 hardware interrupt (HWI) 58
5.3.2 software interrupt (SWI) 58-59
5.3.3 task (TSK) 59-60
5.3.4 background thread (IDL) 60
5.3.5 thread call 60
5.4 thread based on the DM642 platform calls 60-65
5.4.1 FVID module and call 61-64
5.4.2 SCOM module and call 64-65
5.5 T264 code RTP packaged 65-69
5.6 System test results 69
5.7 This chapter Summary 69-70
Chapter Summary and Outlook 70-72
6.1 work summarizes 70
6.2 to improve the direction 70-72
the
References 72-74
Acknowledgements 74-75
the
pursue a degree papers during 75
Related dissertations
- Research of Video Compression on Micro-UAV
- The Research and Realization of AVS Video Encoder Based on TMS320C6474
- Research and Optimizing on Some Key Technologies Concerning Multiview Video Based on H.264
- Research and Improvement of Intra Prediction Algorithm in H.264
- Study on Texture-similarity Judgment Based Fast Intra-prediction Algorithm
- Fast Intra-Prediction Mode Decision for H.264
- 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