Bypass ISP (Image Signal Processor)

It would be possible to bypass ISP (Image Signal Processor) on VIM3L ?

I tried to use

sensor_ctx.param.isp_context_seq.sequence = NULL;

without sucess. My camera have integrated ISP.

I know that VIM3 doesn have ISP. Maybe would be simpler on this board ? If so, how to connect a ISP camera there (I saw that VIL3L DTS doesn’t have camera on it)

Please note that, VIM3 has an ISP and VIM3L doesn’t have the ISP.

We don’t release ISP camera for VIM3L, but you can find the ISP camera driver here:

And the dts here:

thanks @numbqq

I’m aware that VIM 3 have ISP and VIM 3L doesn’t. We have both boards here and wants to connect a camera that have built in ISP.

To do so it would be great if we could disable the ISP to receive the images without ISP processing.

So it is more a question of disabling the ISP of VIM 3 than enabling in VIM 3L. I mentioned the 2 boards because maybe it would be easier on 3L as it already doenś have the chip.

OS for these testings is Android 9. If you think that somehow it would be easier on other SBC I also have Rockchips Edge II, V and VIM4 as well. But my main target are VIM3 or 3L.

So you want to do this on the Android system, right?

Yes, I want to bypass ISP on VIM3 on Android 9.

Btw, I tried to disable it on DTS

&isp {
	status = "disabled"; //was  "okay";
	temper-line-offset = <0x1E00>;
	temper-buf-size = <32>;
	temper-frame-num = <1>;
	temper-frame-size = <0x1FA4000>;
	memory-region = <&isp_cma_reserved>;
};

But this way board disables also camera

And also tried on the driver file:

sensor_ctx.param.isp_context_seq.sequence = NULL;

But also doens’t work.

My problem is that the camera data always goes to ISP that converts it to INV12. I would like to bypass ISP to receive the data from camera as is.

Hello @JohnGalt

@william.lin will help you later.

@JohnGalt
Is your camera interface MIPI or USB?
Do you use the Android Camera interface for reading camera images in your application?
We may need some time to see if there are any good ways to solve your problem.

@william.lin I use MIPI. I tried Android Camera, coding using android studio and also V4L2-ctl. I use a separate board to start the camera via I2C.

hi @JohnGalt
I uploaded a v4l2_test file to Google Cloud Drive.

Please push v4l2_test bin to vendor/bin and use the following command to capture image data:

./v4l2_test -v /dev/video50 -F 1 -R 1 -N 100 -C 1

Is it what you want?

Yes, that should help a lot. thanks !