The Research and Implementation of H.264Video Decoder Based on Android

Author
LiFen
Advisor
BaoXiaoMin
School
Zhejiang Sci-Tech University
Major
Electronics and Communication Engineering
Classification
TN919.81 Image coding
Degree
Master's thesis
Year
2013
Downloads
5
Citations
0

Request the full text

Abstract

With the rapid development of mobile communication technology and multimedia technology, Mobile video service such as mobile video game, mobile video surveillance, mobile TV has developed rapidly, which makes the media streaming service become possible. Therefore, the Smartphone has become the mainstream in today’s mobile phone industry and it has a bright future and potential commercial value. Due to the characteristics of the mobile phones with limited resources, how to achieve H.264video decoder is of great significance.As the most advanced H.264video compression standard, with good quality performance in compression efficiency, data flow and fault tolerance. However, the improvement of H.264’s decoding efficiency is at the cost of the increase of computation complexity. Thus, how to optimize the H.264decoder in the Android system to guarantee smooth playback of the H_.64video is becoming an exact topic. The contents and results of the research are presented as following:1. After studying the decoding principles of H.264video compression standard, the paper analyzes some key technologies in H.264decoding such as inter-frame prediction, intra-frame predicdion, integer changes and quantitative and the effect of deblocking filter. The paper also optimizes the judgment method of the interpolation process in inter-frame prediction and pixels of crossing the line to provide the theoretical foundation for realizing H.264decoding.2. Pose the improved Of CAVLC decoding algorithm,as the length of the code word of CAVLC(Based on the context of the adaptive variable length coding)is not fixed,which has a great impact on decoding speed,it becomes a main reason for the limitation of their widespread.In order to solve this problem,this paper studies the CAVLC decoding algorithm of the H.264standards,after analysis of the characteristics of CAVLC code,proposes an improved CAVLC table lookup algorithm. The algorithm will be appropriate to sub blocks to narrow the scope of its look-up table, the code table can be avoided to look up in process of lookup table,thereby increasing the decoding speed of the decoder in the decoding process.The simulation result shows that this algorithm for each frame image decoding speed is increased by about1.55%, ultimately,this paper achieved certain effect of decoding optimization.3.Due to the characteristics of the mobile phones with limited resources, the paper needs to do cutting optimization for FFmpeg Source Code in order to realize the smooth decoding in Android system, the paper mostly optimizes from two aspects:one is from basic operation which improves the computational efficiency by using shift instruction instead of division; the other is from code level which processes loop structure accordingly to achieve high-activity processing. Finally, using NDK provided by Android to port FFmpeg code to the target platform. According to emulation realization, decoding display is achieved on Android2.3simulator. The result shows that decoder basically meets the demand of real-time.

Table of contents

