diff --git a/zh-cn/device-dev/driver/Readme-CN.md b/zh-cn/device-dev/driver/Readme-CN.md index 3924e8b3970e694c30fd06d388afe4db6aed3b48..795f2ff1defaf0672b1a8e8f8cef8210701ba53a 100755 --- a/zh-cn/device-dev/driver/Readme-CN.md +++ b/zh-cn/device-dev/driver/Readme-CN.md @@ -45,6 +45,7 @@ - 外设驱动使用 - [Audio](driver-peripherals-audio-des.md) - [Camera](driver-peripherals-camera-des.md) + - [Codec](driver-peripherals-codec-des.md) - [Face_auth](driver-peripherals-face_auth-des.md) - [Fingerprint_auth](driver-peripherals-fingerprint_auth-des.md) - [LCD](driver-peripherals-lcd-des.md) diff --git a/zh-cn/device-dev/driver/driver-peripherals-codec-des.md b/zh-cn/device-dev/driver/driver-peripherals-codec-des.md index 0c8bccc0a26de4e310a93baae3dfc515e1330011..8e9730933d86f670a1e22ce79dd3936455df6945 100644 --- a/zh-cn/device-dev/driver/driver-peripherals-codec-des.md +++ b/zh-cn/device-dev/driver/driver-peripherals-codec-des.md @@ -180,18 +180,18 @@ vendor/hihope/rk3568/hdf_config/uhdf/ 在device_info.hcs的codec_host中增加codec_omx_service配置,具体配置如下: ```c codec :: host { - hostName = "codec_host"; - priority = 50; - gid = ["codec_host", "uhdf_driver", "vendor_mpp_driver"]; - codec_omx_device :: device { - device0 :: deviceNode { - policy = 2; // 自动加载,非延迟加载 - priority = 100; // 优先级 - moduleName = "libcodec_hdi_omx_server.z.so"; // 驱动的动态库 - serviceName = "codec_hdi_omx_service"; // 配置驱动的服务名 - deviceMatchAttr = "codec_component_capabilities";// 属性配置 - } + hostName = "codec_host"; + priority = 50; + gid = ["codec_host", "uhdf_driver", "vendor_mpp_driver"]; + codec_omx_device :: device { + device0 :: deviceNode { + policy = 2; // 自动加载,非延迟加载 + priority = 100; // 优先级 + moduleName = "libcodec_hdi_omx_server.z.so"; // 驱动的动态库 + serviceName = "codec_hdi_omx_service"; // 配置驱动的服务名 + deviceMatchAttr = "codec_component_capabilities"; // 属性配置 } + } } ``` diff --git a/zh-cn/device-dev/website.md b/zh-cn/device-dev/website.md index aafc776b9d375ed80906a63990091b280e2778d0..66ee0f29e38bb47eff0cd243af240d10791c8c31 100644 --- a/zh-cn/device-dev/website.md +++ b/zh-cn/device-dev/website.md @@ -492,6 +492,7 @@ - 外设驱动使用 - [Audio](driver/driver-peripherals-audio-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) - [Fingerprint_auth](driver/driver-peripherals-fingerprint_auth-des.md) - [LCD](driver/driver-peripherals-lcd-des.md)