Research and Implementati of the H.264 Video Encoder Base on ADSP-BF561 Processor

Author
ZhouXiaoJin
Advisor
JinZuoDong
School
Southwest Jiaotong University
Major
Electrical system control and IT
Classification
TN919.81 Image coding
Degree
Master's thesis
Year
2009
Downloads
17
Citations
0

Request the full text

Abstract

H.264/AVC is the ITU-T VCEG and ISO / IEC MPEG , developed jointly by the latest international video coding standard , which uses and development in recent years, advanced technology in the field of video encoding , high coding efficiency and network - friendly with said . H.264 is still based on the motion-compensated hybrid coding scheme , the main difference is that with the conventional video coding standard : Enhanced motion prediction capability ; accurately match the smaller block transformations ; adaptive loop filter; enhance the entropy coding . Test results show that these new features make the coding efficiency improved by about 50% than the conventional standard , but the complexity of the encoder is also increased . In order to achieve the high performance of the encoding target , a large number of highly complex algorithms used in H.264 using the new encoding techniques , the use of these algorithms directly affect the H.264 encoder in the field of real - time video encoding . This article briefly describes the history and current status of the development of the H.264 standard , followed by a detailed analysis of the research is the core algorithm of the H.264 standard , H.264 coding standard implementations on various embedded platforms combined exposition the ADI Blackfin DSP platform H.264 real-time encoding algorithm advantage . Then the X264 open source coding model of in-depth research , the main function of the model relationship , the core module of the implementation process , a clear display of the main flow of X264 coding model algorithm , and the computational complexity of the test analysis part of the algorithm module focus on optimizing object . In the implementation of part of the encoder , the paper describes the development environment of the ADSP-BF561 processor and encoder . And then focuses on the process of transplantation of the encoder , the analysis given unoptimized encoder part of the run-time module . Blackfin DSP implementation and optimization of the encoder , BF561 development principles and DSP code optimization . In this paper, the system-level optimization , instructions and code optimization means to optimize and make full use of the DSP 's powerful data processing capability and rich media processing instructions . Experimental results show that this paper optimization strategy to improve the the X264 video encoder real-time performance , and give full play to the strong performance of the ADSP-BF561 processor , eventually can reach 15fps QCIF format video sequences encoding speed to achieve a better coding effect.

Table of contents

Abstract 6-7 Abstract 7-12 Chapter 1 Introduction 12-16 1.1 Introduction 12-13 1.2 Background and topics 13-14 1.3 The main work and papers organizational structure 14-16 Chapter 2 H.264 video coding standard core technology 16-32 2.1 H.264 video coding standard development history 16-17 2.2 H.264 video coding standard primary goal 17-18 2.3 H.264/AVC codec features 18-19 2.3.1 H.264 encoder 18-19 2.3.2 H.264 decoder 19 2.4 H.264 video coding standard basic points 19-22 2.4.1 H.264/AVC encoding grade division 19-20 2.4.2 H.264 standard video formats supported 20 2.4.3 tablets and tablet group 20-21 2.4.4 H.264 standard stream structure 21-22 2.5 H.264 coding standard core coding technology 22-31 2.5.1 intra prediction coding 22-24 2.5.2 interframe predictive coding 24-26 2.5.3 H.264 layered design 26-27 2.5.4 integer transform and quantization 27-29 2.5.5 entropy coding 29-30 2.5.6 deblocking filter 30-31 2.6 Chapter Summary 31-32 Chapter 3 ADSP-BF561 hardware platform 32-40 3.1 ADI Blackfin DSP introduction 32 3.2 BF561 chip architecture 32-33 3.3 Processor Overview 33-34 3.4 memory structure 34-35 3.5 commands and pipeline structure 35-36 3.6 Blackfin DSP instruction set 36-37 3.7 ADSP-BF561 development environment 37-39 3.7.1 ADSP-BF561 EZ-KIT LITE Evaluation 37 3.7.2 VisualDSP 4.5 Introduction 37-39 3.7.3 JTAG emulator 39 3.8 Chapter Summary 39-40 Chapter 4 Based on ADSP-BF561's H.264 encoder implementation 40-53 4.1 H.264 encoder DSP realization of ideas 40-41 4.2 open source encoder selection and experimental analysis 41-42 4.3 X264 Encoder Features 42-43 4.4 X264 encoder function call relationship 43-44 4.5 encoder main flow analysis 44 4.6 frame coding process analysis 44-46 4.7 macroblock coding process analysis 46-48 4.8 encoder development process 48 4.9 cropped redundant functions and unrelated debugging information 48-49 4.10 clipping algorithm does not require a branch 49 4.11 porting process should pay attention to the problem 49-50 4.12 encoder unit complex experiments and analyzes 50-52 4.13 Summary 52-53 Chapter 5 Based on Blackfin DSP platform encoder optimization 53-72 5.1 Blackfin cores based on the general principle of optimization 53-54 5.2 overall optimization 54-58 5.2.1 rational use of memory 54-56 5.2.2 DMA technology 56-57 5.2.3 Encoder function selection 57-58 5.2.4 Project-level optimization 58 5.3 code optimization 58-68 5.3.1 C language code optimization 59-63 5.3.2 assembler code optimization 63-67 5.3.3 Functions restructuring 67-68 5.4 Experimental results and analysis 68-71 5.4.1 optimized encoding speed before and after comparison 68-69 5.4.2 before and after optimization module occupies 69 5.4.3 optimize image quality before and after contrast 69-71 5.5 Chapter Summary 71-72 Conclusion and Outlook 72-74 Thanks 74-75 References 75-79 published during the master's degree thesis 79-80

