Optimization of RealVideo Decoding Based on SIMD Technology for Loongson

Author
LiuBo
Advisor
WuShaoGang
School
China University of Petroleum
Major
Applied Computer Technology
Classification
TN919.81 Image coding
Degree
Master's thesis
Year
2008
Downloads
76
Citations
1

Request the full text

Abstract

RealVideo player is one of the most important applications for Loongson-2 processor. As the current mainstream network video format, RealVideo increases performance while it also brings a series of more complicated coding/decoding algorithms, which put pressure on RealVideo files playing on the Loongson-2 platform with lower frequency.On the Loongson-2 platform, with no multi-media optimization the time of RealVideo decoding accounts for more than 90% of the total playing time, in which the core application functions, such as deblocking filter, motion compensation interpolation operation, reconstruction, and dequantify, consume about 60% of the total decoding time. In order to enhance the ability of multimedia processing of Loongson-2 CPU, a set of 64-bit fix-point SIMD multimedia instruction has been designed and implemented, which make it possible to optimize RealVideo decoding on Loongson platform.Based on the technology of SIMD on the Loongson-2 platform, this paper made the multimedia optimization for RealVideo codecs. First, the core compression algorithm of the RealVideo was lucubrated in the perspective of static program analysis and the preliminary optimization direction came out. Second, the dynamic performance analysis on the Loongson-2 platform was made from executition time and dynamic instructions. And the results of the two aspects analysis coincide with that of the static analysis, suth that the core of the codec decoding function was identified. Finally, by analyzing data parallelism of these core functions and the character of the Loongson-2 system, the RealVideo codecs based on multimedia instruction was optimized.The efficiency of RealVideo codecs after optimization on the Loongson-2 platform has been enhanced by 30%, and that of the RealVideo playing has been improved by 20%. Based on the Loongson SIMD technology, this method of optimization of RealVideo codec has made fairly satisfactory results.

Table of contents

Abstract 4-5 Abstract 5-9 The first chapter 9-13 1.1 topics sources , background and significance 9-10 1.2 Research 10-11 1.2.1 RealVideo video decoder in different platforms porting and optimization 10-11 1.2.2 based on Godson-2 SIMD technology for MPEG-2 video decoder optimized 11 1.3 Major Tasks and objectives 11-12 1.4 papers organizational structure 12-13 Chapter RealVideo video decoding optimization technology 13-26 2.1 Godson-2 processor and its SIMD technology 13-18 2.1.1 Godson-2 processor 13-14 2.1.2 Godson multimedia instruction sets 14-18 2.2 Godson-2 video playback software 18-22 2.2.1 player logical structure 19-20 2.2.2 Mplayer Godson platform structure 20-22 2.3 Multimedia Performance Benchmarking 22-25 2.3.1 Linux system under the multimedia performance evaluation 22-25 2.3.2 This multimedia evaluation methods 25 2.4 Summary 25-26 Chapter RealVideo video decoder on the Godson-2 operation analysis 26-43 3.1 RealVideo decoding process analysis 26-29 3.2 RealVideo core compression algorithm analysis 29-37 3.2.1 1/4 pixel accuracy motion compensated interpolation analysis 29-31 3.2.2 16x16 intra prediction mode analysis 31-33 3.2.3 Integer Transform analysis 33-34 3.2.4 deblocking filter analysis 34-37 3.3 RealVideo Decoder on Godson-2 dynamic runtime analysis 37-42 3.4 Optimized Conception 42 3.5 Summary 42-43 Chapter RealVideo Decoder on Godson-2 SIMD optimization 43-51 4.1 filter section optimization 43-46 4.1.1 filter calculation data parallelism 43-44 4.1.2 optimized to achieve 44-46 4.2 motion compensation section optimization 46-49 4.2.1 interpolation of data parallelism 46-47 4.2.2 optimized to achieve 47-49 4.3 other parts of the optimization 49-50 4.3.1 Other functions of the decoder optimization 49-50 4.3.2 use the system to optimize the structural features 50 4.4 Summary 50-51 Chapter RealVideo codec optimized performance evaluation 51-56 5.1 for testing RealVideo streaming video 51 5.2 RealVideo decoding core performance comparison of before and after optimization 51-53 5.3 RealVideo decoder Mplayer application performance comparison 53-55 5.4 Summary 55-56 Summary and Outlook 56-58 References 58-61 master's degree during the academic achievements 61-62 Thanks 62

Related dissertations

  1. Optimization of VC-1Decoder on ARM Cortex-A8
  2. The Vision Measurement Research of Color Structured Light Coding
    GaoLe ·Harbin Engineering University ·2013 ·Master's thesis
  3. EJTAG Debugging in Loongson3A System
  4. The Design and Implementation of a QR Code-based Mobile Phone Sign in System
  5. Design and Implementation of Multi-channel Audio Playback System Based on Streaming Media
  6. Based on the Loongson Platform ELPLAN Client Transplantation
  7. The Design and Implementation of Vector Memory Unit of Multi-Width SIMD DSP
  8. The Design and Implementation of High-performance fixed-point Arithmetic Unit for SIMD DSP
  9. Design and Implemtation of BP Component and Shuffle Unit in YHFT-Matrix Processor
  10. Stream Media Server Research Based on Godson Platform
  11. The U-Boot system based on Loongson platform transplantation
  12. Study on Two-way Relaying System with Network Coding
  13. Optimization of VC-1Decoder on Cortex-A9Platform
  14. The Design and Research of Singlechannel Dvi Repeater Based on Fpga
  15. The research and hardware emulation of quasi cyclic LDPC code
    FengFeng ·Ocean University of China ·2013 ·Master's thesis
  16. Research on Efficient Decoding Algorithms for Nonbinary LDPC Codes
    ZhaoYiZhu ·Beijing Jiaotong University ·2014 ·Master's thesis
  17. Optimization of Opus Decoders in Arm Cortex-A8
  18. An analysis of the communication family TV drama hit schools in the new century
    LiuZuo ·Shaanxi Normal University ·2013 ·Master's thesis
  19. The Analysis of Aesthetics in English Rhetoric from the Cog-Pragmatic Perspective
  20. Features Extraction and Model Analysis of Acupuncture Encoding Based on Neural Electrical Signals
    MenCong ·Tianjin University ·2010 ·Master's thesis