Optimization and Implementation of the H.264 Encoder Based on Equator’s BSP-16

Author
QuanLiWei
Advisor
ChenHuiHuang , ShiJiangHong
School
Xiamen University
Major
Circuits and Systems
Classification
TN762 Encoder
Degree
Master's thesis
Year
2007
Downloads
45
Citations
1

Request the full text

Abstract

The newest standard approved by the ITU-T and ISO/IEC organizations is H.264/AVC, it represents a number of advances in video coding technology and becomes the newest international video coding standard because of both high coding efficiency and network friendliness. But the experiment results show that the improved coding efficiency comes with great complexity increase at the encoder. In fact, proper use of the H.264/AVC encode methods lead to roughly the same performances as the complex configuration. So both computational complexity and coding efficiency should be thought and made to the optimal trade-off in the implementation of actual coding system.In this paper, we present the design of H.264 encoder, based on the open source codec X264 ( one of the most successful H.264 encoders on the PC platform ) and BSP-16 development platform -- Babelfish II development board and iMMediaTools SDT. In order to reduce the complexity of the encoder, the fast algorithms are developed to replace the old one and the multimedia instruction set are used to optimize the basic modules. This dissertation is based on the above methods, and major works are as follows.Because in the X264, the full search algorithm is used to choose the best intra prediction mode. However it is very computationally expensive. To reduce the complexity of the intra prediction of the encoder, one fast intra-prediction mode selection algorithm for luma 16*16 block and one for luma 4*4 block are proposed. The fast algorithm for luma 16*16 block is using the macroblock properties to fast determine the best mode. And the algorithm for luma 4*4 block is using the modes with similar neighborhood direction have similar costs to fast determine.To further optimize the performance of the encoder, the multimedia intruction set of BSP-16 is used. Based on the analyse of the encoder, the relatively time-consuming modules such as motion estimate, motion compensation, integer transform, quantization and sub-pel interpolation are optimized through the FIRtree multimedia instruction set of BSP-16, which further improve the encoding rate.The experiment results show that after optimizing H.264 encoder at algorithm and instruction level, the computationally intensive modules in H.264 encoder was further optimized, and the encoder was significantly speeded up. And finally the optimized encoder can realize the real-time encoding (for CIF sequences) on the Babelfish II platform.

Table of contents

Abstract 4-6 Abstract 6-12 Chapter 1 Introduction 12-17 1.1 Introduction 12 1.2 H.264/AVC video compression standard advantages 12-14 1.3 DSP-based video coding system platform advantage 14-15 1.4 research significance and thesis work 15-17 Chapter 2 advanced video coding standard H.264/AVC 17-23 2.1 H.264/AVC technical highlights its application 17-21 2.1.1 H.264 video encoder structure 17 2.1.2 H.264/AVC advanced coding algorithm 17-19 2.1.3 H.264/AVC error correction and network adaptability 19-20 2.1.4 H.264/AVC range of applications 20-21 2.2 H.264 encoder development status 21-22 2.3 Chapter Summary 22-23 Chapter 3 BSP-16 processor and its hardware and software development platform 23-43 3.1 modern DSP processor 23 3.2 Equator BSP-16 processor 23-36 3.2.1 System Diagram 25 3.2.2 BSP-16 chip features 25-27 3.2.3 BSP-16 processor cores VLIW core 27-29 3.2.4 Vlx coprocessor 29-31 3.2.5 DS DMA controller 31-33 3.2.6 coprocessor VF video filtering and display refresh controller DRC 33-34 3.2.7 Other modules or interface 34-36 3.3 Babelfish II development platform 36-38 3.4 iMMediaTool development toolset 38-41 3.5 Summary 41-43 Chapter 4 encoder DSP transplantation and algorithm optimization 43-68 4.1 H.264 open source encoding software 43-45 4.2 H.264 encoder transplant 45 4.3 H.264 encoder code-level optimization 45-49 4.4 H.264 encoder algorithm -level optimization 49-67 4.4.1 H.264 intra prediction 49-52 4.4.2 fast intra prediction mode selection algorithm 52-61 4.4.3 Test Results 61-67 4.5 Chapter Summary 67-68 Chapter 5 FIRtree media is essentially based on the extended instruction set optimized C 68-95 5.1 SIMD instruction set and its algorithm optimization Research 68-70 5.2 FIRtree media essentially C extended instruction set 70-77 5.3 module based FIRtree instruction set optimized 77-92 5.3.1 H.264 encoder is time-consuming analysis 77-79 5.3.2 Motion Estimation instruction set optimized 79-83 5.3.3 motion compensation instruction set optimized 83-86 5.3.4 DCT transform instruction set optimized 86-89 5.3.5 quantify instruction set optimized 89-91 5.3.6 intra prediction instruction set optimized 91-92 5.4 Test results 92-93 5.5 Chapter Summary 93-95 Conclusion 95-97 References 97-100 Thanks 100-101 papers published during the study for a degree and participate in the project 101-102 Appendix 102

Related dissertations

  1. The Development of Source Coder Used in Optical Communication
  2. Video Surveillance System Based on Embedded Technology Research
  3. Vehicle Wireless Video Monitoring System Based on Improved H.264Motion Estimation Algorithm
  4. The Research on High-precision Electromagnets Ingredients Traveling Crane Control System
    LiuJingDong ·Hunan University ·2013 ·Master's thesis
  5. The software design of intelligent control Home Furnishing gateway based on ARM11
    ZuoPengZuo ·Northwestern University ·2013 ·Master's thesis
  6. The Study of Encoder Shafting Geometric Tolerance Adjusting Platform
  7. Research on Moving Object Segmentation and Extraction in the H.264Compressed Domain
    KongXiangPeng ·Harbin Engineering University ·2013 ·Master's thesis
  8. The Design of Vehicle Detection System
    DongGaoPeng ·Wuhan University of Technology ·2013 ·Master's thesis
  9. 2D to3D Conversion Method for3DTV Application
  10. Design of Embedded Video Surveillance System Based on DaVinci Technology
  11. Design and Implementation of Mobile Video Surveillance System Based on Intelligent Terminal
    ZhangSha ·Wuhan University of Technology ·2013 ·Master's thesis
  12. Design of IP Camera Based on DM365DSP Platform
    XuLan ·Tianjin University ·2012 ·Master's thesis
  13. Design of Remote Mobile Video Monitoring System
  14. Research and Implementation of Intelligent Video Surveillance System Based on RTSP
    LongZhou ·Central South University ·2013 ·Master's thesis
  15. Design of Wireless Video Monitoring System of Water Supply Well Based on FPGA
  16. Remote Video Monitoring System Based on RTP and H.264Technology
  17. The Data Flow Transmission Research of Real-time H.264Video Monitoring System Based on RTP
  18. Research on Embedded Network Video Monitoring System Based on the ARM
  19. The Research of Intelligent Mobile Phone Video Surveillance System Based on3G Network
    LiuShuangLin ·Ningxia University ·2014 ·Master's thesis
  20. Video Compression Techniques Based on H.264and Its Application in the Video Monitoring System
    XuYao ·Anhui University ·2014 ·Master's thesis