kitakar5525 / surface-ipu3-cameras

20 stars 8 forks source link

sensors: need to handle rotation #8

Open kitakar5525 opened 4 years ago

kitakar5525 commented 4 years ago

Comment from me (kitakar5525)

Regarding the rotation:

Sorry there's a bit more to it than that. The sensor needs be able to parse that data and report the orientation through as the sensors v4l2 control. That's how libcamera reads the orientation.

I see some seemingly related commits:

Package () { "rotation", 180 },

Then, sensor drivers need to be able to read properties from swnode cio2-bridge driver creates (currently work being done by djrscally)

kbingham

Then the ipu3 pipeline handler in libcamera needs to apply a correct rotation based upon that orientation.

The ipu3 pipeline handler in libcamera can handle rotation already now? or there are works need to be done yet?

kitakar5525 commented 4 years ago

According to the SSDB info on SB1, ov5693 and ov8865 is rotated 180 degrees.