Hello all,
we have our own hardware with our own sensor and need Lens Shade Correction. Since the ISP has such a function, we would like to use it. The sensor produces monochrome images with 8bit per pixel and uses a resolution of 2560x1936 pixels.
The following software is used:
I have created an ISS driver based on the one from OV2775. For calibration I use a copy of the XML files of the OV27775 where only the resolution was adjusted and the file sensor_dwe_bypass_4K_config.json where also only the resolution was adjusted.
The isp_media_server starts and loads the ISS driver. We can create a RAW image with the following command.
video_test -w 2560 -h 1936 -f RAW8 -t 2 -m0

But when I create an processed image with YUYV it looks like this
video_test -w 2560 -h 1936 -f YUYV -t 2 -m0

My first thought was that a feature in the ISP is breaking the image by not calibrating properly. But after that I found out that if I scale the image it is not broken anymore.
video_test -s -w 1280 -h 968 -f YUYV -t 2 -m0

I have added commands to video_test that disable all the ISP features listed in the porting guide but it did not help.
I checked the MIPI CSI registers, they look correct.
Now I am a bit lost where the problem could be. I would be very grateful for any hints.
Thanks in advance !
Reagrds, stone