The multimedia subsystem provides a set of simple and easy-to-use APIs for you to access the system and media resources.
This subsystem offers various media services covering audio, videos, and cameras, which provide the following capabilities:
Figure 1 Architecture of the multimedia subsystem
The structure of the repository directory is as follows:
/foundation/multimedia # Service code
├── audio_lite # Audio module for the small system
│ ├── figures # Architecture and process figures of the audio module for the small system
│ ├── frameworks # Audio framework implementation for the small system
│ └── interfaces # Audio module APIs for the small system
├── audio_standard # Audio module for the standard system
│ ├── figures # Architecture and process figures of the audio module for the standard system
│ ├── frameworks # Audio framework implementation for the standard system
│ ├── interfaces # Audio module APIs for the standard system
│ ├── sa_profile # Audio service profile for the standard system
│ └── services # Audio service implementation for the standard system
├── camera_lite # Camera module for the small system
│ ├── figures # Architecture and process figures of the camera module for the small system
│ ├── frameworks # Camera framework implementation for the small system
│ └── interfaces # Camera module APIs for the small system
├── camera_standard # Camera module for the standard system
│ ├── figures # Architecture and process figures of the camera module for the standard system
│ ├── frameworks # Camera framework implementation for the standard system
│ └── interfaces # Camera module APIs for the standard system
├── media_lite # Playback and recording module for the small system
│ ├── figures # Architecture and process figures of the playback and recording module for the small system
│ ├── frameworks # Playback and recording framework implementation for the small system
│ ├── interfaces # Playback and recording module APIs for the small system
│ └── services # Playback and recording service implementation for the small system
├── media_standard # Playback and recording module for the standard system
│ ├── figures # Architecture and process figures of the playback and recording module for the standard system
│ ├── frameworks # Playback and recording framework implementation for the standard system
│ └── interfaces # Playback and recording module APIs for the standard system
├── histreamer # Histreamer engine
│ └── engine # Media engine
│ ├── player # Encapsulated player
│ ├── foundation # Basic tools
│ ├── pipeline # Pipeline framework
│ └── plugin # Plugin framework
│ └── plugins # Platform software plugins
└── utils # Subsystem utility module
└── lite # Utility module for the small system
├── figures # Architecture and process figures of the utility module for the small system
├── hals # Hardware abstraction interfaces of the subsystem for the small system
├── interfaces # Utility module APIs for the standard system
└── src # Utility module framework implementation for the small system
Hardware-based decoding and encoding functions of audio and video data are device-specific.
You can use the APIs in any of the provided classes based on your development requirements.
Load the kernel and related drivers before installing the repository. For details, see readme files of kernel and driver subsystems.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。