TMS320DM642 MPEG-4 decoder software optimization and video decoder system - based hardware implementation
- Author
- ZhuHaiTao
- Advisor
- QiWenYa
- School
- PLA Information Engineering University
- Major
- Military Intelligence
- Classification
- TN919.8 Image communication, multimedia communication
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 366
- Citations
- 3
Abstract
With the development of network and multimedia technology , the efficient multimedia terminal equipment has been a hot research field of video . MPEG-4 because of its higher compression ratio , better suitable for network transmission , to be more widely used in digital video communications and storage . Research embedded technology - based MPEG-4 video decoding system has a good application and development prospects . The research objectives of this subject is : XVID open source code based on MPEG-4 decoder algorithm above TMS320DM642 transplant ; optimized decoding algorithm , DM642 be able to complete a road CIF (352x288) the image format real-time decoding . The video decoding system of the flow of data : the network transmission of MPEG -4 code stream under the control of the MPC8241 TMS320DM642 achieve decoded through the PCI bus to the video decoder , the decoded video signal to the video display unit outputs . The work done in this article include : open source XVID transplanted on DSP ; decoding algorithm to optimize the work to meet the requirements of real - time decoding ; optimize the post-processing filters and the introduction of the decoded data packets loss strategy , improve image the quality of the output ; writing the the DM642 end PCI driver design decoding data read ; completion of the entire video decoding hardware EDA production . Been tested : the algorithm optimized I - frame decoding rate of 38 / s , the P frame decoding rate of 36 / s , optimized decoding algorithm to achieve the purpose of the channel CIF video stream real-time decoding .
Table of contents
Abstract 5-6
Abstract 6-7
first chapter 7-10
1.1 video surveillance system 7
1.2 video compression coding standard development 7-8
1.3 video decoder system function 8
1.4 of this paper work 8-9
1.5 This source of research topics and papers organization 9-10
the second chapter of the MPEG-4 decoder hardware platform 10-18
the
the 2.1 decoder hardware platform select 10-11
2.2 TMS320DM642 DSP basic structure 11-16
2.2.1 TMS320DM642 constitute 11-13
2.2.2 TMS320DM642 chip peripherals 13-15
the
the 2.2.3 TMS320DM642's instruction set 15-16
2.2.4 TMS320DM642 pipeline operating 16
2.3 TMS320DM642 characteristics suitable for multimedia processing 16-18
2.3.1 DM642 multimedia processing interface 16
of 2.3.2 high degree of parallelism fast computing power 16-17
2.3.3 with rich instruction byte operations 17
2.3.4 Enhanced DMA operation (EDMA) 17
of 2.3.5-chip Cache 17
2.3.6 TI provides TIC64x video image library (IMGLIB) 17-18
Chapter of the basic principles of the MPEG-4 decoder algorithm 18-27
3.1 MPEG-4 decoder and stream structure 18-19
3.2 MPEG-4 decoder structure 19-22
3.2.1 decoder flowchart 19-21
3.2.2 decoder initialization 21-22
3.3 I_VOP decoding 22-24
3.3.1 internal decoding macroblock 23
3.3.2 internal macroblock block decoding 23-24
3.4 P_VOP decoding 24-27
3.4.1 motion vector calculation 25-26
3.4.2 interframe macroblock decoding The 26-27
Chapter MPEG-4 decoder software optimization 27-45
the
optimization difficulty of 4.1 MPEG-4 and optimization strategy 27
4.2 MPEG-4 decoding algorithm algorithm-level optimization 27-31
4.2.1 decoding process data structure optimization 28
Implementation and Optimization 4.2.2 half-pixel accuracy motion compensation 28-29
4.2.3 DMA operation and decoding algorithms run in parallel 29-31
4.3 MPEG-4 decoding algorithm code level optimization 31-36
the
steps 4.3.1 TMS320DM642 chip algorithm optimization 31-32
4.3.2 TMS320DM642 chip development tools 32
4.3.3 measures based the TMS320DM642 hardware optimization of the structural features 32-36
4.4 DM642 chip on Cache resources rational use of 36-38
4.4.1 compressed stream input buffer 36
4.4.2 decoded data output buffer 36-37
4.4.3 rebuild macroblock data buffer 37
4.4.4 motion compensated reference block buffer 37
4.4.5 IDCT transform buffer 37
4.4.6 texture decoding output buffer 37-38
4.5 of decoding algorithm performance test 38
4.6 optimize the post-processing filter 38-42
4.6.1 MPEG-4 the processing filter model 39-40
4.6.2 post-processing results analysis 40-41
4.6.3 optimize the post-processing filter 41-42
4.7 introducing packet loss strategy to further improve image quality 42-45
4.7.1 The introduction of packet loss strategy 42-43
4.7.2 renderings loss strategy 43-45
Chapter the TMS320DM642 end PCI driver written 45-59
5.1 design difficulties 45
5.2 TMS320DM642 the PCI interface 45-48
5.2.1 PCI module registers 46-47
5.2.2 automatically initialized by the EEPROM PCI configuration 47
5.2.3 TMS320DM642/PCI memory mapping table 47
5.2.4 PCI data transfers are four ways 47-48
5.2.5 The main mode of data transmission 48
the 5.3 TMS320DM642's PCI driver support 48-54
5.3.1 / Introduction to micro-drive model 48-50
5.3.2 class driving preparation 50-52
5.3.3 micro drive design and realization 52-54
5.4 TMS320DM642 in PCI driver implementation 54-57
5.4.1 minidriver Design and write 54-56
5.4.2 DSP / BIOS registered micro drive 56-57
5.4.3 writing class driver 57
5.5 DM642 MPC8241 communication mechanism 57-59
Chapter MPEG-4 decoder EDA design 59-67
6.1 design difficulties 59
6.2 system's modular design 59-60
6.2.1 system module design 59-60
6.2.2 system data flow 60
6.3 system core chip _ decoder hardware design 60-63
6.3.1 external memory interface EMIF 60
6.3.2 DSP SDRAM interface 60-62
6.3.3 DSP with video display interface module 62
6.3.4 DSP power module 62-63
6.4 high-speed PCB design 63-67
6.4.1 transmission line effects 64
6.4.2 Power design considerations 64-65
6.4.3 high-speed signal design 65
6.4.4 hierarchical design considerations 65
6.4.5 PCB specific realization 65-67
Chapter VII of the research results and outlook 67-68
7.1 thesis work research 67
7.2 Prospects 67-68
the
References 68-70
Acknowledgements 70-71
for Master papers during 71
Related dissertations
- Design and Optimization of Video Encoder Based on YHFT DSP
- With the Implementation of Multi-channel Audio and Video Monitoring System Based on ARM-Linux
- Research on Surface Defects Visual Inspection System for Metal Components
- The Research on Path Planning for Multi-automated Guided Vehicles System
- Research on the Robot’s Learning Algorithm Based on Artificial Emotion
- Research on Binocular Vision Technology for Fully Autonomous Intelligent Robot
- Research on Video Dehazing and Electronic Image Stabilization Based on DaVinci Technology
- Study and Implementation of Ultrasonic Image Processing System Based on DSP
- Study on Application of Parallel Computing Based on GPU
- Imbalanced Data Classification Algorithm Based on Hybrid Model
- Design of portal crane video monitoring system based on Ethernet
- Adaptive Motion Estmation Search Algorithm for Video Compression Technology Based on MPEG-4
- Porting and Optimization of AAC-LC Algorithm for X86and ARM Platforms
- Research on Algorithm of Semi-strapdown Micro Inertial Measuring System
- Analysis the Data of Land Surface Emissivity and Optimization Study of Land Surface Emissivity Remote Sensing Retrieval Method
- A Design for Remote Video Monitoring System in Network Laboratories
- Arm-Linux Based Perimeter Alert Algorithm Implementation Transplantation and Optimiza-Tion
- The Research and Design of Embedded Video Monitoring System Base on ARM
- Research on Teredo Tunneling Security Issues in IPv6Environment
- The extraction algorithm based on link forum crawler