Design and Implementation of H.264Decoding Algorithm Based on FPGA

Author
ChenYong
Advisor
LiJingZuo
School
Northeastern University
Major
Circuits and Systems
Classification
TN919.81 Image coding
Degree
Master's thesis
Year
2013
Downloads
9
Citations
0

Request the full text

Abstract

H.264, which is proposed by the Joint Video Team of the ITU-T Video Coding Experts Group (VCEG) and ISO/IEC Moving Picture Experts Group (MPEG), is a highly compressed digital video codec standard. By this standard, in the same image quality, the compression efficiency of H.264is2times than MPEG2’s and1.5to2times than MPEG-4’s. It not only retains the advantages of conventional compression technology but also has many other advantages that other compression techniques lack, such as low bit rate, fault-tolerant, high-quality images, and network adaptability. Therefore, H.264is considered the most influential industry standards.H.264decoder is divided into five main steps, namely Stream Processing, Inverse Quantization Inverse Transform, Prediction Decoding, the Context Adaptive Variable Length Code and Deblocking Filter. Since huge amount of data would be processed during H.264decoding, the soft decoding will consume a lot of resources with low speed, a dedicated hardware-based decoder chip technology becomes popular.In this thesis, a FPGA (Field Programmable Gate Array) based hardware platform solution is proposed for the problem of real-time H.264decoding. A pipelined segmentation technique is used to improve the system frequency; according to the statistical properties of the signal, gating off idle modules are used to reduce system power consumption, while reducing a certain amount of computation according to the characteristics. In the bitstream parser, a128-bit dual-port ring buffer is designed dedicated to the communication between the original video memory and the mixing-length decoder. When64bits of the stored data is read by the mixing-length decoder, the ROM storing the original video is read immediately for providing a steady stream of video data; for the first "1" detector, the16-bit input data is divided into3sub detectors with unequal priority according to statistics, each sub-detectors can be individually turned on or off, the sub-detectors with high probability is activated first, other detectors activated only when higher priority detector fails or turned off, in order to reduce system power consumption. For CAVLC decoding, a4-way parallel technique is used to increase the processing speed.The experimental results proved that the basic functions of H.264decoding algorithm is implemented in this thesis. When the system clock is110MHz, the decoder can decode176×144pixels H.264Baseline level video well. The design implemented the H.264decoding algorithm, which is an effective solution for real-time problem.

Table of contents

Abstract 5-6 Abstract 6-10 Chapter 1 Introduction 10-16 1.1 subject background 10-11 1.2 H.264 codec development status quo at home and abroad 11-13 1.3 significance 13-14 1.4 thesis structure 14-16 Chapter 2, H.264 / AVC video compression standard 16-30 2.1 H.264 / nbsp AVC video compression standard hierarchical structure ; 16-19 2.2 H .264 codec technology 19-26 2.2.1 CAVLC 19 2.2.2 DCT transform 19-21 2.2.3 intra forecast 21-23 2.2.4 inter prediction 23-24 2.2.5 variety of motion compensation block 24 2.2.6 to deblocking filter 24-25 2.2.7 variable macroblock ordering 25-26 2.2.8 estimate motion by block matching method 26 2.3 H.264 video codec structure 26-28 2.4 Chapter Summary 28-30 Chapter 3 decoding system design 30-34 3.1 functional Overview 30 3.2 overall system architecture 30-31 3.3 system hardware platforms 31-32 3.4 function module analyzes 32-33 3.4.1 raw data storage module 32 3.4.2 video decoding module 32 3.4.3 display module 32-33 3.5 Summary 33-34 Chapter 4 decoding system implementation 34-72 4.1 original video acquisition module 34 4.2 video decoder module 34-70 4.2.1 stream parser 34-44 4.2.2 associated variable decoder 44 -46 4.2.3 CAVLC entropy decoding module 46-54 4.2.4 IQIT decoder 54-57 4.2.5 intra prediction decoding module 57-65 4.2.6 deblocking loop filter 65-66 4.2.7 -chip memory 66-70 4.3 display Module 70 4.4 Summary 70-72 Chapter 5 System test 72-76 5.1 system test results 72-75 5.1.1 to generate test files 72 5.1.2 decoded video performance test consolidated results 72-74 5.1.3 system 74-75 5.2 Chapter Summary 75-76 Chapter 6 Conclusion 76-78 6.1 summary 76 6.2 job prospects 76-78 references 78-82 Thanks published during the 82-84 pursue a degree monographs, patents and awards other items 84

Related dissertations

  1. H.264 Video Encoder Based on FPGA
  2. The Research of H.264Video Decoder Base on FPGA
    JiangLingLing ·Harbin Engineering University ·2012 ·Master's thesis
  3. Study on Algorithms and Implementations Based on H.264 Baseline Profile
    TianYingHong ·Fudan University ·2007 ·Doctoral dissertation
  4. Research on Architecture and Key Algorithm of H.264 Decoder
    ZhouZuo ·Huazhong University of Science and Technology ·2011 ·Doctoral dissertation
  5. Method Research of H.264 FPGA Decoder
  6. Design of Low Bit Rate Software Codec Based on H.264 for Video Conferencing
    YangHaiFeng ·Lanzhou University ·2007 ·Master's thesis
  7. Design of H.264 Video Decoder Based on FPGA
    PeiJianRu ·Chongqing University ·2008 ·Master's thesis
  8. Research and Implementation of H.264 Decoder Based on FPGA
  9. Research on Fast Intra-prediction Mode Decision Algorithm and Rate Control in H.264
    JingJiaLiang ·Wuhan University of Technology ·2009 ·Master's thesis
  10. Research and Optimization on H.264 Video Coding Algorithms Based on DM642
  11. Design and Implementation of H.264 Video Decoding IP Core Based on FPGA
    LiangPan ·Harbin Engineering University ·2010 ·Master's thesis
  12. Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
    XuZuoFang ·Hunan University ·2013 ·Master's thesis
  13. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  14. Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
    LiuWen ·Xiangtan University ·2013 ·Master's thesis
  15. Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
  16. Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
  17. Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
    ZhangZhiQiang ·Tianjin University ·2009 ·Master's thesis
  18. Research of Dual Chanel High Speed Data Acquisition Card
    DanGuangXing ·Harbin Institute of Technology ·2012 ·Master's thesis
  19. Design and Implementation of FPGA-Based Six-Channel Non-Crosstalk Sonar System
    ZuoJiaLin ·Tianjin University ·2012 ·Master's thesis
  20. The Realization of Quality Detection System of Cataplasm Coating Based on FPGA
    LiuRongPeng ·Tianjin University ·2012 ·Master's thesis