Research and Implement of Real-Time Video Encoder Based on H.264/AVC

Author
XueCaiFeng
Advisor
ChenHuiHuang , ShiJiangHong
School
Xiamen University
Major
Radio Physics
Classification
TN762 Encoder
Degree
Master's thesis
Year
2007
Downloads
129
Citations
1

Request the full text

Abstract

H.264/AVC is the latest international video coding standard. It is developed by a Joint Video Team (JVT) consisting of experts from ITU-T’s Video Coding Experts Group (VCEG) and ISO/IEC’s Moving Picture Experts Group (MPEG). There are many advanced encoding methods given by H.264/AVC. Due to the advanced compression performance and the "network-friendly" nature, H.264/AVC will be adopted over a broad variety of applications such as video telephone, broadcast, mobile streaming, and storage, etc. However, the cost of high compress rate is higher computation. Therefore, reducing computational complexity and improving coding efficiency became very important for real-time video encoder design.This paper mainly studies on the realization of H.264/AVC real-time video encoder on the BabelFishII platform with the core of PWBSP-16 DSP offered by Pixelworks. Through the latest development of video compression, this paper primarily focuses on the structure, character and algorithms principle of H.264/AVC baseline profile. With X264 open source project as the original version, the H.264/AVC video compression coding algorithm is test on PC, primarily research on the longest time-consuming motion estimation in video compression.During the migrating and optimizing process of targeted platform, this paper starts with the analysis on complexity of H.264/AVC algorithms, carries on plenty of tests, uses a series of optimizing methods aiming at the special hardware resources of PWBSP-16 platform: optimizing modules including SAD Calculate, Integer Transform and Quantization in the instruction level by using FIRtree instruction set; optimizing it by improving coding process and enabling co-processor such as VLx、DMA in system level by the thinking of modules parallelism maximizing; putting forward the future optimizing mind in the level of algorithms. Although these optimizing methods are based on PWBSP-16 platform, the thinking way is also suitable for other platform optimization.The results of experiments show that optimizing methods concerning in this paper highly advance the real-time capability of H.264/AVC video encoder, presents the powerful capability of PWBSP-16 DSP. Finally, the real-time video compression coding of H.264/AVC baseline profile is mostly realized, whose coding rate of CIF format sequences could reach around 38fps.

Table of contents

Abstract 4-5 ABSTRACT 5-11 Chapter 1 Introduction 11-17 1.1 video coding based 11-12 1.2 video coding standard Research 12-14 1.3 video coding standard application status 14-15 1.4 Background of this study , the significance and the main content 15-16 1.5 Summary 16-17 Chapter 2 H.264/AVC video coding standard 17-26 2.1 H.264/AVC video coding structure 17-18 2.2 H.264/AVC key module introduces 18-23 2.2.1 Intra Prediction 18-19 2.2.2 interframe prediction 19-20 2.2.3 Integer Transform 20-21 2.2.4 deblocking filter 21-23 2.3 H.264/AVC standard performance and application 23-25 2.3.1 H.264/AVC standard performance 23 2.3.2 H.264/AVC standard application 23-25 2.4 Summary 25-26 Chapter 3 of BabelFishII PWBSP-16 -based development platform 26-42 3.1 PWBSP-16 video processor 26-33 3.1.1 PWBSP-16 architecture 26-27 3.1.2 PWBSP-16 kernel 27-28 3.1.3 VLx coprocessor 28-31 3.1.4 video filter VF coprocessors and display refresh controller DRC 31 3.1.5 DTS data bus and DMA controller 31-33 3.2 BabelFishII STB Evaluation Board Description 33-35 3.2.1 BabelFishII main features 33-34 3.2.2 BabelFishII hardware composition and working principle 34-35 3.3 IMMEDIATOOLS SDK V7.0 development toolset 35-38 3.3.1 VLIW Core The compiler 36-37 3.3.2 VLx The compiler 37 3.3.3 FIRtree media extended C language 37 3.3.4 IMMEDIATOOLS SDK architecture system 37-38 3.4 H.264/AVC video encoder development model 38-41 3.4.1 hardware development platform to build 39-40 3.4.2 software development platform to build 40-41 3.5 Summary 41-42 Chapter 4 H.264/AVC encoder DSP transplant 42-56 4.1 open source project selection 42-43 4.2 motion estimation algorithm 43-52 4.2.1 block-matching criteria 43-44 4.2.2 Search Algorithm Analysis 44-51 4.2.3 Performance Analysis 51-52 4.3 DSP platform portability 52-53 4.4 Complexity Analysis 53-55 4.5 Chapter Summary 55-56 Chapter 5 H.264/AVC encoder optimized to achieve 56-81 5.1 instruction-level optimization 56-67 5.1.1 Common FIRtree instruction 57-61 5.1.2 SAD calculation 61-63 5.1.3 Integer Transform 63-65 5.1.4 Quantitative 65-66 5.1.5 Instruction Set optimization results 66-67 5.2 system-level optimization 67-76 5.2.1 coding process improvement 69-71 5.2.2 VLx coprocessor 71-74 5.2.3 DMA controller 74-75 5.2.4 Other 75-76 5.3 algorithm -level optimization 76-77 5.4 Optimization Analysis 77-80 5.5 Chapter Summary 80-81 Chapter 6 Summary and Outlook 81-83 [ References ] 83-86 Thanks 86-87 papers published during the master's degree and work done 87

