Research and Implemenation of MPEG-4 Decoding and JPEG Encoding Based on DSP
- Author
- ZhouYang
- Advisor
- GuoChengMing
- School
- Tianjin University
- Major
- Signal and Information Processing
- Classification
- TN76 Modulation technique and the modulator,demodulator and the demodulator
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 359
- Citations
- 3
Abstract
Along with the progress of mobile communication and multimedia technologies,people’s requirements to communication are not limited to traditional speech service,they demand multimedia information services such as video and audio,with higher quality.In multimedia communication,a remarkable characteristic of video information is its huge amount of data and high processing complexity.Existing mobile terminal commonly uses DSP as its core processor,DSP has advantages in data processing,but it’s not good at system processing and control.The 3rd generation mobile communication terminal requires more complicated services,like real-time video communication,thus requires higher processing ability of DSPs.MPEG-4 is a standard of "video-audio object", passed in December, 1999. MPEG-4 is a coding method based on the content of images, producing high compression ratio. It’s designed to provide good quality in the case of very low bandwidth, so MPEG-4 is very suitable to be used in mobile multimedia communication. TI’s OMAP5910 dual-core processor is adopted as the core processor of the wireless terminal, its DSP core is used to do data processing operations, its ARM core is used to handle control operations.Based on the DSP core of OMAP5910-TMS320C5510, a detailed explanation of the migration and optimization to MPEG-4 video decoder is introduced, after optimization, the decoder can realize real-time decoding and displaying QVGA video with the frame rate 25f/s, when C5510 works with the frequency of 150MHz, just occupies about 73% of CPU’s cycles.Based on this work, the MPEG-4 decoder is successfully migrated to DM642 platform, taking advantage of its vigorous assembly instruction set, assembly language optimization was implemented to the key modules of the decoder. After optimization, the decoder can realise real-time decoding of 720×576 video with frame rate 25f/s, the CPU occupation rate only reaches about 45%.Optimization of a JPEG encoder based on TMS320C6203 DSP and the realization of a JPEG decoder capable of error handling is also discussed in this paper.
Table of contents
Chinese abstract 3-4
ABSTRACT 4-8
first chapter 8-13
1.1 Third generation mobile communications (3G) Overview 8-9
1.2 third generation mobile communications (3G) technologies 9-10
1.3 3G wireless terminals processor Overview 10-11 <br / > 1.4 main contents and structure 11-13
chapter TMS320C5510 DSP Introduction 13-21
Features 2.1 DSP chips 13-14 <br / > Select 2.2 DSP chips 14-15
2.3 TM320C5510 DSP 15-21
system solutions used in this study 2.3.1 15-16
2.3.2 OMAP5910 dual-core processor 16-17
2.3.3 OMAP5910 's TMS320C5510 DSP subsystem features 17-21
2.3.3.1 TMS320C5510 DSP 's CPU 18
2.3.3.2 image processing hardware acceleration module 18
2.3.3.3 memory 18-19
2.3.3.4 DMA controller 19
2.3.3.5 peripherals 19-21
the third chapter of the TMS320C5510 -based MPEG-4 video decoder implementation and optimization 21-51
3.1 MPEG- 4 video codec standard profiles development 21-27
3.1.1 video codec technology 21-23
3.1.2 MPEG-4 video codec standard features 23-25 ??
3.1.3 MPEG-4 video codec standard data structures and core algorithms 25-26
3.1.4 MPEG-4 video codec standard application 26-27
3.1.5 MPEG-4 video decoding process 27
3.2 MPEG-4 video decoder transplant and implementation 27-30
3.2 .1 porting problems to be solved 27-30
3.2.2 transplantation steps 30
3.3 MPEG-4 video decoder optimized 30 - 49
3.3.1 Overview optimization 30-31
3.3.2 compiler optimization 31
3.3.3 storage space optimization 31-41
3.3.3.1 decoding program needs storage space for streamline and optimize 32
3.3.3.2 program and related data structures 32-33
3.3.3.3 reference frames streamlining 33-34
3.3.3.4 three decoded data stored program in memory argumentation 34
3.3.3.5 image data storage solutions 34-35
3.3.3.6 pingpong mechanism 35-36
3.3.3.7 macroblock decoding parameters stored program 36-39
3.3.3.8 stream input optimized buffer optimized 3.3.3.9 stack area 39-40
40-41
3.3.3.10 after optimization of the storage space requirements 41 <br / > 3.3.4 using hardware acceleration module 41-42
3.3.5 code optimization 42-47
3.3.5.1 C language optimized 43-46
3.3.5.2 assembly language optimization around 46-47
3.3.5.3 of the function to optimize performance comparison 47
3.3.6 program to further modify the structure of 47-48
3.3.7 final performance decoder 48-49
3.4 MPEG-4 video file formats associated 49-51
3.4.1 MP4V and MP4U 49
3.4.2 AVI 49-51
Chapter IV TMS320DM642-based MPEG-4 video decoder implementation and optimization 51-60 <br / > 4.1 TMS320DM642 platform Introduction 51-54
4.1.1 TMS320C64x features 51-52
block diagram 4.1.2 TMS320C6000 series 52-53
4.1.3 TMS320C64x the CPU 53-54
4.1.4 DM642 memory 54
4.2 MPEG-4 video decoding algorithm transplant 54-55
4.3 MPEG-4 video decoding algorithm optimization 55-60
optimize storage space and Cache 4.3.1 The use of 55
4.3.2 library calls IMGLIB function 55-56
4.3.3 optimized assembly language 56-58
4.3.4 decoding granularity choice 58-60
Chapter based on the TMS320C6203 JPEG encoder implementation and optimization 60-69
5.1 TMS320C6203 DSP Introduction 60-61
5.1.1 TMS320C6203 DSP features 60-61
5.1.2 TMS320C6203 DSP block diagram of 61
5.2 JPEG standard profiles 61-64
5.3 JPEG image encoder transplant 64
5.4 JPEG image encoder optimized 64-67
5.4.1 storage space optimization 64-65
5.4.2 library function call IMGLIB 65 <br / > 5.4.3 C language optimized encoder performance 65-66
5.4.4 optimized 66-67
5.5 JPEG decoding error handling procedures to achieve 67-69
Chapter VI Conclusion 69-70
References 70-72
published papers and research note 72-73
published papers : research 72
participation : 72-73
Thanks 73
Related dissertations
- Research of Video Compression on Micro-UAV
- The Research and Realization of AVS Video Encoder Based on TMS320C6474
- MPEG-4 Algorithm Transplantation and Optimization on DM642 Platform
- Embedded audio and video communication platform for research and development and networking applications
- Optimization and Implementation of H.264 Decoder on DSP and Smartphone Platforms
- Based on DM642 MPEG-4 Video Server’s Design and Optimization
- The Research and Implementation of Software Hardware Co-design for MPEG-4 Video Decoder
- The Study of Compression Technology of Multimedia Information and the Design and Realization of the System of MPEG-2 Decoder
- The Study of Low-bit Rate Image Coder Based on DSP
- The Research on Video Processing Technology of Locomotive Monitoring System Based on DSP
- Based on TMS320DM642 DSP 's Xvid Video encoder implementation and optimization
- The H.264 decoding key algorithm OMAP platform achieve
- Research and Development of Software and Hardware for 3G Wireless Terminal’s Processor System Based on OMAP
- Implementation of MPEG-4 Video Coding and JPEG Compression Algorithm on OMAP5910
- The Study on Encapsulation and Integration of the Media in MMS System
- 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
- AVS-M decoder based on the OMAP platform design
- The Research of MPEG-4 Video Capture and Compression System Based on DSP and VxWorks