CUDA H.264 encoding interframe prediction algorithm
- Author
- GuoZhiZuo
- Advisor
- SangZuo
- School
- University of Electronic Science and Technology
- Major
- Computer System Architecture
- Classification
- TN919.81 Image coding
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 56
- Citations
- 0
Abstract
Compared with previous video coding standards, H.264 standard enhances the coding performance considerably with significantly improved implementation complexity. The inter prediction component of H.264 encoder supports more division size, higher precision motion vector and more reference frames and leads to higher computation complexity. In early time, the application of GPU was limited in 3D image rendering. CUDA (Compute Unified Device Architecture) allows general-purpose application with GPU. CUDA provides a new opportunity and method to improve the performance of H.264 encoding algorithm.In this thesis, the basic principles of video encoding and the H.264 encoder structure are introduced; the component of inter prediction is analyzed deeply; the algorithms for motion estimation, mode decision, etc, proposed by domestic and foreign scholars are summarized. Then, new algorithms for inter prediction component are proposed. Full-search algorithm for motion estimation is improved based on the characteristics of GPU and CUDA: the SAD of bigger division of the macroblock is calculated with the SAD of smaller divisions; the calculation for Lagrange factor for all macroblocks of the current encoding frames were put together and processed before the processing of all macro blocks; to be implemented easily on GPU, a new mode cost function is proposed. Thus, the process of inter prediction of all macro blocks in one frame are integrated together. The data used was abstracted so that the algorithm can be implemented as large-scale matrix processing.According to the test data, it’s feasible to carry out inter prediction part of H.264 encoder on GPU. The encoding speed was enhanced significantly with bitrates maintained within an acceptable range. The bit stream can be correctly decoded by H.264 decoder with image quality slightly declined.
Table of contents
Abstract 4-5
ABSTRACT 5-8
Chapter Introduction 8-12
1.1 background and significance of research -9
1.2 research status 9-10
1.3 major work 10-11
1.4 In this paper the organizational structure 11-12 <br / H.264 video coding> Chapter Overview 12-19
2.1 H.264 encoding basic principles of 12-13
2.1.1 H.264 encoding data format 12-13
2.1.2 H.264 encoder structure 13
2.2 predictive coding mode decision 13-17
2.2.1 Inter Prediction 13-15
2.2.2 Intra prediction 15-16
2.2.3 mode judgment 16-17
2.3 Other important functional block 17-18
2.4 of this chapter Summary 18-19
Chapter III of CUDA-based GPU computing 19-26
3.1 CUDA programming model 19-20
3.2 CUDA software architecture 20-21
3.3 CUDA hardware model 21-22
3.4 CUDA memory hierarchy 22-24
3.5 GPU Parallel Performance Optimization 24
3.6 CUDA shortcomings of 24-25
3.7 of this chapter Summary 25-26
Chapter IV CUDA based H.264 interframe prediction parallel algorithm 26-42
4.1 interframe prediction parallelization potential 26-30
4.1.1 a lot of computing 26-27
4.1.2 relative independence 27-30
4.2 interframe prediction of CUDA-based parallel algorithm 30-39
4.2.1 integration of computational 30-35
4.2.2 to eliminate dependence method 35-39
4.3 sub-pixel motion estimation is set after 39
4.4 Optimization P_SKIP mode decision strategy 39-41
4.5 of this chapter Summary 41-42
Chapter Parallel Implementation of CUDA-based H.264 interframe prediction 42 -62
5.1 X264 Overview 42-45
5.2 interframe prediction parallelization 45-55
5.2.1 the overall framework 46-47
5.2.2 interframe prediction 47-55
5.3 P_SKIP mode is judgment sub-pixel motion is estimated 55-57
5.4 Testing and analysis 57 -61
5.4.1 test platform 57
5.4.2 different degree of motion video sequence 57-60
5.4.3-resolution video sequences 60-61
5.5 Analysis of the prospect 61
5.6 Summary 61-62
Chapter VI Conclusion 62-64 < br /> 6.1 This paper summarizes 62
6.2 Problems and lack of 62-63
6.3 Looking 63-64
thank 64-65
References 65-69
Related dissertations
- Design and Implementation of Parallel Algorithms for Some H.264Encoding Modules Based on GPU
- Design and Implementation of Parallel Algorithms for Some H.264Encoding Modules Based on OpenCL
- Research of Efficient Computing Method on GPU-based LS-SVM
- Optimization of CUDA-based Parallel SOM Algorithm and Its Application
- Research on GPU General Computing on Text Classification
- Research and Implementation of FIR Filtering Parallel Algorithm Based on GPU
- Research on Text Detecting and Removal in Video Image Based on CUDA
- Rapid Implementation of the Small Infrared Target Detection Algorithm on CUDA
- Parallel Face Detection CUDA Accelerating
- Research on Boundary Face Method Base on GPU-acceleration
- Research on Applying GPU Parallel Computation to Medical Image Processing
- Research of Image Registration and Mosaic Technology Based on GPU
- Research and Implementation of Parallel Resampling Algorithm Based on GPU
- The CAPTCHA Machine Pattern Recognition Technology Based on GPU Research and Application
- Study of Visual Tracking Algorithm Based on CUDA
- Improved Push-Relabel Algorithm for Graph Cuts And Design and Implementation on the GPU
- Research and Implementation of Hashalgorithm Library on GPU
- Design and GPU Implementation of the DSP Algorithm in the Coherent Receiver of Fiber Communication
- The Research and Application of the H.264Video Coding Algorithm
- Research of Real-time Acoustic Imaging Array Positioning Technology