Design and Implementation of Multimedia System and Power Optimization on Android
- Author
- ZhangWeiZuo
- Advisor
- ZhangYangAn
- School
- Beijing University of Posts and Telecommunications
- Major
- Electronics and Communication Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 324
- Citations
- 0
Abstract
With rapid developments of Mobile Internet industry, the major IT companies of the world such as Google, Microsoft and traditional telecom equipment manufacturers such as Motorola, Nokia, HTC have actively involved in the tide of mobile Internet development. As the support of Mobile Internet techology, intelligent terminal operating system development and market sharing will become the core of the competition in the mobile Internet industry. Open and standardized platforms will help developers, equipment manufacturers and telecommunication operators reach the three win-win situation.Since Google released the Android platform for just a few years, with its open feature and excellent custom user experience, Android has successfully gained more than half of the global smart operating system market. As the popularity of 3G technology, mobile multimedia services have become an important branch of mobile Internet applications, so the operating system platform must provide good multimedia support. At the same time, as the system power consumption on mobile devices are strict required, and high-energy battery development has far behind the IC devices evolution and power computing, so the low-power technology design and implementation of the intelligent terminal needed to overcome many difficulties.This paper integrates the multimedia systems and software technology of low power consumption Then designs and implements possible optimization. At last make an auto measurement to verify the final results that whether it can achieve the target. The major achievement of this paper are as follows: 1.It introduced the architecture and implementation of Android operating system, analyzed multimedia subsystem architecture that includes Media Service, multimedia local library Libmedia and hardware abstraction layer HAL.2. It researched in multimedia middleware Stagefright on Android 2.3 Gingerbread. Then analyze the source code and multimedia process scheduling, debug using VTune and Perf tools to trace code tracking position, and summarize the framework of Stagefright, audio and video playback process and implementation mechanism.3.It intergrated the low-power software technology, researched in the methods to assess system operating status. It is analysised the power management state, interrupt handling, and other methods to track the location of hot functions, and designed and implement optimization program and validation the results.
Table of contents
Summary 4-5
ABSTRACT 5-10
first chapter 10-16
1.1 mobile operating system development background 10-11
Status 1.1.1 smart terminal operating system 10-11
1.1.2 Android platform development potential 11
1.2 background and significance 11-14
1.2.1 Consumption study the significance and background 12-13
1.2.2 smart mobile terminal multimedia services significance 13-14
1.3 thesis structure organization and arrangement of chapters 14-16
the second chapter introduces Android and multimedia systems 16-29
2.1 Android system architecture 16-19
2.2 Android system development and application development 19-20
2.2.1 Android system development 19
2.2.2 Android application development 19-20
2.3 multimedia system architecture 20-28
2.3.1 Android multimedia system hierarchy 20-22
2.3.2 Android multimedia playback process framework 22 -28
2.4 Summary 28-29
The third chapter audio and video player designed to achieve 29-51
3.1 audio and video playback component initialization 29 -30
3.2 video playback processes to achieve 30-38
3.2.1 data flow control video playback 30-32
3.2.2 decoding control OMX realization 32-37
3.2.3 video output 37-38
3.2.4 audio and video synchronization is achieved 38
3.3 audio output processes to achieve 38-49
3.3.1 audio system framework 38-39
3.3.2 AudioTrack module 39-44
3.3.3 AudioFlinger mechanism to achieve 44-46
3.3.4 AudioPolicyService audio management module 46-49
3.4 Summary 49-51
Chapter IV system performance and power consumption analysis designed 51-65
4.1 system state machine analysis 51-57
4.1.1 system running parameters 51-55
4.1.2 system status Assessment method 55-57
4.2 system interruption analysis 57-59
4.3 hotspot function analysis and tracking 59-64
4.3.1 VTune analysis process 59-62
4.3.2 SEP remote data acquisition 62-63
4.3.3 Perf analysis process 63-64
4.4 Summary 64-65
Chapter V system test and analysis results 65-73
5.1 system performance and power test 65 - 69
5.1.1 configure test environments 65-66
5.1.2 test document describes 66
5.1.3 automated test scripts 66-69
5.2 system test result analysis 69-72
5.2.1 Powertop analysis reports 69
5.2.2 Matrix analysis Report 69-70
5.2.3 VTune analysis reports 70
5.2.4 Power Analysis report 70-71
5.2.5 Perf analysis reports 71-72 <br / > 5.3 Summary 72-73
Chapter VI system optimization program design and implementation 73-86
6.1 hotspot function in-depth analysis 73-77 <br / > 6.1.1 hotspot function call 73
6.1.2 fseek and fread positioning 73-77
6.2 audio and video playback MP4 files reading process analysis 77 -80
6.2.1 MP4 file format 77
6.2.2 playback data query 77-80
6.3 optimization 80-85
6.3.1 compare the original system optimization program 81-82
6.3.2 optimization program details 82-85
6.3.3 optimization test results 85
6.4 Summary 85-86
References 86-88
abbreviations and notes 88-89
Thanks 89
Related dissertations
- Design and Implementation of a Android-based Home Security Remote Monitoring Terminal System
- Research and Implementation of Vedio Surveillance System Based on Android Architecture and Smoke Detection
- Design and Implementation of Crane Monitoring System Based on Android
- Research and Implementation of Intelligent Video Surveillance System Based on Android
- Design and Research of Mobile Video Surveillance System Based on MJPG-Streamer
- Research and implementation of remote monitor system of ship based on the technology of the Internet of things
- Security Detection System Based on the Android Paltform
- Research on Meteorological Data Acquisition and Processing System
- The Research of Fall Detection Based on Mobile Terminal
- Design and Implementation of a Human Activity Monitoring System Based on Smart Mobile Terminal
- The Smart Home Control System Based on Android System
- The Design and Implementation of Android Smart Home Control System
- Embedded System Applications in the Smart Home
- Design and Implementation of Intelligence Home System Based on ZigBee
- Design and Implementation of Smart Home System Based on Android Platform
- Research and Design of Embedded Intelligent Bus Station Guideboard Control System
- Design and Research of the Display Control Mechanisms for Multi-source
- The Design and Implementation of Multi-functional Smart Home System
- Research on Intelligent Home Furnishing system based on Android
- Remote Robot Control Technology Based on Android System