2 releases (1 stable)

5.0.6 Jun 19, 2024
0.1.0 Jan 2, 2022

#1627 in Embedded development

35 downloads per month
Used in rkaiq

MIT/Apache

11KB
192 lines

rkaiq

Rockchip RKAIQ bindings for Rust.

Build Examples

Before you build the examples, you must set the env:

  • PKG_CONFIG_SYSROOT_DIR
  • RKAIQ_INCLUDE_DIR
  • TARGET_SYSROOT_DIR

to tell pkg-config and bindgen where to find dependencies.

For example: with Full-V RKLASER1 Boards

export PKG_CONFIG_SYSROOT_DIR=/opt/fullv/2021.02.8-rklaser1/staging
export RKAIQ_INCLUDE_DIR=/opt/fullv/2021.02.8-rklaser1/staging/usr/include/rkaiq
export TARGET_SYSROOT_DIR=/opt/fullv/2021.02.8-rklaser1/staging

Build an run examples:

cargo r --example minimal

Features

  • fullv - Enable Full-V patches.
  • isp_hw_v20 - Build for ISP_HW V20 (RV1126, RV1109)
  • isp_hw_v21 - Build for ISP_HW V21 (RK356X)
  • isp_hw_v30 - Build for ISP_HW V30 (RK3588)
  • isp_hw_v31 - Build for ISP_HW V31 (???)
  • v1_0 - Build with RKAIQ 1.0
  • v2_0 - Build with RKAIQ 2.0
  • v3_0 - Build with RKAIQ 3.0

lib.rs:

RKAIQ ISP 应用接口安全绑定。

本项目当前基于 RKAIQ V1.0 ISP 应用接口接口实现。

No runtime deps

~0–1.9MB
~37K SLoC