提交 21aa8a4f 编写于 作者: C crescent

add codec docs

Signed-off-by: Ncrescent <sunhehe@huawei.com>
上级 aa5fda5c
...@@ -45,6 +45,7 @@ ...@@ -45,6 +45,7 @@
- 外设驱动使用 - 外设驱动使用
- [Audio](driver-peripherals-audio-des.md) - [Audio](driver-peripherals-audio-des.md)
- [Camera](driver-peripherals-camera-des.md) - [Camera](driver-peripherals-camera-des.md)
- [Codec](driver-peripherals-codec-des.md)
- [Face_auth](driver-peripherals-face_auth-des.md) - [Face_auth](driver-peripherals-face_auth-des.md)
- [Fingerprint_auth](driver-peripherals-fingerprint_auth-des.md) - [Fingerprint_auth](driver-peripherals-fingerprint_auth-des.md)
- [LCD](driver-peripherals-lcd-des.md) - [LCD](driver-peripherals-lcd-des.md)
......
...@@ -180,18 +180,18 @@ vendor/hihope/rk3568/hdf_config/uhdf/ ...@@ -180,18 +180,18 @@ vendor/hihope/rk3568/hdf_config/uhdf/
在device_info.hcs的codec_host中增加codec_omx_service配置,具体配置如下: 在device_info.hcs的codec_host中增加codec_omx_service配置,具体配置如下:
```c ```c
codec :: host { codec :: host {
hostName = "codec_host"; hostName = "codec_host";
priority = 50; priority = 50;
gid = ["codec_host", "uhdf_driver", "vendor_mpp_driver"]; gid = ["codec_host", "uhdf_driver", "vendor_mpp_driver"];
codec_omx_device :: device { codec_omx_device :: device {
device0 :: deviceNode { device0 :: deviceNode {
policy = 2; // 自动加载,非延迟加载 policy = 2; // 自动加载,非延迟加载
priority = 100; // 优先级 priority = 100; // 优先级
moduleName = "libcodec_hdi_omx_server.z.so"; // 驱动的动态库 moduleName = "libcodec_hdi_omx_server.z.so"; // 驱动的动态库
serviceName = "codec_hdi_omx_service"; // 配置驱动的服务名 serviceName = "codec_hdi_omx_service"; // 配置驱动的服务名
deviceMatchAttr = "codec_component_capabilities";// 属性配置 deviceMatchAttr = "codec_component_capabilities"; // 属性配置
}
} }
}
} }
``` ```
......
...@@ -492,6 +492,7 @@ ...@@ -492,6 +492,7 @@
- 外设驱动使用 - 外设驱动使用
- [Audio](driver/driver-peripherals-audio-des.md) - [Audio](driver/driver-peripherals-audio-des.md)
- [Camera](driver/driver-peripherals-camera-des.md) - [Camera](driver/driver-peripherals-camera-des.md)
- [Codec](driver/driver-peripherals-codec-des.md)
- [Face_auth](driver/driver-peripherals-face_auth-des.md) - [Face_auth](driver/driver-peripherals-face_auth-des.md)
- [Fingerprint_auth](driver/driver-peripherals-fingerprint_auth-des.md) - [Fingerprint_auth](driver/driver-peripherals-fingerprint_auth-des.md)
- [LCD](driver/driver-peripherals-lcd-des.md) - [LCD](driver/driver-peripherals-lcd-des.md)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册