Supporting Bayer Raw 20 on AGX Orin

Hi Nvidia:
I am try to add support of Raw Bayer 20 format on AGX Orin, JetPack 5.0.2
But in source code, I am not able to find a raw 20 defined in media_bus* nor v4l2_fourcc
Is there a way to defined these by users, make VI support Raw Bayer 20?

Thank you.

hello DaWuLun,

it’s NVCSI_DATATYPE_RAW20 , however, we don’t have camera sensor for verification.
as you can see… those reference camera driver were Raw10 or Raw12 formats.

Hi JerryChang:
Thank you for your reply. I saw one post about supporting Raw 16 here: Ref
Looks like NVCSI_DATATYPE_RAW20 should be set to 47, right?

And about sensors, we do have another sensor to send Raw 20 CSI directly. We will use it to check if AGX Orin support Bayer Raw 20 or not.

Thank you very much.

@DaWuLun
Current Argus(with ISP pipeline) don’t support normal Bayer16/20 for Bayer16/20 only for the PWL WDR use case. However if you don’t need Argus only use v4l2 pipeline then you can add Bayer16/20 in NVCSI/VI kernel driver for it.

Hi ShaneCCC:
Yes, we are using V4L2 to capture Bayer Raw Image.
Seems like the ref I post is helpful. I am working on it.

Thank you.

yes, that’s correct.

Following [Here] and set data type (NVCSI_DATATYPE_RAW20) to 47, Raw Bayer 20 image can be captured using V4L2 pipe.

Thank you for your help!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.