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

Request the full text

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

  1. Test Generation for Integrated Circuits at Register Transfer Level
    YinZhiGang ·Institute of Computing Technology ·2003 ·Doctoral dissertation
  2. The Integration of Government Policy, Finance into Development of Chinese Semiconductor Industry
    ZouJun ·Shanghai Jiaotong University ·2013 ·Master's thesis
  3. Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
    XuZuoFang ·Hunan University ·2013 ·Master's thesis
  4. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  5. Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
    LiuWen ·Xiangtan University ·2013 ·Master's thesis
  6. Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
  7. Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
  8. Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
    ZhangZhiQiang ·Tianjin University ·2009 ·Master's thesis
  9. Research of Dual Chanel High Speed Data Acquisition Card
    DanGuangXing ·Harbin Institute of Technology ·2012 ·Master's thesis
  10. Design and Implementation of FPGA-Based Six-Channel Non-Crosstalk Sonar System
    ZuoJiaLin ·Tianjin University ·2012 ·Master's thesis
  11. The Realization of Quality Detection System of Cataplasm Coating Based on FPGA
    LiuRongPeng ·Tianjin University ·2012 ·Master's thesis
  12. Design of Remote Strain Measurement System Based on FGPA
    LiuNanNan ·Harbin Engineering University ·2013 ·Master's thesis
  13. The Design of Digital Ultrasonic Nondestructive Testing System
  14. Design and Implementation of High Speed Data Recorder Based on FPGA
  15. Design of the High-speed Data Acquisition System Based on USB Interface
    LiuYu ·Harbin Engineering University ·2013 ·Master's thesis
  16. Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
    ZhengZuo ·Hebei University of Technology ·2013 ·Master's thesis
  17. Design and Application of Linear Array Image Acquisition System Based on Compressed Sensing
    XieJiaZu ·Tianjin Normal University ·2013 ·Master's thesis
  18. The Design and Research of PCI Data Acquisition Card Based on FPGA
  19. Usb Without Invasive Data Collection Technology Research
  20. Research on On-line Diameter Measurement System Based on FPGA