Font Size: a A A

MPEG-4 Video Encoder Realization And Optimization Based On TMS320C6416 DSP

Posted on:2009-05-09Degree:MasterType:Thesis
Country:ChinaCandidate:X J GaoFull Text:PDF
GTID:2178360272475652Subject:Communication and Information System
Abstract/Summary:PDF Full Text Request
The international Moving Picture Experts Group (MPEG) formally brought forward the new MPEG-4 Standard in 1999. It will play an important role in interactive multimedia application such as digital television, real-time video monitoring, mobile multimedia communication, video stream and visual game in internet.TMS320C6416 is a programmable high performance multimedia processing DSP that is the product of the TI. The aim of my thesis is to implement and optimize of MPEG-4 video encoder based on TMS320c6416 DSP for real time video communication.Firstly, this paper studies video compressing principles and basic algorithms. Then it simply introduces various international development and actuality of video compressing standards. The paper considers for practical application and selected the simple profile as for the coding scheme.Secondly, the paper emphatically studies the motion coding and texture coding in the MPEG-4 standard. Motion estimation and compensation plays an important role in video coding and it takes 60~80 percent of total encoding time. Motion searching algorithm is the key part of the motion estimation, which would affect the feature of video compression result. It analyzes block-matching motion estimation algorithm based on artificial immune system and MVFAST (motion vector field adaptive search technique), combined their strongpoint, and advances a kind of mix algorithm. It also reduces summation count of SAD in motion estimation algorithm based on artificial immune system. By testing in MATLAB, the paper approves that this way can improve searching quality but no computation is increased. The paper studies deeply two kinds of quantization algorithms. By contrasting, it presents the H.263 quantization as for our video coding. Rate controlling algorithm has been studied and realized.Thirdly, the paper introduces implementation of MPEG-4 video encoder and some optimization methods based on the hardware feature of C6416. At first, it studied the hardware architecture of C6416, instruction system, memory architecture of C6416, pipeline and software development optimization flow. Combining characteristic of MPEG-4 arithmetic with parallel capability of DSP, the paper bring forward an optimized scheme for encoding flow.Based on XVID open source, this paper puts forward a solution scheme of MPEG-4 and transforms the source to the DSP. By profiling tools, rewrite the key cost module with linear assembly language and assembly language. The paper compares some complier options and tests their performances. Code is collocated reasonably on memorizer of DSP, by this way the cache efficiency is improved.Finally, this paper uses the standard testing sequences to evaluate the performance of the video encoder. Results can be used to real-time video monitor requiring for more than 25 frames per second. It will have value in reference and commercial applications.
Keywords/Search Tags:XVID, Video Compression, Motion Estimation and Motion Compensation, DSP, MPEG-4
PDF Full Text Request
Related items