hunting/middleware/MediaHal/README.md
2023-09-16 18:52:29 -07:00

37 lines
683 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 1. 媒体适配
   基于IPC项目芯片大部分都支持双核低功耗媒体接口对接需要考虑Linux和RTOS双系统的兼容支持。
## 1.1. 软件设计
### 1.1.1. 媒体适配模块UML类图
```mermaid
classDiagram
class IMediaManager{
<<媒体管理模块抽象接口>>
+初始化()
+解初始化()
+音频编码()
+音频解码()
+视频编码()
+视频解码()
+抓怕()
+录像()
+录影()
}
class MediaManager{
<<媒体管理模块实例>>
}
class LightSensor{
<<光传感器类型枚举>>
SENSOR_MAIN = 0,
SENSOR_MINOR,
END
}
class AudioHandle{
<<音频处理>>
}
class VideoHandle{
<<视频处理>>
}
```