I have a custom board with an iMX8 Quad Max and a max9286 deserializer. The OS is built with yocto starting from the release L4.14.98_2.0.0_ga.
Using a sensor (AR0231) that outputs RAW12 pixels, I managed to get an image but with a very strange colors using gstreamer. I discovered that probably gstreamer does not support bayer/raw format on 12bits. But also capturing a single frame with v4l2-ctl gets a really strange.
I was wondering:
from MIPI CSI to ISI, for RAW12 input, the data will be filled in ISI pixel [13:2], and ISI pixel [1:0] are always 0. so you need to shift 2bits to get correct image
I have my datastream passing through the ISI but i do not intend to perform any color space conversion or scaling.
Do you think this is still messing up?
Do you have any idea about where (in which file.c) i should add this shitf?
Thank you for your hint.