- 收藏
- 点赞
- 分享
- 举报
海思 PQTools 使用时显示无法注册ae库 awb库
背景:
目前仿照os08a20编写的一款名为sc233hgs的传感器驱动。驱动文件包括sc233hgs_cmos.c sc233hgs_cmos.h sc233hgs_sensor_ctl.c sc233hgs_cmos_ex.h 四个文件。
驱动文件完成现状:
- sc233hgs_cmos_ex.h的具体参数我完全照抄os08a20_cmos_ex.h的配置 。
- sc233hgs_cmos.c中ISP AE AWB 注册回调部分我已完成,其中AE AWB中的参数可能不准确
- sc233hgs_sensor_ctl.c 中主要通过iic对传感器进行配置
PQTools配置文件:
sc233hgs_1200P60.ini:开启了ISP、 MIPI 、VI 、VPSS 、VENC 、VB 、SYS 。bind绑定链路为链路是 VI -> VPSS -> VENC
问题描述:
我已实现 mipi→vi→vpss→venc 的一套推流显示,并且能显示出传感器图像,不过因为isp参数问题导致图像颜色不太正常。但应该能说明我的传感器驱动应该是没有太大。
在海思SS928板端运行PQTools时,当sensor_ID为0传感器驱动sensor_register_callback函数中的isp ae awb 回调注册成功时,紧接着会显示无法注册ae库 awb库 ,运行后会持续性刷屏显示 ae awb 运算结果为0 ,且无PQTools推流图像。
但在PC端 PQTools 仍能连接 SS928板端 的程序,且能通过PQ Capture Tool工具抓取RAW image的彩色图像 , 但抓取JPEG image 和YUV image都是纯黑色图像,应该是ISP没生效的原因。
不知道为什么使用PQtools时 ae awb会无法注册。
传感器驱动sensor_register_callback函数中的isp ae awb 回调部分截图:
isp ae awb 回调注册成功 以及 无法注册ae库 awb库报错信息如下:
[Info][sensor_register_callback:1455] ot_mpi_isp_sensor_reg_callback ret=0
[Info][sensor_register_callback:1470] ot_mpi_ae_sensor_reg_callback ret=0
[Info][sensor_register_callback:1484] ot_mpi_awb_sensor_reg_callback ret=0
linear mode
[Func]:ae_sns_initialize [Line]:5244 [Info]:Sensor doesn’t register to ae(0)!
[Func]:awb_init [Line]:1241 [Info]:Sensor doesn’t register to awb(0)!
无法注册ae库 awb库报错截图:
显示 ae awb 运算结果为0报错信息如下:
[Func]:ae_result_check [Line]:1214 [Info]:int_time 0 should not be less than 1, current is 0
[Func]:ae_result_check [Line]:1221 [Info]:again within [1024 4194303] current is 0
[Func]:ae_result_check [Line]:1225 [Info]:dgain within [1024 4194303] current is 0
[Func]:ae_result_check [Line]:1229 [Info]:isp_dgain within [256 65536] current is 0
[Func]:ae_result_check [Line]:1232 [Info]:ae_run_interval should bigger than 0 current is 0
[Func]:ae_result_check [Line]:1235 [Info]:ae iso should bigger than 100 current is 0
[Func]:ot_ae_run_callback [Line]:1277 [Info]:WARNING!! ISP[0] run ae lib err!
[Func]:isp_awb_run [Line]:944 [Info]:WARNING!! ISP[0] run awb lib err!
[Func]:awb_result_check [Line]:435 [Info]:awb result white_balance_gain[0] 0 should be in (0, 1048320]
[Func]:awb_result_check [Line]:435 [Info]:awb result white_balance_gain[1] 0 should be in (0, 1048320]
[Func]:awb_result_check [Line]:435 [Info]:awb result white_balance_gain[2] 0 should be in (0, 1048320]
[Func]:awb_result_check [Line]:435 [Info]:awb result white_balance_gain[3] 0 should be in (0, 1048320]
[Func]:awb_result_check [Line]:445 [Info]:awb result color_matrix 0 row sum is 0, should not be 0
[Func]:awb_result_check [Line]:445 [Info]:awb result color_matrix 1 row sum is 0, should not be 0
[Func]:awb_result_check [Line]:445 [Info]:awb result color_matrix 2 row sum is 0, should not be 0
持续性刷屏显示 ae awb 运算结果为0截图:
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片
-
02026-01-04 16:08:14
-
2015-04-23 14:58:00
-
02017-10-13 15:42:09
-
2025-10-23 19:05:52
-
2015-10-23 11:02:31
-
2019-01-19 11:26:02
-
2019-10-31 20:11:47
-
2019-11-20 15:37:20
-
2017-02-24 14:52:47
-
2016-03-28 13:04:49
-
2015-07-06 12:27:16
-
2020-01-15 19:02:39
-
2016-11-23 11:59:46
-
2017-09-23 09:28:18
-
2018-05-09 05:25:06
-
2018-09-08 08:55:36
-
2025-07-09 08:58:26
-
2018-11-27 09:33:35
-
2012-12-05 13:42:56
-
100Hi3519DV500移植阿里云aliyun-oss-c-sdk-3.11.2
-
10【悬赏】Hi3519DV500在新打板的硬件上调用svp_acl_mdl_execute 会宕机
-
10海思 PQTools 使用时显示无法注册ae库 awb库
-
50求imx291 mclk37.125M 4lane 1920x1080@30fps WDR的初始化系列
-
5Hi3516DV500-DMEBPLUS_6L_T_LPDDR4_2400M-2GB_32bit-A55_850M.xlsm
-
25鸿鸥派【Hi3519DV500】双摄sc450ai+10.1显示屏点不亮
-
5SS626接WCH HUB芯片CH335F问题
-
10求一份RK3588下IMX586摄像头的IQ json文件
-
50Hi3519DV500+OS04A10 slave驱动 (双目同步问题)
-
103616 3403 FPN标定黑斑问题
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明

微信扫码分享
QQ好友