Design of Entropy Coding and Deblocking Filter in H.264 Based on FPGA

Author
YangChao
Advisor
ZhangLing
School
Chongqing University
Major
Signal and Information Processing
Classification
TN919.81 Image coding
Degree
Master's thesis
Year
2009
Downloads
201
Citations
0

Request the full text

Abstract

H.264 is the newest generation video compression encoding standard developed jointly by ITU-T Video Coding Expert Group (VCEG) and ISO/IEC Moving Pictures Expert Group (MPEG) Joint Video Team (JVT). The new standard introduces some advanced video encoding technology, including multi-mode inter estimation, 1/4 fractional pixel motion estimation, entropy coding based on the context, integer DCT transform, deblocking filter, etc, which has the merits of high compression ratio, network friendliness and so on. It can afford the satisfying performance for gaining high quality video in low-code rate transmission, and it has been widely used in many aspects of video development.Along with the development of EDA technology and the accelerative growth of high-performance scale programmable logic device, SOPC technology combining with advantages of SOC, PLD and FPGA has been widely used in many fields of embedded development. Based on deeply studying H.264 encoding and decoding algorithm, the paper has performed the design for H.264 video encoding and decoding system by using DE2 development board developed by Altera Corporation. FPGA implementation of CAVLC entropy encoder, inverse quantization inverse transformation and deblocking filter is emphatically studied in the paper. The paper mainly includes the following several aspects:1) CAVLC performs coding data compression on the basis of distribution characteristic of residual being processed by transform&quantization and reduces redundant information further. Compared with CABAC, its complexity is low and has a relatively low impact on encoding time. Through the analysis of CAVLC encoding algorithm, the paper summarizes CAVLC encoding flow, and then has completed hardware circuit design of CAVLC entropy encoder. It significantly improves encoding efficiency via three-stage pipeline operation.Simulation and FPGA verification has been done for the whole CAVLC entropy encoder. The verification result shows that the encoding system clock can reach more than 100MHZ. 2) According to algorithm flow and implementation structure of IQIT, hardware circuit design of inverse quantization of residual coefficient, inverse integer DCT transformation and inverse Hadamard and inverse quantization of DCT transform coefficients’s direct coefficients.on this basis, hardware circuit design of IQIT module for mb residual outputed by CAVLC entropy decoding, and simunlation has been done for it’s entirety.3) Through the analysis of deblocking filter algorithm, hardware implemented architecture of deblocking filter is proposed for H.264/AVC. It increases deblocking filtering processing speed by using five-stage pipeline design and improves filtering order to meet the need of pipeline processing. Three-layer state machine is adopted to control filtering process in the filter, and it effectively decreases the complexity of hardware design. Through properly increasing the usage of the internal SRAM, it improves system processing speed and data throughput.Simulation and FPGA verification have been done for the whole deblocking filter. The verification results shows that it can meet 25 frame/s real-time filtering for CIF size image.In brief, the due design goal has been achieved in the paper, and it can provide definite reference for application development of H.264.

Table of contents

