kernel icon indicating copy to clipboard operation
kernel copied to clipboard

RkISP 3.x stats & params documentation

Open Monstrofil opened this issue 2 years ago • 1 comments

I'm trying to integrate libcamera with rockchip ISP on my Orange PI 5 board (RK3588s), but I cannot find any documentation on stats and params structures.

struct isp3x_isp_meas_cfg {
	struct isp3x_rawaf_meas_cfg rawaf;
	struct isp3x_rawawb_meas_cfg rawawb;
	struct isp2x_rawaelite_meas_cfg rawae0;
	struct isp2x_rawaebig_meas_cfg rawae1;
	struct isp2x_rawaebig_meas_cfg rawae2;
	struct isp2x_rawaebig_meas_cfg rawae3;
	struct isp2x_rawhistlite_cfg rawhist0;
	struct isp2x_rawhistbig_cfg rawhist1;
	struct isp2x_rawhistbig_cfg rawhist2;
	struct isp2x_rawhistbig_cfg rawhist3;
} __attribute__ ((packed));


struct isp3x_isp_meas_cfg {
	struct isp3x_rawaf_meas_cfg rawaf;
	struct isp3x_rawawb_meas_cfg rawawb;
	struct isp2x_rawaelite_meas_cfg rawae0;
	struct isp2x_rawaebig_meas_cfg rawae1;
	struct isp2x_rawaebig_meas_cfg rawae2;
	struct isp2x_rawaebig_meas_cfg rawae3;
	struct isp2x_rawhistlite_cfg rawhist0;
	struct isp2x_rawhistbig_cfg rawhist1;
	struct isp2x_rawhistbig_cfg rawhist2;
	struct isp2x_rawhistbig_cfg rawhist3;
} __attribute__ ((packed));

Where I can find some description or samples using these structures?

Monstrofil avatar Jun 27 '23 17:06 Monstrofil

I managed to enable RAWAF according to data that I see in proc/rkisp-vir0, but still all values in isp3x_rawaf_meas_cfg rawaf; structure are just zero's. I also don't see any erros in dmesg even with debug turned on for v4l devices.

@rkhuangtao could you please take a look at this issue? Is there any documentation that you could possibly share regarding the topic?

Monstrofil avatar Jun 30 '23 15:06 Monstrofil