Summary 4-5 Abstract 5-7 directory 7-10 first chapter 10-14 <br / > 1.1 Background and significance nbsp 10-11 1.1.1 development of Chinese mobile Internet ; meaning 10 1.1.2 Research 10-11 <br / > 1.2 Research Status and Progress major work 11-12 1.3 papers contents 12 1.4 papers arrangement 12-14 Chapter II system platforms and H.264 standard profiles Status 14-25 2.1 smartphone platform analysis 14-17 2.1.1 Microsoft (WindowsMobile) smartphone platform 14 2.1.2 Symbian (Symbian) smartphone platform 14-15 2.1.3 Apple (iphone) smartphone platform 15-16 2.1 .4 BlackBerry (BlackBerry) smartphone platform 16 2.1.5 Google (Android) smartphone platform 16-17 2.2 Android platform Introduction 17 - 20 2.2.1 Android system features 17 2.2.2 Android system architecture 17-20 2.3 H.264 standard profiles 20 - 24 2.3.1 H.264 standard describes 20-21 2.3.2 H.264 profile and level 21-23 2.3.3 H. advantage 264 standard 23-24 2.4 Summary 24-25 Chapter H.264 algorithm and optimization 25-48 3.1 H.264 codec principle 25-26 3.2 intra prediction 26-29 3.2.1 luminance component of the 4 × 4 prediction mode 27-28 16 × 16 prediction mode 3.2.2 luminance component 28-29 3.2.3 chrominance components 8 × 8 prediction mode 29 3.3 frames forecast 29-37 3.3.1 inter prediction decoding process 30 3.3.2 with motion compensation inter prediction 30-33 3.3.3 interpolation optimization nbsp 33-35 3.3.4 interpolation ; optimization nbsp 35-36 3.3.5 edge pixel bounds judgment method ; 36 <br / > test results 3.3.6 optimized 36-37 3.4 integer transform and quantization 37-40 3.4.1 integer transform 37-39 <br / > 3.4.2 quantify 39-40 3.5 deblocking filter 40-43 3.5.1 filtering order 41-42 3.5 OK nbsp .2 boundary and boundary filtering strength threshold ; 42-43 3.6 CAVLC 43-47 3.6.1 CAVLC basic principle 43 3.6 .2 CAVLC decoding algorithm 43-44 3.6.3 CAVLC decoding algorithm optimization experimental results 44-46 3.6.4 optimized 46-47 3.7 Summary 47-48 Chapter decoder implemented on the Android platform 48-59 4.1 Introduction 48 <br / > 4.2 FFmpeg About 48-49 4.3 decoder tailoring 49-50 4.4 decoder optimization 50-54 4.4.1 optimization of basic computing 50-51 4.4.2 cycle optimization 51-54 4.4.3 compilation optimization 54 4.5 decoder transplant 54-56 4.5.1 AndroidNDK 55-56 4.5.2 FFmpeg transplantation 56 4.6 decoder implementation 56-58 4.6.1 development environment to build 56-57 4.6.2 test Results 57-58 4.7 Summary 58 -59 Chapter summary and Outlook 59-61 5.1 summarizes 59 5.2 Prospects 59-61 references 61-65 Thanks 65-66 pursue a degree in the major research achievements during 66

Related dissertations

  1. Optimization research in intelligent mobile phone on the H.264 real time video decoder
  2. Design of Remote Mobile Video Monitoring System
  3. The Research of Intelligent Mobile Phone Video Surveillance System Based on3G Network
    LiuShuangLin ·Ningxia University ·2014 ·Master's thesis
  4. The Design and Implementation of Screen Sharing System Based on Android Terminal
  5. The Design and Implementation of the Wireless Transmission System for H264Video Based on Android
    Zhou ·Anhui University ·2014 ·Master's thesis
  6. The design of mobile real-time monitoring system based on Android platform
    XiaoFangYang ·Jiangxi University of Technology ·2012 ·Master's thesis
  7. Optimization and Implementation of H.264Decoder on ARM Platform
    CaoLiLi ·Shanghai Jiaotong University ·2010 ·Master's thesis
  8. Optimization and Implementation of H.264Decoder
  9. Research and design of streaming media H.264 decoder based on Android platform
  10. 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
  11. Optimization Study of a Insurance Company Ningxia Branch’s Business Structure
    SunZuo ·Ningxia University ·2014 ·Master's thesis
  12. The Optimization of Fund Contract in the Perspective of Governance Structure
    YaoZhuangLong ·Central South University ·2013 ·Master's thesis
  13. The Personal Loans Centre Process Optimization Study of Ccb Shaanxi Branch
    LiuMing ·Northwestern University ·2012 ·Master's thesis
  14. Research on Optimization of commercial bank loans business processes Chinese micro enterprise
    ZhouXiaoDan ·Inner Mongolia University ·2013 ·Master's thesis
  15. Optimization of Commercial Bank Credit Rating Index System for SMEs
  16. An Optimization Study on Proscenium Support Facilities of Commercial Banks on Queuing Theory
    ChenMei ·Harbin Institute of Technology ·2012 ·Master's thesis
  17. The Credit Process Optimization of A Bank
    WangHe ·Liaoning University ·2012 ·Master's thesis
  18. 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
  19. The Research of Mode of Corporate Governance of China’s Trust Industry Defect and Optimization
    HuZuo ·East China Normal University ·2013 ·Master's thesis
  20. 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