Summary 3-4 ABSTRACT 4-8 1 Introduction 8-13 1.1 research background 8-9 <br / > 1.2 research status subject 9-11 development 1.2.1 H.264 video coding technology 9-10 1.2.2 embedded SOPC technology development purpose and significance of 10-11 1.3 topics main content 11 1.4 papers and chapters arrangements 11-13 2 H. 264 video codec system solutions and related technology research 13-23 2.1 H.264 video coding standard introduces 13-16 2.1.1 H.264 codec 's structure 13-14 2.1.2 H.264 key technology 14-16 2.2 FPGA -based programmable system chip SOPC introduced 16-18 2.2.1 SOPC technology Overview 16-17 2.2.2 SOPC design flow 17-18 2.3 H.264 video codec system solutions 18-22 2.3.1 H.264 coding system based on SOPC solutions 18-21 2.3.2 H.264 decoding system based on SOPC solutions 21-22 2.4 Summary 22-23 3 entropy encoder design 23-48 3.1 CAVLC entropy encoder design 23-40 <br / > 3.1.1 CAVLC principle analysis 23-24 3.1.2 CAVLC coding process 24-28 3.1.3 CAVLC entropy encoder hardware design 28 -38 3.1.4 CAVLC entropy encoder simulation FPGA verification 38-39 3.1.5 CAVLC entropy encoder 39-40 3.2 CABAC entropy encoder design 40-45 3.2.1 arithmetic coding theory 40-41 3.2.2 CABAC main features 41 3.2.3 CABAC entropy coding process 41-42 3.2.4 CABAC entropy encoder hardware design 42-45 3.3 CAVLC and CABAC performance comparison and analysis of 45 -47 3.4 Summary 47-48 4 inverse quantization inverse transform module design 48-61 4.1 inverse quantization principle of inverse transform analysis 48-52 4.2 inverse quantization inverse transform algorithm flow 52-53 4.3 inverse quantization inverse transform module hardware design 53-58 4.3.1 residues poor coefficient inverse quantization 54-55 4.3.2 inverse integer DCT transform 55-57 anti- Hadamard transform and inverse quantization 4.3.3 DCT transform coefficients in the DC coefficient 57-58 4.4 inverse quantization inverse transform module simulation 58-60 4.5 Summary 60-61 5 deblocking filter design principle 61-91 5.1 deblocking filtering 61-62 5.2 deblocking filtering algorithm analysis 62-69 5.3 to box hardware design filter overall structure 69-85 5.3.1 deblocking filter 69-70 5.3.2 control unit state machine design 70-73 5.3.3 filtering order to improve judgment 73-74 5.3.4 boundary filtering strength 74-78 5.3.5 one-dimensional FIR filter pipeline design 78-82 5.3.6 transpose register set 82-85 5.4 deblocking filter simulation analysis 85-86 < br /> 5.5 deblocking filter FPGA verification 86-90 5.5.1 FPGA verification platform 86-89 5.5.2 verify the results and analysis 89-90 5.6 summary 90-91 6 summary and Outlook 91-93 Thanks 93-94 References 94-97 Appendix published during the author 's master's degree thesis catalog 97

Related dissertations

  1. Design and Implementation of H.264Encoding System Based on FPGA
    RongChaoQun ·Northeastern University ·2013 ·Master's thesis
  2. The Research and Application of CAVLC Improvement Algorithm Based on H.264
  3. Vlsi Design of Inverse Transform Inverse Quantization and Deblocking Filter in the H.264Decoder
    LiuCaiHui ·Harbin Institute of Technology ·2012 ·Master's thesis
  4. H.264 Video Encoder Based on FPGA
  5. The architecture and design of CAVLC decoder
    DingDongGuo ·Northwestern University ·2012 ·Master's thesis
  6. The Research of Procedure-level Dynamic Reconfigurable Computing Technology for High Definition Television’s Application
    TanLiMin ·Hunan University ·2011 ·Master's thesis
  7. Design and Optimization of H.264Deblocking Filter Based on FPGA
  8. VLSI Structure Design of CAVLC Encoder in H.264
  9. Hardware Design of Intra Prediction and Deblocking Filter in H.264/AVC Video Decoder
    SongJian ·Shandong University ·2012 ·Master's thesis
  10. Research and design of streaming media H.264 decoder based on Android platform
  11. Research on H.264Encoder and FPGA Implementation for Part of the Algorithm
  12. Hardware Design of Entropy Decoding and IQIT in H.264/AVC Video Decoder
    QinPan ·Shandong University ·2012 ·Master's thesis
  13. Hardware Design of Dual-mode Entropy Decoder in AVS and H.264
    ZhouXiaoLong ·Shandong University ·2013 ·Master's thesis
  14. Study on Algorithms and Implementations Based on H.264 Baseline Profile
    TianYingHong ·Fudan University ·2007 ·Doctoral dissertation
  15. Method Research of H.264 FPGA Decoder
  16. Video Surveillance System Based on Embedded Technology Research
  17. Vehicle Wireless Video Monitoring System Based on Improved H.264Motion Estimation Algorithm
  18. Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
  19. The Design and Implementation of Multi-Channel Data Acquisition System Based on the SOPC Technology
    ZhangHui ·Lanzhou University ·2013 ·Master's thesis
  20. The software design of intelligent control Home Furnishing gateway based on ARM11
    ZuoPengZuo ·Northwestern University ·2013 ·Master's thesis