Hi all,
I have a couple of questions regarding to supported video formats on Jetson.
I am using an OV10640HDR camera on Jetson Xavier running JetPack 4.2.2 and FPDLinkIII SerDes configuration.
I have 2 camera modes, Long-Exposure Linear 12-bits and HDR 20b (compressed to 12b using PWL compression).
- HDR and PWL support
The results of linear mode are better than HDR, I think some changes are needed to fully enable HDR mode but, is this PWL compression supported?
I am using hardware from D3 and they got issues with HDR mode, any information about this support will be appreciated.
- Format for 2x12b mode
From linear mode, we got issues with bright images, so we are interested in a camera mode called 2x12b which merges long-exposure and short exposure channels to create an image with better results than single linear mode. At least this is the theory.
Linear mode uses the format MEDIA_BUS_FMT_SBGGR12_1X12, my understanding is 12 bits per pixel which matches the camera output.
Now, we are interested in the mode 2x12b, this mode uses 36 bits as input (3 channels with 12 bits each one: long exposure, short exposure and very short exposure) to 24 bits output from 2 channel. One saturated channel will be discarded (long exposure on bright images and very short on dark images).
Each used channel is mapped from 12 bits to 10 bits, these 2 bits are used for other purposes.
Which format should I used for 2x12b mode? it provides 24 bits per pixel but I’m not sure which format is correct. Since the data is compressed from 12b to 10b in each channel, is this compression supported?
For these cases, formats like MEDIA_BUS_FMT_SBGGR24_1X24 or MEDIA_BUS_FMT_SBGGR12_2X12 do not exist, so which is the correct procedure to receive data?
See below image of compression curve.
Regards.