Design of H.264 Parallel Encoding Algorithms and Implementation on GPU
- Author
- ZhaoYang
- Advisor
- GuoChengAn
- School
- Dalian University of Technology
- Major
- Circuits and Systems
- Classification
- TP391.41 Image recognition device
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 27
- Citations
- 0
Abstract
The video is the most abundant of the information carrier. Video compression technology because of the huge amount of information, has been the subject of people's research. As a new generation video coding standard, H.264 has excellent compression performance, but also increased encoding complexity and coding time-consuming. The huge amount of data calculation become the main factors affecting the encoding speed. In recent years, GPU (Graphic Processing Unit, the graphics processor), a powerful floating-point computing power to attract researchers use the GPU to do some general work will form a GPGPU (General Purpose GPU, the graphics processor) for general purpose computing concept. NVIDIA Corporation introduced in 2007 Compute Unified Device Architecture (CUDA) and the emergence of CUDA makes parallel programming become flexible. GPU video image compression field has broad application prospects. In this paper, a heterogeneous CPU GPU encoder, dual-thread design, so that the CPU and GPU to work together. The main thread CPU is responsible for the key to complete file read and write, host and device-side data exchange and scheduling of the GPU. Responsible by the GPU from the thread, complete intra coding, interframe coding and entropy coding calculation. The entire video encoding process on the GPU, so not only take full advantage of GPU computing resources, in turn CPU is freed from the huge amount of computation in. Module takes more time H.264 encoding, this paper presents a variety of efficient parallel algorithms. For intra-coding, proposed a fixed ladder was parallel algorithm; interframe coding, the first correlation analysis, by changing the interframe coding sequence the default MVP zero, proposed macroblock-level parallelism sub-pixel search motion estimation parallel algorithm and three-step method of motion estimation parallel algorithm; proposed an entropy-coded parallel program for entropy coding aspects. The decorrelation method by controlling the relevance, context-and storage-related analysis, given the overall entropy coding parallel framework, information statistics, stream generation and stream merge the three aspects of the parallel implementation of the entropy coding. In this paper, the entropy coding parallel algorithm is universal, not limited to the GPU parallel computing environment, but widely used in the multi-core processors, cluster systems. The program provides an effective solution for parallel difficulty to achieve significant entropy coding link. The experimental results show that the CPU-GPU heterogeneous encoder can take full advantage of the GPU's computing resources, in both image quality and compression efficiency for all aspects of the parallel algorithm can save the encoding time, encoding speed has been improved greatly. Parallel encoder with through multimedia instruction set optimized x264 than 4-6 times acceleration, and without the multimedia instruction set optimized x264 compared with 35-71 times the acceleration.
Table of contents
Summary 4-5
Abstract 5-9
1 Introduction 9-13
1.1 research background 9-10
1.2 research status 10-11
1.3 In this paper, the content and structure of arrangements 11-13
1.3.1 The main research content 11 - chapters 12
1.3.2 of this article 12-13
H.264 coding standard GPU Programming Overview 13-30
2.1 H.264 encoder framework 13-14
2.2 H.264 encoding key technology 14-20
2.3 GPU CUDA architecture 20-24
2.3.1 GPU Introduction to CUDA architecture 20-21
2.3.2 CUDA programming model the 21-23 2.3.3 CUDA hardware model
23-24
2.4 the CUDA program optimization 24-30
parallel GPU-based H.264 encoder design 30-51
3.1 overall architecture design 30-32
3.2 intra prediction parallel algorithm design 32-36
3.2.1 brightness intra prediction parallel algorithm 32-34
3.2.2 chroma intra prediction parallel algorithms 34-36 3.3 interframe prediction
parallel algorithm design 36-43
3.3.1 interframe, predicted correlation analysis 36-37
3.3 .2 full search motion estimation parallel algorithm the 37-42
3.3.3 three-step motion estimation parallel algorithm 42-43
3.3.4 Two parallel search algorithm performance analysis 43
3.4 entropy encoding parallel algorithm design 43-49
3.4.1 entropy coding 45-46
3.4.2 Entropy Coding the overall parallel framework 46-47
3.4.3 statistical information. stream generated parallel algorithm 47-48
3.4.4 stream merging parallel algorithm 48 - 49
3.5 Chapter Summary 49-51
experimental results 51-59
4.1 intra prediction the Parallel Algorithms experiment 51-53 < br /> 4.2 inter prediction algorithm in parallel experiments 53-56
4.3 entropy coding experiment of parallel algorithms 56-57
4.4 encoder overall performance analysis 57-59
conclusion the 59-61 the
Ref. 61-64
master's degree during the academic situation 64-65 <br / > Acknowledgements 65-66
Related dissertations
- GPU-based video transcoding H.264 to AVS parallel design
- Design and Implementation of Parallel Algorithms for Some H.264Encoding Modules Based on OpenCL
- Research on High Performance Parallel Algorithms Based on GPU
- Multiple GPUs Based FDTD Parallel Algorithm and Its Applications in Electromagnetic Simulation
- Efficient 3D Scene Reconstruction from Multi-view Images
- GPU-based parallel H.264 video codec
- The Implementation of Parallel AES Encryption Algorithm Baesd on GPU
- Research on Parallel Computation of H.264 Based on CUDA
- Research on Video Compression Algorithm Based on Multi-core Computing Platform
- The Research of Embedded Video Monitoring System Based on Power Line Carrier Technology
- Video Surveillance System Based on Embedded Technology Research
- Vehicle Wireless Video Monitoring System Based on Improved H.264Motion Estimation Algorithm
- The software design of intelligent control Home Furnishing gateway based on ARM11
- Research on Moving Object Segmentation and Extraction in the H.264Compressed Domain
- The Design of Vehicle Detection System
- Design of Agricultural Product Trace Coding Based on PDF417Two-dimensional Bar Code
- 2D to3D Conversion Method for3DTV Application
- Three dimensional visualization algorithm and drilling core ray casting volume rendering
- Design of Embedded Video Surveillance System Based on DaVinci Technology
- Design and Implementation of Mobile Video Surveillance System Based on Intelligent Terminal