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
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
- Research on OMP-based Compressed Sensing Algorithm
- Research and Implementation of Parallel Computing Used in Video Compression
- Parallel Hybrid PVS Algorithm Based on OpenMP and its Application
- Study of Multicore-based Parallel Algorithm for Constructing Extremal Graphs
- The Research of Shared CMP Cache Management
- Optimization and Implementation of AVS Mode Decision Algorithm
- Research on Joint Parallel Algorithm of H.264Encoders and Decoders
- Research on AVS video watermarking algorithm based on DCT
- Parallelizing Research and Implementation of Speech Recognition
- The Research and Realization of AVS Video Encoder Based on TMS320C6474
- Research on Application of Parallel Computing to Marine Water Age Spectrum Simulation
- The Hybrid MPI+OpenMP Parallel Method of GRAPES-global Model
- Fast Belief Propagation-based Arallel Topic Modeling Techniques
- Multi-Core Programming for Dynamic Follow-Tree Index of Full Text Search Research
- Design and Implementation of AVS Video Monitoring System
- Research and Implementation of Facial Image Fatigue Detection System Based on Gabor
- Research and Application of Image Processing in Parallel Programming Method
- Research and application of image restoration algorithm of diffuse multi-core architecture system based on
- Parallelization of a Fabric Defect Segmentation Method Using OpenMP
- Research on Optimization of Parallel Programs for Embedded Multicore System