Design and Implementation of Parallel Algorithms for Some H.264Encoding Modules Based on GPU

Author
CuiChen
Advisor
GuoChengAn
School
Dalian University of Technology
Major
Electronics and Communication Engineering
Classification
TN919.81 Image coding
Degree
Master's thesis
Year
2012
Downloads
124
Citations
2

Request the full text

Abstract

Video provides us with rich amount of information, at the same time video compression technology is becoming more and more popular. H.264is an excellent video compression standard with high performance, but its high compression rate is at the cost of high encoding complexity, its computational amount is significantly increased compared to the previous video standards.With the development of science and technology, GPU’s powerful multi-thread parallel general purpose computing (GPGPU) ability attracts many researchers. We design key parallel algorithms in H.264and implement them on GPU in this paper.We make CPU and GPU work together, taking advantages of their own processor. CPU is responsible for handling file access and the tasks which require more logical units, and we use GPU’s multi-thread parallel mechanism to deal with modules which contain a large number of parallel tasks in H.264, such as intra prediction, inter prediction, transform and quantization, so we can take full advantage of CPU and GPU resources.We propose several parallel algorithms and implementation methods on CUDA with GPU for inter prediction and transform modules in H.264. Inter prediction module contains pixel interpolation, motion compensation and the hexagon motion search. According to each module’s data correlation, we design different parallel algorithms, and also do some optimization to make sure that our parallel algorithm can fit the characteristics of the GPU hardware better. In transform module, we design a paralleled algorithm on the base of the traditional butterfly algorithm, then analysis the experimental data and the parallel algorithm’s reasonableness.We make a comparison between our parallel algorithms on GPU with the traditional CPU serial algorithms through experiment. In pixel interpolation and transform module, the algorithm’s speed-up rate is more than20, and for hexagon parallel algorithm, the speedup rate reaches to more than100. Then we make a probing analysis of the experimental data.Finally, we talk about that our parallel algorithm can be further improved and that there is a bright future in this area.

Table of contents

Summary 4-5 Abstract 5-8 1 Introduction 8-13 1.1 research background 8-9 <br / > 1.2 domestic and foreign research status 9-11 1.2.1 development Status of video compression technology 9-10 1.2.2 GPU development Introduction 10 - 11 1.2.3 GPU accelerated H.264 -based codec to achieve 11 1.3 content and structure of this study arrangements 11-13 1.3.1 this article the main contents 11-12 section 1.3.2 of this article arrangements 12-13 2 H.26 4 video coding standard parallel programming and GPU outlined 13-30 2.1 H.264 video compression codec standard profiles 13-24 2.1.1 H.264 encoder framework 13-14 2.1.2 H.264 encoder key technologies introduced 14-24 2.2 GPU hardware architecture and CUDA software architecture 24-30 2.2.1 GPU hardware architecture and general-purpose computing 24 2.2.2 CUDA software architecture 24-30 3 nbsp GPU -based parallel algorithm design of H.26 4 encoder key modules ; 30-51 3.1 encoder frame design 30-31 3.2 inter prediction parallel algorithm design 31-47 inserted parallel algorithm design within a quarter pixel 3.2.1 31-35 3.2.2 motion compensation algorithm design 35-37 3.2.3 parallel motion search algorithm design 37-47 3.3 integers DCT and quantization 47-49 3.3.1 integer DCT transform 48-49 3.3.2 quantify 49 3.4 Summary 49-51 4 experimental results and analysis example 51-59 4.1 experimental results and analysis of parallel inter prediction algorithm 52-56 4.1. within a quarter -pixel interpolation algorithm for parallel experiments 52-53 4.1.2 motion search algorithms parallel experiments 53-56 4.2 integer DCT parallel algorithms and experimental results analysis 56-59 conclusion 59-61 References 61-63 Thanks 63-64

Related dissertations

  1. Design and Implementation of Parallel Algorithms for Some H.264Encoding Modules Based on OpenCL
    GongWenNing ·Dalian University of Technology ·2013 ·Master's thesis
  2. Research of Efficient Computing Method on GPU-based LS-SVM
    BaoWenLei ·Harbin Institute of Technology ·2012 ·Master's thesis
  3. Optimization of CUDA-based Parallel SOM Algorithm and Its Application
    ZhangJinChao ·Harbin Institute of Technology ·2012 ·Master's thesis
  4. Research on GPU General Computing on Text Classification
    LiZhiLong ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  5. Research and Implementation of FIR Filtering Parallel Algorithm Based on GPU
    XiaoZuo ·Northeastern University ·2011 ·Master's thesis
  6. Research on Text Detecting and Removal in Video Image Based on CUDA
  7. Rapid Implementation of the Small Infrared Target Detection Algorithm on CUDA
  8. Parallel Face Detection CUDA Accelerating
  9. Research on Boundary Face Method Base on GPU-acceleration
    YuLieXiang ·Hunan University ·2013 ·Master's thesis
  10. Research on Applying GPU Parallel Computation to Medical Image Processing
    LiYingMin ·Tianjin University ·2012 ·Master's thesis
  11. Research of Image Registration and Mosaic Technology Based on GPU
    ZouGang ·Tianjin University ·2012 ·Master's thesis
  12. Research and Implementation of Parallel Resampling Algorithm Based on GPU
    YuYinPing ·Northeastern University ·2013 ·Master's thesis
  13. The CAPTCHA Machine Pattern Recognition Technology Based on GPU Research and Application
  14. Study of Visual Tracking Algorithm Based on CUDA
    ZhangPing ·Beijing Jiaotong University ·2014 ·Master's thesis
  15. Improved Push-Relabel Algorithm for Graph Cuts And Design and Implementation on the GPU
    LiZuo ·Beijing Jiaotong University ·2014 ·Master's thesis
  16. Research and Implementation of Hashalgorithm Library on GPU
    LiKai ·South China University of Technology ·2013 ·Master's thesis
  17. Design and GPU Implementation of the DSP Algorithm in the Coherent Receiver of Fiber Communication
  18. Research of Real-time Acoustic Imaging Array Positioning Technology
    YuLiZhi ·Xiangtan University ·2013 ·Master's thesis
  19. Research on Simulation Methods Based on GPU for Small Delay Faults
    PengMingMing ·Hunan University ·2013 ·Master's thesis
  20. Hyperspectral image mixed pixel decomposition parallel optimization based on GPU