Research on entropy coding of H.264 video coding standard

Author
LiangLinRong
Advisor
RenJunYan , ZhouZuo
School
Fudan University
Major
IC Engineering
Classification
TN919.81 Image coding
Degree
Master's thesis
Year
2012
Downloads
86
Citations
0

Request the full text

Abstract

H.264is a source encode standard which offers excellent video compression efficiency and good net affinity. It can be used in many areas such as digital TV, video phone, video meeting, Internet video transmission and so on. The key technologies in H.264include intra prediction, inter prediction, data transform and quantization, entropy encode. Entropy encode is design to transform quantized blocks to bit streams. There are two entropy encode algorithms:Context-Based Adaptive Variable Length Coding (CAVLC) and Context-Based Adaptive Binary Arithmetic Coding (CABAC). CAVLC algorithm is design to encode residual blocks by using some LUTs based on context information, which has a high encode speed. The main features of CABAC algorithm are binary arithmetic coding and the adaptive update of probability state. These features lead to a high improvement of compression efficiency, but also the improvement of encode time.To CAVLC, this thesis presents a hardware framework which can bring a high encode speed and need less hardware resource:Design5parallel encode modules which can encode the5syntax elements at same time; Use arithmetic circuits instead of LUTs which can reduce the use of hardware resource; Design a six-staged pipeline structure to improve the speed of encoder.To CABAC, this thesis focuses on the improvement of binary arithmetic encode module structure:Use LUTs instead of binary floating point multiplier; To the choice of probability state, this thesis simplifies the probability-state-index calculation process; Design a three-staged pipeline structure to improve the speed of binary arithmetic encode module.In this thesis, Verilog HDL is used to write RTL code of the above hardware structures, ModelSim is used to simulate the function of modules and Design Compiler of Synopsys is used to compile the design based on TSMC0.13μm.The result of simulation and compile shows that the modules reach the goal:the max speed of CAVLC encoder is200MHz and the max speed of binary arithmetic encode module is500MHz.

Table of contents

Summary 5-6 Abstract 6-7 Chapter 1 Introduction 7-9 basis and significance 1.1 topics 7-8 1.2 domestic literature review 8 1.3 dissertation chapters arranged 8-9 Chapter II H.264 standard 9 - 15 2.1 H.264 standard-setting background 9 2.2 H.264 codec Overview 9-11 2.2.1 forward path 11 2.2.2 reconstruct the path 11 2.3 H.264 standard key technology 11-15 2.3.1 Glossary 11 - 12 2.3.2 intra prediction 12-13 2.3.3 inter prediction 13 2.3.4 transform and quantization 13-14 2.3.5 entropy coding 14-15 Chapter III of information theory and entropy coding 15-37 3.1 Information Theory 15 3.2 entropy 3.2.1 thermodynamics and statistical physics entropy 15-17 15-16 3.2.2 entropy 16-17 3.3 data compression 17-23 3.3.1 Huffman coding 18-20 3.3.2 Fenno coding 20-22 3.3. 3 arithmetic coding 22-23 3.4 CAVLC principle 23-27 3.4.1 zig-zag scanning 23-24 3.4.2 CAVLC encoding process of 24-27 3.5 CABAC principle generate 27-36 3.5.1 residual data block syntax elements 27-28 <br / > 3.5.2 CABAC encoding process of 28-36 3.6 CAVLC and CABAC comparison 36-37 Chapter entropy encoder hardware design 37-53 4.1 CAVLC entropy encoder design 37-46 overall structure 4.1.1 CAVLC encoder 37-39 4.1.2 scanning module 39 4.1.3 Statistics Module 39-41 4.1.4 coding module 41-44 4.1.5 codeword stitching and code length calculation module 44 4.1.6 CAVLC encoder simulation results combined results 44-46 4.1.7 CAVLC encoder 46 4.2 CABAC entropy encoder research 46-53 4.2.1 binary module 47-48 select 4.2.2 probabilistic model 48 4.2. 3 arithmetic coding 48-49 4.2.4 probability status updates 49-50 4.2.5 bypass coding mode 50 4.2.6 arithmetic coding module simulation 50-52 4.2.7 arithmetic coding module combined result 52-53 Chapter V Conclusion and outlook 53-55 5.1 Conclusion 53 5.2 Prospects 53-55 References 55-57 Thanks 57-58 <br / > Appendix 1 coeff_token code table 58-60 Appendix 2 level_prefix code table 60-61 Appendix 3 TotalZeros code table 61-62 Appendix 4 run_before code table 62-63 Appendix 5 LPS coding interval length code table 63-65

Related dissertations

  1. Optimization and Implementation of Entropy Coding and Loopfilter Algorithm in H.264
  2. H.264 entropy coding research and its applications in remote sensing image compression
  3. Research and Design of H.264 entropy coding based on FPGA
  4. H.264-based transform coding and entropy coding
  5. Reduce the computational complexity of H.264 encoder
    ZhangJin ·Shandong University ·2006 ·Master's thesis
  6. Research of Entropy Coding in H.264 Decoder
    GongJianFeng ·Zhejiang University ·2006 ·Master's thesis
  7. Entropy coding based on H.264 video encryption technology research
    HuYouQing ·Southwest Jiaotong University ·2008 ·Master's thesis
  8. Research on VLSI Design of Entropy Encoding in H.264
  9. Design and Implementation of H.264Decoding Algorithm Based on FPGA
    ChenYong ·Northeastern University ·2013 ·Master's thesis
  10. Design and Implementation of H.264Encoding System Based on FPGA
    RongChaoQun ·Northeastern University ·2013 ·Master's thesis
  11. The Research and Application of CAVLC Improvement Algorithm Based on H.264
  12. H.264 Video Encoder Based on FPGA
  13. The Optimization and Application of Mutiview Stereoscopic Video Decoding Algrithm
    HanJingJing ·Tianjin University ·2012 ·Master's thesis
  14. The architecture and design of CAVLC decoder
    DingDongGuo ·Northwestern University ·2012 ·Master's thesis
  15. The Video Encryption Scheme Based on Perceptual Encryption Algorithm in H.264Standards
  16. A Reconfiguration Design and Implementation of H.264/AVC CAVLC Entropy Coding with FPGA
  17. VLSI Structure Design of CAVLC Encoder in H.264
  18. Research on H.264Encoder and FPGA Implementation for Part of the Algorithm
  19. A CABAC Encoder Design of H.264/AVC
  20. The improved algorithm based on motion vector difference of CABAC in H.264
    JinJing ·Jiangxi University of Technology ·2012 ·Master's thesis