Optimization and Implementation of H.264 Decoder on DSP and Smartphone Platforms

Author
DongPei
Advisor
ShenLanZuo
School
Beijing University of Technology
Major
Signal and Information Processing
Classification
TN929.53 Cellular mobile communications systems (mobile phones, mobile phone handsets )
Degree
Master's thesis
Year
2008
Downloads
317
Citations
0

Request the full text

Abstract

H.264 is the next-generation video coding standard jointly launched the International Telecommunication Union and the International Organization for Standardization. The standard uses advanced encoding technology, has excellent compression performance, and easy-to-network transmission, and can meet the needs of a variety of video applications. Therefore, H.264 has a good prospect in the field of video communications, streaming media and digital broadcasting. However, the H.264 coding efficiency is computing complexity increases the cost of the The H.264 codec optimization implementation on various platforms has become a hot issue of today's research in the field and industry. In recent years, rapid development, DSP technology, high-performance digital signal processing chip provides the ideal platform for highly complex multimedia applications. TI's DM642 is a high-performance fixed-point DSP for digital media applications. BREW and Symbian OS today is widely used smartphone platform, and platform-based mobile streaming service is booming. H.264 baseline profile decoder is the main object of study, research conducted optimized DSP and smartphone platforms. Taking into account the decoder should have a good stream compatibility JM73 full-featured open source decoder as optimization object. On the PC platform based on the analysis of the JM73 decoder computational complexity, its program structure, data structure and algorithm optimization. Optimized decoding speed has been significantly improved, and laid a good foundation for optimization on a DSP platform and smartphone platform. DSP platform, through a variety of means, from program memory, data memory, as well as the use of assembly language decoder optimized, so that the the decoder execution speed increased dramatically. Experimental results show that the optimized decoder H.264 compression CIF (352 × 288) and D1 (720 × 576) format stream real-time decoding. In addition, the flexibility in the use of the mechanisms provided by the DSP / BIOS real-time operating system, design a real-time network video transmission system based on H.264 decoder. The successful implementation of the the receiving H.264 network data, real-time decoding and display system in the DSP / BIOS multitasking kernel function. H.264 decoder core client terminal can provide good video decoding end can work in conjunction with H.264 video server. Next, this paper, based on the BREW platform and Symbian OS H.264 decoder. For the Wireless Network error rate, BER often caused interruptions in playback problems, this paper designed a H.264 decoder side error handling mechanism, greatly improve the stability of the decoding applications. In addition, in order to meet the requirements of mobile streaming media formats, depending on the program source audio format conversion research, development of application, able to provide a variety of services such as video-on-demand program content. BREW platform for mobile streaming solution has been on trial in China Unicom's CDMA2000 1X network, the decoding end support the BREW digital mobile terminal to provide users with smooth video-on-demand service.

Table of contents

