Research and Implementation of AVS video encoding parallel algorithm

Author
HuWenAn
Advisor
YuHongYang
School
University of Electronic Science and Technology
Major
Signal and Information Processing
Classification
TN919.81 Image coding
Degree
Master's thesis
Year
2010
Downloads
58
Citations
1

Request the full text

Abstract

The new generation video coding standard AVS(Audio and Video coding Standard) which was proposed by "Digital Audio Video Coding Standard Working Group", is being more and more extensively applied and researched in the filed of industry and academic because of the advantages such as: high performance, low computational complexity, and low licensing cost, etc. Using the latest video coding technology, the encoding speed of AVS is much lower than the previous generation video coding standard. Now, with the popularity of multi-core processors, multi-threaded parallel programs will effectively improve the encoding speed. OpenMP is a multi-thread programming standard for shared memory multi-processor system, and provides a simple and efficient multi-threaded application programming interface for programmer.To improve the AVS encoding speed, parallel computing theory, AVS coding standard and OpenMP multi-threaded programming standard are described, and three tasks have been completed:Firstly, using OpenMP, the parallel encoding algorithms including GOP-level, slice-level, frame-level are researched and realized, based on the reference model RM62f of AVS encoder. These parallel encoding algorithms have been tested on Intel quad-core processor platform, and given the relationship between the number of threads and speedup, PSNR and bit rate. Experimental results show that, parallel algorithms can improve encoding speed signifiantly compared with original serial algorithm, but they still have their own shortcomings.Secondly, a frame-level encoding algorithm based on task queuing model is presented to overcome the frame-level’s shortcomings in scalability and load balancing. Experimental results show that, the speedup of this algorithm can obtain 3.9x on Intel quad-core processor platform. This parallel encoding algorithm can improve encoding speed and CPU utilization greatly, at the same time SNR and bit rate remain completely unchanged.Finally, in order to further improve the encoding speed, this thesis realizes SIMD parallel optimization of AVS video coding, using Intel multimedia instruction set SSE2 and SSE4. Experimental results on Intel quad-core processor platform show that, after Intel multimedia instruction set optimization, AVS video encoding speed increase signifiantly. Especially, SSE4 optimization can make the speedup up to 14.8x, combined with the frame-level encoding algorithm based on task queuing model.

Table of contents

Abstract 4-5 ABSTRACT 5-10 first chapter 10-21 1.1 video coding standard development overview 10-11 1.2 microprocessor development 11-12 1.3 parallel theory Introduction 12-19 1.3.1 parallel computer architecture classification 12-14 1.3.2 parallel computing 14-16 1.3.3 parallel algorithm performance metrics 16-19 1.3.3.1 Amdahl's law 17 1.3.3.2 Gustafson's law 17-18 1.3.3.3 Amdahl's law and Gustafson's Law relationship 18-19 1.4 topics of significance 19 1.5 In this thesis, the main content 19-21 1.5.1 research 19-20 1.5.2 structural arrangements 20-21 the second chapter AVS video coding standard 21-28 2.1 AVS encoder framework 21-22 2.2 AVS video encoding key technology 22-27 2.2.1 intra prediction 23-24 2.2.2 inter prediction 24-25 2.2.3 transform and quantization 25-26 2.2.4 entropy coding 26-27 2.2.5 loop filter 27 2.3 This chapter Summary 27-28 Chapter AVS video encoding parallelization 28-38 3.1 AVS parallel coding mode 28-30 3.2 parallel programming interface 30-37 3.2.1 Windows multi-threaded programming 30 the of 3.2.2 Linux multithreaded programming 30-31 3.2.3 MPI 31 3.2.4 OpenMP 31-37 3.2.4.1 Fork-Join mode 32-33 3.2.4.2 OpenMP multi-threaded programming foundation 33-36 3.2.4.3 OpenMP multi-threaded program performance influencing factors 36-37 3.3 This chapter Summary 37-38 the GOP Slice and frame-level parallel encoding algorithm 38-63 4.1 GOP-level parallel encoding algorithm 38-47 4.1.1 GOP level parallel algorithm based on the OpenMP 39 4.1.2 on the Intel quad-core processor platform test 39-44 4.1.3 the number of threads to speedup relationship 44-46 4.1.4 the number of threads PSNR relationship 46-47 4.2 the Slice-level parallel encoding algorithm 47-56 4.2.1 Slice level based on OpenMP parallel algorithm 47-48 4.2.2 on the Intel quad-core processor platform test 48-51 4.2.3 the number of threads to speedup relationship 51-52 the relationship 4.2.4 the number of threads bitrate 52-56 4.3 frame-level parallel encoding algorithm 56-62 4.3.1 parallel algorithm based on the frame-level OpenMP 57-58 4.3.2 on the Intel quad-core processor platform test 58-60 4.3.3 the number of threads to speedup relationship 60-62 4.4 This chapter Summary 62-63 parallel encoding algorithm based on the frame-level model of the task queue 63-72 5.1 Introduction to parallel coding algorithm based on frame-level model of the task queue 63-65 5.2 OpenMP-based parallel algorithm 65-66 5.3 on the Intel quad-core processor platform test 66-69 5.4 frame-level parallel algorithm optimization acceleration than the contrast 69-71 5.5 This chapter Summary 71-72 the sixth chapter AVS video encoding SIMD parallel optimization 72-83 6.1 Intel multimedia instruction sets introduced 72-73 6.2 uses SSE2 optimization of the AVS motion estimation module 73-78 6.2.1 on the Intel quad-core processor platform test 75-77 the 6.2.2 SSE2 optimized front and rear of the accelerated than the contrast 77-78 6.3 SSE4 optimized the AVS motion estimation module 78-82 6.3.1 on the Intel quad-core processor platform test 79-81 6.3.2 SSE4 optimization acceleration than the contrast 81-82 6.4 This chapter Summary 82-83 Chapter VII Summary and Outlook 83-84 Acknowledgements 84-85 the References 85-87 the attack Shuo achieved during the research 87-88