Related dissertations

  1. Research on the Optimization of the System of Urban-rural Integrated Residents Social Pension Insurance of Laiwu City
    HaoXiaoJuan ·Shandong Agricultural University ·2013 ·Master's thesis
  2. Optimization Study of a Insurance Company Ningxia Branch’s Business Structure
    SunZuo ·Ningxia University ·2014 ·Master's thesis
  3. The Optimization of Fund Contract in the Perspective of Governance Structure
    YaoZhuangLong ·Central South University ·2013 ·Master's thesis
  4. The Personal Loans Centre Process Optimization Study of Ccb Shaanxi Branch
    LiuMing ·Northwestern University ·2012 ·Master's thesis
  5. Research on Optimization of commercial bank loans business processes Chinese micro enterprise
    ZhouXiaoDan ·Inner Mongolia University ·2013 ·Master's thesis
  6. Optimization of Commercial Bank Credit Rating Index System for SMEs
  7. An Optimization Study on Proscenium Support Facilities of Commercial Banks on Queuing Theory
    ChenMei ·Harbin Institute of Technology ·2012 ·Master's thesis
  8. The Credit Process Optimization of A Bank
    WangHe ·Liaoning University ·2012 ·Master's thesis
  9. The branches of commercial banks, credit risk management process - a case study of A bank D branch cases
    JinYanXin ·Yunnan University of Finance ·2013 ·Master's thesis
  10. The Research of Mode of Corporate Governance of China’s Trust Industry Defect and Optimization
    HuZuo ·East China Normal University ·2013 ·Master's thesis
  11. Under the New Situation of the International Monetary System Unbalance Influence on China’s Foreign Exchange Reserves and Its Optimization
    LinLeTing ·Dongbei University of Finance ·2013 ·Master's thesis
  12. The Study on Constructing Harmony in Urban Communities
    ZhaoZuoZuo ·Yanshan University ·2012 ·Master's thesis
  13. An Investigation of the Management System of Yancheng Local Tax Inspection
    YanXueJun ·Suzhou University ·2012 ·Master's thesis
  14. Based on the Subjective Well-being to Optimize the China’s Rural Public Expenditure
  15. Research on China’s Tax Cost and Optimization
  16. Analysis on Tax Scale Optimization of Liaoning Province
    LuZuoZuo ·Shenyang University ·2013 ·Master's thesis
  17. Study on the optimization of tax system of China's current stock market
    WangBing ·Capital University of Economics ·2014 ·Master's thesis
  18. The Optimal Decision of Slotting Fee and Percentage of Revenue under the Consignment Model
  19. Developing Strategy for Service Industry of the Nankai District Tianjin
    MaoZuoJin ·Tianjin University ·2012 ·Master's thesis
  20. Fuzhou Mail Processing Center Optimization Research
    ZhuangYouLin ·Xiamen University ·2013 ·Master's thesis