MPEG-4 Algorithm Transplantation and Optimization on DM642 Platform
- Author
- HuangKangYing
- Advisor
- ZhaoYanYun
- School
- Beijing University of Posts and Telecommunications
- Major
- Communication and Information System
- Classification
- TN919.81 Image coding
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 37
- Citations
- 0
Abstract
With the development of mobile Internet and muti-media technology, the embedded video encoding equipments have been widely used. MEPG-4 as a very mature video coding standard, which has a moderate algorithm complexity, good compression performance and excellent portability in the embedded platform, has been widely used in network video and other fields. The latest embedded video encoding equipments are required to have not only video compression capabilities, but also video analysis functions, which require an embedded platform encoder has lower computational complexity, and can provide some interfaces for video analysis. To achieve these demands in this paper, algorithm transplantation and optimization for MPEG-4 are implemented. Finally, real-time video encoding and transmission are completed on DM642.Firstly, this paper analyzes the principles of MPEG-4 technology and studies the key characteristics of DM642 platform. Transplantation is done and practical demand is accommodated.Secondly, in the algorithm, this paper mainly optimizes the motion search module which has the highest computational complexity. An improved algorithm is proposed, which is based on the existing fast motion estimation algorithm. The algorithm can greatly reduce the number of motion search by using multiple motion vector prediction, early termination and new search template.Thirdly, in the optimization level, the framework of encoder has been adjusted according to the DM642 features. The core modules of the encoder, such as SAD and quantification, have been rewritten with linear assembly language and TI library, which greatly enhances the encoder’s efficiency.The paper also designed the camera driver, which achieves the camera data collection and YUV422 to YUV420 video format conversion.To achieve network communication, the video data packets of UDP encapsulation is redefined. Only minimal CPU resources are required when transmitting video data stream.The final experimental result shows that the optimized MPEG-4 algorithm can achieve 4CIF real-time video encoding on DM642 platform and transmit compressed video data with network at the same time.
Table of contents
Summary 4-5
ABSTRACT 5-10
Chapter 1 Introduction 10-18
1.1 research background 10 - 11
1.2 research status at home and abroad 11-14
1.3 DM642 embedded platform porting and optimization 14-15
1.3.1 video capture driver to communicate with the network 14
1.3.2 platform for the optimization steps achievement 14-15
1.4 the main 15-16
1.5 thesis is organized 16-18
Chapter 2, MPEG-4 video encoding technology introduction 18-28
2.1 video encoding technology 18-22
2.1.1 video signal redundancy 18-19
2.1.2 typical encoder framework 19-22
2.2 MPEG-4 video encoding key technology 22-27
2.2.1 MPEG-4 stream structure 22
2.2.2 MPEG-4 grades and grade 22-23
MPEG- on 2.2.3 DM642 platform 4 module select 23-27
2.3 Summary 27-28
Chapter 3 encoder software framework and algorithm 28-44
interface design nbsp 3.1 encoder ; 28-30
3.2 encoder software structure diagram 30-32
3.3 encoder workflow 32-33
3.4 motion search algorithm and optimization 33-42
3.4.1 basic concepts of motion estimation and motion compensation 34
3.4.2 diamond Search algorithm Introduction 34 -37
improvement program 3.4.3 herein 37-40
3.4.4 final performance improvement programs 40-42
3.5 Summary 42-44
Chapter 4 for optimized DM642 platform 44-64
4.1 DM642 platform Introduction 44-45
4.1.1 DM642 chip introduced 44-45
4.1.2 development Environment 45
4.2 porting 45-48
4.2.1 turn floating-point to fixed-point arithmetic nbsp 45-46
4.2.2 adjustment program -word modified 46
4.2.3 configuration file 46-47
memory space allocated 4.2.4 ; 47-48
4.3 overall steps to optimize code 48-50
improved 4.4 coding framework 50-52
4.5 software pipelining optimization 52-62
4.5.1 software pipelining Overview 52
pipeline 4.5.2 DM642 is 52-53
4.5.3 the main factors affecting software pipelining 53-54
4.5.4 software pipelining to achieve efficient method 54-62
4.6 other optimization methods 62
4.7 overall results 62-63
4.8 Summary 63-64
Chapter 5 video capture communications and network 64-78
5.1 overall structure of the system 64
5.2 video capture chip TVP5150 64-65
5.3 DM642 's VP mouth 65-69
5.3.1 DMA event 66
5.3.2 DMA data transfer size and limit 66-67
5.3.3 video capture mode selection 67
setting nbsp 5.3.4 video Capture window size ; 67-68
5.3.5 BT.656 FIFO storage format 68-69
5.4 video capture driver buffering strategy 69-70
5.5 DSP -side network module design 70-74
5.5.1 network development Kit NDK use 70-71
5.5.2 DSP / BIOS operating system 71-72
5.5.3 DSP end scheduling framework 72-73
5.5.4 network Communications 73-74
5.6 PC -end network communications design 74-76 <br / > 5.6.1 PC -side workflow 75
5.6.2 PC client available control commands 75-76
5.7 Summary 76-78 <br / > Chapter 6 Conclusion 78-80
6.1 paper summarizes 78
6.2 job Outlook 78-80
References 80 - 83
Thanks 83-84
during the master's degree has published 84
Related dissertations
- Embedded audio and video communication platform for research and development and networking applications
- Based on DM642 MPEG-4 Video Server’s Design and Optimization
- The Research on Video Processing Technology of Locomotive Monitoring System Based on DSP
- Based on TMS320DM642 DSP 's Xvid Video encoder implementation and optimization
- Research and Implemenation of MPEG-4 Decoding and JPEG Encoding Based on DSP
- TMS320DM642-based MPEG-4 video codec Research and Implementation
- Based on MPEG4 video encryption algorithm and its DSP implementation
- Migrating and Optimizing the Video Encoder and Decoder of MPEG-4 on DM642 Processor
- The Research of MPEG-4 Video Capture and Compression System Based on DSP and VxWorks
- Realization and Optimization of MPEG-4 Video Compression Based on DM642 for Net-Camera
- The Design and Implement of Video Compression System Based on DM642
- DSP-based MPEG-4 video codec software design
- 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