Abstract 3-5 Abstract 5-11 Chapter 1 Introduction 11-16 1.1 of the subject research background and significance 11-12 1.2 Research 12-13 1.3 of this thesis research 13-14 1.3.1 DSP platform 13-14 1.3.2 smartphone platform 14 1.4 paper structure arrangements 14-16 Chapter 2, H.264 video codec standard 16-32 2.1 H.264 baseline profile decoder framework 16-17 2.2 H.264 basic grade key technology 17-31 2.2.1 intra prediction 17-19 2.2.2 inter prediction 19-23 2.2.3 transform and quantization 23-25 2.2.4 entropy coding 25-29 2.2.5 deblocking filter 29-31 2.3 This chapter Summary 31-32 Chapter 3 TI DM642 platform 32-40 3.1 DSP Platform Overview 32-33 3.2 DM642 hardware characteristics 33-38 3.2.1 CPU data path 34-36 3.2.2 assembler instruction set 36 3.2.3 pipeline 36-38 3.2.4 memory 38 3.3 DM642 platform software development 38-39 3.3.1 integrated development environment 39 3.3.2 software development process 39 3.4 This chapter Summary 39-40 Chapter 4, BREW and Symbian smartphone development platform 40-48 4.1 smart phone platform 40-41 4.2 BREW development platform 41-44 4.2.1 BREW development environment introduced 42 4.2.2 BREW platform basic technology 42-44 4.3 Symbian development platform 44-47 4.3.1 Symbian development environment introduced 44-45 4.3.2 the Symbian OS C use 45-47 4.4 This chapter Summary 47-48 Chapter 5 H.264 decoder optimization on the PC platform 48-61 5.1 open source code analysis and selection 48-49 5.2 H.264 decoder complexity analysis 49 5.3 program structure optimization 49-51 5.3.1 thin source code 50 5.3.2 full advantage of decoding context information 50 5.3.3 function pointer 50-51 5.4 data structure optimization 51-53 5.4.1 rational planning structure 52 5.4.2 by the most direct memory access 52-53 5.4.3 reasonable variable type 53 5.5 algorithm optimization 53-57 the 5.5.1 reference frame management 53-55 5.5.2 entropy decoding 55-56 5.5.3 edge extension 56-57 5.6 Experimental comparison 57-60 5.7 This chapter Summary 60-61 Chapter 6 H.264 decoder on DSP platform optimization and 61-83 6.1 DM642 memory structure and characteristics 61-65 6.1.1 Overall structure 61-63 6.1.2 cache 63-64 6.1.3 DM642 two cache 64-65 6.2 program memory optimization 65-66 6.3 data memory optimization 66-72 6.3.1 EDMA works 67-70 6.3.2 EDMA configuration program 70-72 6.4 assembly language optimization 72-77 6.4.1 DM642 enhanced kernel structure 73-74 6.4.2 assembly instruction 74 6.4.3 software pipelining 74-75 6.4.4 Linear compilation optimization 75-77 6.5 integrated development environment set 77 6.6 Other measures 77-78 6.6.1 change modulo and division operations implemented 77-78 6.6.2 parser function module implementation 78 6.7 DSP platform optimization results compared 78-82 6.8 This chapter Summary 82-83 Chapter 7 H.264 decoder implementation BREW and Symbian smartphone platform 83-96 7.1 H.264 decoder implementations on the BREW platform 83-89 7.1.1 the BREW platform decoding process 83-84 7.1.2 code transplant 84-86 7.1.3 ARM compiler 86 7.1.4 decoder error resilience mechanisms 86-88 7.1.5 Experimental results 88-89 7.2 H.264 decoder implemented on the Symbian platform 89-93 7.2.1 code transplant 89-90 the 7.2.2 H.264 Parameters information of check 90-91 7.2.3 error resilience mechanisms and testing 91-92 7.2.4 Experimental results 92-93 7.3 audio program source production 93-95 a 7.3.1 video format conversion and encoding 94-95 7.3.2 audio format conversion and encoding 95 7.4 Chapter Summary 95-96 Chapter 8, based on the the H.264 standard network real-time video transmission system to achieve 96-111 8.1 network real-time video transmission system overall framework 96-97 8.2 TCP / IP architecture and protocol 97-99 8.2.1 TCP / IP architecture 97-98 8.2.2 IP protocol with TCP protocol 98-99 8.3 DSP / BIOS real-time operating system 99-105 real-time operating system 8.3.1 99-100 8.3.2 DSP / BIOS features and advantages 100-101 The main components of the 8.3.3 DSP / BIOS 101-103 8.3.4 DSP / BIOS multithreading 103-105 8.4 design system based on the DSP / BIOS multitasking 105-108 8.4.1 Network Module 106 8.4.2 decoding module 106-107 8.4.3 display module 107-108 8.5 network real-time video transmission system demonstration effect 108-109 8.6 This chapter Summary 109-111 the conclusions and Prospects 111-113 the References 113-117 studying for a master's degree during the published papers 117-118 during the master's degree research projects, participate in academic activities and obtained reward 118-119 Acknowledgements 119

Related dissertations

  1. Research and implementation of technology of infrared monitoring based on DSP
  2. H.264 Encoder Optimization Based on TMS320DM642
  3. Optimization and Implementation of H.264Decoder on ARM Platform
    CaoLiLi ·Shanghai Jiaotong University ·2010 ·Master's thesis
  4. Optimization and Implementation of H.264Decoder
  5. Research and design of streaming media H.264 decoder based on Android platform
  6. Optimization research in intelligent mobile phone on the H.264 real time video decoder
  7. The Research and Implementation of H.264Video Decoder Based on Android
    LiFen ·Zhejiang Sci-Tech University ·2013 ·Master's thesis
  8. Research and Implemenation of MPEG-4 Decoding and JPEG Encoding Based on DSP
    ZhouYang ·Tianjin University ·2006 ·Master's thesis
  9. Codecs for MPEG-4 -based PC and DSP design and
    LiangWeiWei ·Xi'an Optics and Fine Mechanics ·2009 ·Master's thesis
  10. Video Surveillance System Based on Embedded Technology Research
  11. Vehicle Wireless Video Monitoring System Based on Improved H.264Motion Estimation Algorithm
  12. Design and Implementation of a System for Rats Behaviour Analysis Based on DM642
    LeiJunJie ·Tsinghua University ·2012 ·Master's thesis
  13. Research on Data Capture and Processing Method of Optics Interferogram
  14. The software design of intelligent control Home Furnishing gateway based on ARM11
    ZuoPengZuo ·Northwestern University ·2013 ·Master's thesis
  15. Intelligent AGV Control System of Visual Navigation and Applicationon
  16. Development of LXI Universal Board Based on TMS320DM642
    SongShengJin ·Harbin Institute of Technology ·2012 ·Master's thesis
  17. Translation Knowledge Acquisition in Corpus-based Machine Translation
    YinLe ·Beijing Jiaotong University ·2014 ·Master's thesis
  18. Research on Moving Object Segmentation and Extraction in the H.264Compressed Domain
    KongXiangPeng ·Harbin Engineering University ·2013 ·Master's thesis
  19. The Design of Vehicle Detection System
    DongGaoPeng ·Wuhan University of Technology ·2013 ·Master's thesis
  20. Research on the De-noising Algorithm of Underwater Image Based on Wavelet
    CaoZhan ·Central South University ·2013 ·Master's thesis