Multimedia architecture diagram of Android system
OpenMAX does the codec function (codec), from top to bottom is Al (Application layer, provides a standardized interface between multimedia middleware and application), IL (Integration layer, decoding encoder), DL (development layer, vendor is written according to hardware), where IL is used frequently.
Open Core:pvplayer and Pvauthor,open max do plug-in implementation codec
Stagefright:open Max does the plug-in implementation codec
Audio system: PCM codec
(1) Media Library provides local support for audio system
(2) Audioflinger as the middleware of audio system
(3) The hardware abstraction layer of audio provides the underlying support
(4) The audio interface is provided to the upper layer via the JNI and Java framework
Output system Overlay: Driver, hardware abstraction layer, and local framework
Provides viewfinder, video recording and photo shooting capabilities, as well as interfaces for various control classes.
Camera Driver (V4L2), hardware abstraction layer, Audioservice, camera local library, camera's Java framework class, and Java application layer call to the camera system.
Clock (Alarm) system:
New drivers developed on standard RTC drivers
Top to bottom: Alarmmanager, Alarmmanagerservice, Alarmmanagerservice JNI, alarm driver, and real-time clock (RTC) drive system
Android Multimedia Frame