Design and Implementation of H.264Encoding System Based on FPGA
- Author
- RongChaoQun
- Advisor
- LiJingZuo
- School
- Northeastern University
- Major
- Circuits and Systems
- Classification
- TN919.81 Image coding
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 28
- Citations
- 0
Abstract
Since H.264encoding algorithm is of great computational complexity, encoding systems based on the traditional embedded processors such as ARM can not achieve high real-time encoding, and system encoding performance is rather inefficient. Though encoding systems based on encoding DSP or encoding ICs can obtains better encoding performance, system interface and functionalitiy is fixed, resulting in poor scalability. The FPGA-based H.264encoding systems own high encoding performance and strong programmability, making up the deficiencies for the previous encoding systems. Large number of domestic and international literature suggests that some scholars have successfully implemented parts of H.264encoding structure on FPGA, and results show that outstanding encoding performance is gained. However, there is no systematic introduction to build a completed H.264encoding structure on FPGA.The paper completes all parts of intra prediction and encoding of H.264baseline profile based on FPGA, and a complete video encoding system is also designed in this paper. The main work is as followed:In the aspect of H.264encoding implementation,4×4intra luminance prediction module,8×8intra chroma prediction module,4×4integer DCT transform module,2×2Hadamard transform module, quantization module,4×4inverse integer DCT transform, inverse quantization module, CAVLC entropy encoding module, Exp-Golumb entropy encoding, reconstruction module and other modules are realized. Also some optimization is done to improve encoding efficiency. Meanwhile, this paper designs a H.264encoder IP core based on AXI-Stream interface, and a testing SoC is built up on Xilinx’s newest Zynq-7000series FPGA. Based on the SoC, this paper accomplishes Linux operating system migration, H.264encoder IP core-driven design, video capturing of USB camera, and dynamic display of QT GUI. As a result, a completed system including video capturing, displaying, encoding and storing is ceated.In the aspect of testing H.264encoding module, each module is simulated in Modelsim environment respectively, and results show that all modules functionaly work correctly and the relevant optimization is realiable. The maximum operating frequency of CAVLC entropy encoding module can work up to190MHz after synthesizing on Zynq-7000FPGA, reaching the design target of encoding high definition video. When the quantization parameter QP is28, the encoding efficiency of640×480resolution video is21.69fps, which is88.9times that of ARM platform. The compression ratio is4.94%, and the average luminance PSNR and chrominance PSNR is up to36.97dB and39.58dB respectively, meeting the encoding requirement.
Table of contents
Abstract 5-6
Abstract 6-8
catalog 8-12
Chapter 1 Introduction 12-18 <br / > 1.1 Background 12
1.2 status quo at home and abroad research status 12-15
1.2.1 H.264 encoding module FPGA implementation 12-14
Research Status 1.2.2 H.264 coding system 14-15
1.3 significance 15-16
1.4 chapter Summary 16-18
Chapter 2 describes the relevant knowledge 18-36
2.1 video encoding technology principle and performance evaluation 18-21
2.1.1 video coding technology principles outlined 18-19
2.1.2 video encoding performance evaluation 19-21
2.2 H.264 standard 21-23
2.2.1 H.264 structural grade 21-22
2.2.2 H.264 encoder framework 22
2.2.3 H.264 decoder framework 22-23
2.2 .4 H.264 features and advantages 23
2.3 H.264 intra prediction coding of key technologies 23-30
2.3.1 intra prediction mode 23-26
2.3.2 transform and inverse transform 26-27
2.3.3 quantization and inverse quantization 27-28
2.3.4 CAVLC entropy coding 28-29
2.3.5 Exp-Golumb entropy coding 29-30
2.5 AMBA AXI bus protocol 30-31
2.6 hardware platform 31-34
2.5.1 Zynq-7000 AP SoC system Introduction 31-32
2.5.2 ZedBoard development platform 32-34
2.7 of this chapter Summary 34-36
Chapter 3 overall design 36-48
3.1 system functional and performance requirements 36-37
3.1.1 system Function requirements 36
3.1.2 system performance requirements 36-37
3.2 system level analysis 37-38
3.3 FPGA-based H.264 encoding module design 38-45
3.3.1 simplifies and module division 38-39
3.3.2 4 × 4 luminance prediction module design 39-40
3.3.3 8 × 8 chrominance prediction module design 40-41
3.3.4 quantized transform and inverse transform module quantization module design 41-44
3.3. 5 reconstruction module design 44
3.3.6 CAVLC entropy coding module design 44-45
3.4 FPGA-based H.264 encoding system design 45-46
3.5 Summary 46-48
Chapter 4 FPGA-based H.264 encoding module 48-62
4.1 4 × 4 luminance prediction module 48-52
4.1.1 state transitions and control 48-49
4.1.2 logic implementation 49-52
4.2 8 × 8 chrominance prediction module 4.3 inverse transform module and 53-55
; 52-55
4.2.1 state transitions and control 52-53
4.2.2 logic implementation nbsp conversion module 55-56
4.3.1 DCT transform module 55-56
4.3.2 iDCT transform module and Hadamard transform module 56
4.4 quantization module and inverse quantization module 56-57
4.5 reconstruction module 57-58
4.6 CAVLC entropy coding module 58-60
4.6.1 Statistics module 58
4.6.2 calculate NC 58
4.6.3 coding coeff token 58-59
4.6.4 coding trailingone_sign 59
4.6.5 coding totalzeros 59-60
4.7 signed Exp-Golumb entropy coding optimization to achieve 60-61
4.8 chapter Summary 61-62
Chapter 5 FPGA-based H.264 encoding system to achieve 62-72
5.1 H.264 encoding SoC system implementation 62-64
5.1.1 H.264 encoder IP core implementation 62-63
5.1.2 SoC system implementation 63-64
5.2 Linux porting and IP -driven design 64 -68
5.2.1 H.264 encoder IP core Linux driver 64-65
5.2.2 USB cameras and video capture device drivers 65-68
5.3 QT interface design and runtime migration 68-69
5.3.1 QT interface design 68-69
5.3.2 QT runtime migration 69
software process 5.4 H.264 encoding system 69-70
5.5 Chapter Summary 70-72
Chapter 6 test and Performance Analysis 72- 86
6.1 testing program 72
6.1.1 H.264 encoding module testing program 72
6.1.2 H.264 encoding system testing program 72
6.2 H.264 encoding module simulation and analysis 72-79
6.2.1 4 × 4 luminance prediction module simulation and analysis 72-73
6.2. 2 8 × 8 chrominance prediction module simulation and analysis 73-74
6.2.3 quantized transform and inverse transform module quantization module simulation and analysis 74-77
6.2.4 reconstruction module simulation and analysis 77
6.2.5 CAVLC entropy coding module simulation and analysis 77-78
6.2.6 Exp-Golumb entropy coding simulation and analysis 78
6.2.7 encoding speed testing and analysis 78-79
6.3 H.264 encoding system testing and analysis 79-84
6.3.1 system encoding function test 79-82
6.3.2 system encoding performance test 82-84
6.4 Chapter Summary 84-86
Chapter 7 summary and Outlook 86-88
7.1 summarizes
7.2 problems and Prospects nbsp 86-87; 87-88
references 88-92
Thanks nbsp published papers during the 92-94
pursue a degree ; 94-96
Appendix 96-102
Related dissertations
- The Research and Application of CAVLC Improvement Algorithm Based on H.264
- H.264 Video Encoder Based on FPGA
- The architecture and design of CAVLC decoder
- VLSI Structure Design of CAVLC Encoder in H.264
- Research on H.264Encoder and FPGA Implementation for Part of the Algorithm
- Hardware Design of Entropy Decoding and IQIT in H.264/AVC Video Decoder
- Hardware Design of Dual-mode Entropy Decoder in AVS and H.264
- 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
- AXI Image Quality Promotion and Automatic Identification of Defects in BGA
- The Design of Vehicle Detection System
- 2D to3D Conversion Method for3DTV Application
- Design of Embedded Video Surveillance System Based on DaVinci Technology
- Design and Implementation of Mobile Video Surveillance System Based on Intelligent Terminal
- Design of IP Camera Based on DM365DSP Platform
- Design of Remote Mobile Video Monitoring System
- Research and Implementation of Intelligent Video Surveillance System Based on RTSP
- Design of Wireless Video Monitoring System of Water Supply Well Based on FPGA