风火轮用户fpNRY 发表于 2023-10-11 10:01:04

YY3568调用rga报错

硬件主板型号:YY3568
固件名称/系统版本:debian10
自编的或固件下载地址:
Log日志: (可以导出,用TXT附件上传)

问题描述及复现步骤:
调用rga时出现如下错误
librga fail to get driver version! Compatibility mode will be enabled.

5886 im2d_rga_impl rga_version_below_minimun_range_user_driver(304): The driver may be compatible, but it is best to update the driver to version 1.2.4. You can try to update the SDK or update the <SDK>/kernel/drivers/video/rockchip/rga3 directory individually. current version: librga 1.9.1, driver .
rga_api version 1.9.1_
547:src has not fd and address for render

这应该是需要升级rga3的驱动?具体应该怎么做?

风火轮用户68631 发表于 2023-10-11 10:08:01

做什么操作报的问题

风火轮用户fpNRY 发表于 2023-10-11 10:12:01

imresize
具体代码:
dst_buf = (char *)malloc(dst_buf_size);

src_handle = importbuffer_virtualaddr(img_rgb.data, src_buf_size);
dst_handle = importbuffer_virtualaddr(dst_buf, dst_buf_size);


src_img = wrapbuffer_handle(src_handle, 640, 480, RK_FORMAT_RGB_888);
dst_img = wrapbuffer_handle(dst_handle, 1920, 1080, RK_FORMAT_RGB_888);
ret = imresize(src_img, dst_img);

风火轮用户68631 发表于 2023-10-11 15:43:56

风火轮用户fpNRY 发表于 2023-10-11 10:12
imresize
具体代码:
dst_buf = (char *)malloc(dst_buf_size);


参考瑞芯微官方例程
https://github.com/airockchip/librga/tree/main/samples

风火轮用户68631 发表于 2023-10-11 17:30:20

风火轮用户68631 发表于 2023-10-11 10:08
做什么操作报的问题

更新方法参考
https://github.com/airockchip/librga/tree/main
页: [1]
查看完整版本: YY3568调用rga报错