Related dissertations

  1. Research on OMP-based Compressed Sensing Algorithm
    WuXiaoZuo ·Hainan University ·2013 ·Master's thesis
  2. Research and Implementation of Parallel Computing Used in Video Compression
    TangFangYong ·Northeastern University ·2010 ·Master's thesis
  3. Parallel Hybrid PVS Algorithm Based on OpenMP and its Application
    ZouJing ·Hunan University ·2012 ·Master's thesis
  4. Study of Multicore-based Parallel Algorithm for Constructing Extremal Graphs
    ZhengRuiJun ·Beijing Jiaotong University ·2014 ·Master's thesis
  5. The Research of Shared CMP Cache Management
    XuZuo ·Hunan University ·2013 ·Master's thesis
  6. Optimization and Implementation of AVS Mode Decision Algorithm
    YangXue ·Tianjin University ·2012 ·Master's thesis
  7. Research on Joint Parallel Algorithm of H.264Encoders and Decoders
    ZhuXiaoYu ·Central South University ·2013 ·Master's thesis
  8. Research on AVS video watermarking algorithm based on DCT
    DingJinLong ·Jiangxi University of Technology ·2013 ·Master's thesis
  9. Parallelizing Research and Implementation of Speech Recognition
    SongGuangJie ·Northeastern University ·2010 ·Master's thesis
  10. The Research and Realization of AVS Video Encoder Based on TMS320C6474
    WangQun ·Tianjin University ·2012 ·Master's thesis
  11. Research on Application of Parallel Computing to Marine Water Age Spectrum Simulation
    ZhouWei ·Hebei University of Engineering ·2013 ·Master's thesis
  12. The Hybrid MPI+OpenMP Parallel Method of GRAPES-global Model
  13. Fast Belief Propagation-based Arallel Topic Modeling Techniques
    GuYiQing ·Suzhou University ·2012 ·Master's thesis
  14. Multi-Core Programming for Dynamic Follow-Tree Index of Full Text Search Research
    ZhangXiang ·Guangxi University ·2013 ·Master's thesis
  15. Design and Implementation of AVS Video Monitoring System
    WangLei ·Taiyuan University of Technology ·2012 ·Master's thesis
  16. Research and Implementation of Facial Image Fatigue Detection System Based on Gabor
    ChenJun ·Hunan University ·2012 ·Master's thesis
  17. Research and Application of Image Processing in Parallel Programming Method
  18. Research and application of image restoration algorithm of diffuse multi-core architecture system based on
    WangZuo ·Yunnan University ·2013 ·Master's thesis
  19. Parallelization of a Fabric Defect Segmentation Method Using OpenMP
    MaJinChao ·Xi'an University of Engineering ·2012 ·Master's thesis
  20. Research on Optimization of Parallel Programs for Embedded Multicore System
    WangQing ·Harbin Institute of Technology ·2013 ·Doctoral dissertation