Font Size: a A A

Research And Implementation Of Linux-based Multi-core Parallelization On XviD Encoding

Posted on:2012-10-27Degree:MasterType:Thesis
Country:ChinaCandidate:S Y WangFull Text:PDF
GTID:2248330395958115Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
With the rapid development of multimedia technology and the growing popularity of computer, the performance of the computer is changing continuously. Features on computer, for example, operational speed, large computation, powerful computing capacity, enhance constantly. Simultaneously, fast transferring and sharing of the High-quality video has become the main requirements by the Multimedia computer users at present. Most of the video codec is designed in single-core environment at the beginning. Nowadays, as the enhanced performance on the PC and Notebook and the present surge of multi-core computer, it becomes urgent and practical to develop software with the multi-core. At the same time, how to process large amounts of video data by more efficient and rational of the video codec on multi-core conditions is become the problem that should be solved as soon as possible.In this thesis, we aimed at the multi-core parallel development of application, with the help of Intel multi-core series development tools and the parallel development model TBB and based on Linux, the paralleling of a sequential program is analyzed by using Intel VTune Amplifier XE2011in XviD codec, and the hotspot of the application program is found. Then the corresponding parallel reconstruction is done by using TBB (Intel Thread Building Blocks) based on Intel SMP (Symmetric multiprocessing). Such as loop parallelization, memory parallelization, data parallelization, pipeline parallelization and task parallelization are contained in the corresponding parallel reconstruction. By using the Intel Thread Checker the parallel program is tested, then the video files are tested by the parallel program again and the results are analyzed and compared with the rate in the condition of serial program.Firstly, the research and development prospects of the Multi-core parallel software are introduced in this thesis. Then the direction of TBB, the required development tools, and the software and hardware development environment used in this design are introduced. The operation mechanism, implementation methods and programming methods of parallel development model TBB in Linux environment are focused on. Subsequently, the serial program of the XviD video codec is analyzed and studied. Then the structure of the serial program is introduced, the architecture of the XviD code is described, and the decoding process of each module and the relationship of modules are elaborated. Then, the parallelization improvement of source code is completed according to the characteristics and the structure of decoding program. Finally, the improved programs are tested in the experimental environment, and the result and data are analyzed. The results prove that the performance of the application can be greatly improved in the environment of multi-core.
Keywords/Search Tags:parallel processing, XviD codec, multicore, TBB, Linux
PDF Full Text Request
Related items