Design and Realization of JPEG Hardware Decoder Based on FPGA
- Author
- WangYan
- Advisor
- ZhangLing
- School
- Chongqing University
- Major
- Signal and Information Processing
- Classification
- TP391.41 Image recognition device
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 136
- Citations
- 0
Abstract
In the 21st century,mankind goes into the information age, as the main carrier of information dissemination, the image plays an important role in social development. With good compression performance, JPEG still image compression standard has been widely applied in the image field. At the same time, with the maturity of integrated circuit technology, it has become a hot spot that FPGA hardware is used to realize image processing algorithm, so using hardware to process image has practical value.Research work focuses on the hardware design and realization of JPEG baseline system decoder, and the order is to provide a source code to support the JPEG decoder. On the basis of a brief introduction of JPEG coding and decoding theory and JFIF format commonly used, the hardware structure of the decoder is proposed on the general prospect. The top-down and modular approach are used in the design, and verilog hardware language is used to describe the decoder. Each module is independent and can be reused. The mainwork of the paper includes the following aspects:1. The coding and decoding principle of JPEG Baseline System was studied in depth. After analyzing and comparing the exist algorithms which were included by the system, the best optimal algorithm suitable for hardware implementation was chosen. And then the overall hardware design of decoder was put forward;2. Based on the proposed scheme, verilog hardware language was used to describe and RTL function simulation was done for each module with modelsim simulation tools, the simulation results were compared with the theoretical value. RTL joint debugging was achieved on the basis of each module’s correct functional simulation, and the FPGA prototype validity was finished on the chip EP2C35 of CycloneII series produced by Altera Company. The simulation and verification results show that the decoder meets the expected requirements essentially, and achieves a higher operating frequency in the premise of ensuring undistorted images;3. According to the characteristics of FPGA realizing, the decoding algorithm is optimized. In the entropy decoding stage, entropy decoding algorithm was improved combined with the construction of the Huffman tree, so the decoding time does not change with the size of code length. In the IDCT operation stage, the decoding speed was speeded up and the number of multipliers was reduced by pipeline technology.Developing integrated circuit core nuclear of intelligent property is the current trend .By designing and realizing hardware structure of JPEG Baseline System, the development of integrated circuit technology in our country is promoted, and also it has a positive significance in hardware designing of other image decoding systems.
Table of contents
Chinese abstract 3-4
English summary 4-8
1 Introduction 8-12
1.1 research background and significance 8 -9
1.2 research status 9-10
1.3 major work papers and chapters arrangements 10-12
2 JPEG image coding principle 12-24
2.1 JPEG standard 12-13
2.2 JPEG image coding principle 13-21
2.2.1 color space conversion and sampling 14 -15
2.2.2 forward discrete cosine transform 15-17
2.2.3 quantify and Z words scan 17-19
2.2.4 entropy coding 19-21
2.3 JFIF image format 21-23
2.4 Summary 23-24
3 JPEG image decoding principle 24 - 32
3.1 paragraph mark decoding 24-25
3.2 Huffman decoding 25-30
3.2.1 data Flow composition structure 25-27
3.2.2 data Unit huffman decoding 27-29
3.2.3 CHT decoding algorithm 29-30
3.3 inverse quantization and inverse Z-scan 30
3.4 IDCT transform 30-31
3.5 Summary 31-32
4 JPEG decoder hardware design and implementation 32-62
4.1 JPEG decoder overall structural design 32-33
4.2 input buffer module design 33-36
4.2.1 redundant information processing 34 -35
4.2.2 output Data 35-36
4.3 header parsing module 36-44
4.3.1 header file parsing state machine 36-42
4.3.2 header file storage unit 42-44
4.4 entropy decoding module design 44-50
4.4.1 entropy decoding hardware implementation 44-48
4.4.2 decoder state machine 48-50
4.5 inverse quantization and anti ZigZag module design 50-51
4.5.1 inverse quantization module design 50
4.5.2 anti ZigZag module design 50-51
4.6 IDCT module design 51-57
4.6.1 2D-IDCT module design design nbsp 51-53
4.6.2 1D-IDCT unit ; 53-56
design nbsp 4.6.3 transpose unit ; 56-57
4.7 color space conversion module design 57-59
4.7.1 memory cell design 57-59
4.7.2 YUV2RGB cell design 59
4.8 chapter Summary 59-62
5 JPEG decoder simulation and verification 62-80
5.1 JPEG decoder modules simulation 62 - 69
5.1.1 input buffer module simulation 62-63
5.1.2 header parsing module simulation 63-65
5.1.3 entropy decoding module simulation analysis 65-66
5.1.4 inverse quantization and anti ZigZag module simulation analysis 66-67
5.1.5 IDCT module simulation 67-68
5.1.6 color space conversion module simulation 68-69
5.2 JPEG decoder top-level simulation analysis 69-72
5.3 JPEG decoder FPGA verification 72-78
5.4 summary 78-80
6 work summary and Outlook 80-82
6.1 summary 80 <br / > 6.2 problems and Prospects 80-82
Thanks 82-84
References 84-88
Appendix master's degree during the author published papers directory 88
Related dissertations
- Test Generation for Integrated Circuits at Register Transfer Level
- The Integration of Government Policy, Finance into Development of Chinese Semiconductor Industry
- Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
- Optical Fiber Perimeter Alarm System Based on DSP and FPGA
- Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
- Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
- Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
- Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
- Research of Dual Chanel High Speed Data Acquisition Card
- Design and Implementation of FPGA-Based Six-Channel Non-Crosstalk Sonar System
- The Realization of Quality Detection System of Cataplasm Coating Based on FPGA
- Design of Remote Strain Measurement System Based on FGPA
- The Design of Digital Ultrasonic Nondestructive Testing System
- Design and Implementation of High Speed Data Recorder Based on FPGA
- Design of the High-speed Data Acquisition System Based on USB Interface
- Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
- Design and Application of Linear Array Image Acquisition System Based on Compressed Sensing
- The Design and Research of PCI Data Acquisition Card Based on FPGA
- Usb Without Invasive Data Collection Technology Research
- Research on On-line Diameter Measurement System Based on FPGA