Related dissertations

  1. The Optimization and Implementation of H.264Video Encoder Based on DaVinci
  2. Research on Key Technology for H.264Video Coding
  3. Research and Improvement of Fast Motion Estimation Algorithm in H.264
    XuChen ·Taiyuan University of Technology ·2012 ·Master's thesis
  4. Research on the Key Technologies of H.264 Algorithm Based on DM642
    GuoQinDi ·Tianjin University of Technology ·2012 ·Master's thesis
  5. Texture-Based Adaptive Video Coding
    WuXiaoYang ·Zhejiang University ·2007 ·Master's thesis
  6. Research of Acceleration Algorithms of Motion Estimation Based on H.264
    LiuFeiBo ·Northeastern University ·2010 ·Master's thesis
  7. Research and Implementation of Motion Estimation Based on H.264
    LuPing ·Zhejiang University of Technology ·2012 ·Master's thesis
  8. Optimization and Implementation of H.264Decoder
  9. Research and Improvement of Intra Prediction Algorithm in H.264
    FengFang ·Taiyuan University of Technology ·2013 ·Master's thesis
  10. The Research and Implementation of H.264Crucial Codec Technology Based on Android Platform
    YangQi ·China Jiliang University ·2013 ·Master's thesis
  11. Improvement and Optimization of H.264Inter Prediction and Estimation Based on DSP
  12. Video Encryption Technology Based on H.264Compression Coding Standard
  13. Research on Key Technology and Optimization in Video Coding
  14. Research on Intra Prediction Algorithm in H.264
    YangYanWei ·Taiyuan University of Technology ·2012 ·Master's thesis
  15. Implementation and Optimization of H.264 Encoder on Blackfin (ADSP-BF537) Processor
  16. A Novel Fast Motion Estimation Algorithm for H.264/AVC Based on Embedded System
    QiXiaoLong ·Zhejiang University ·2007 ·Master's thesis
  17. AVS-M Coding Algorithms Optimization and Its Implementation on DSP
    ZhangHuiGuo ·Xiangtan University ·2006 ·Master's thesis
  18. Rapid H.264 video encoding and optimization technology research
    WangZuo ·Northwestern Polytechnical University ·2006 ·Master's thesis
  19. Based on the ADI DSP and MPEG-4 encoding the implementation and optimization
    ZhangYong ·Zhejiang University ·2005 ·Master's thesis
  20. Video Surveillance System Based on Embedded Technology Research